Content provider for exposing table datasets

I have been looking through the ODK Services and Tables apks and found a
number of content providers exposed. Is there a content provider that
allows you to retrieve the data set for each table? What I am aiming to
accomplish is, requesting the data set for a table from within another
application (ie. 3rd party), where I could then process the data or perform
other tasks. I noticed that their is a TablesProvider class however that
only seems to expose the metadata of the tables. I have attached a diagram
of the workflow I am attempting to achieve.

https://lh3.googleusercontent.com/-7NMuY8Wptq8/V073w6xex6I/AAAAAAAAKPw/Ur9LDQkn4iIaHGtSN8uGDVZQrSIkPTLbgCLcB/s1600/Diagram1.png

Keep in mind that these are areas of active development; functionality may
not continue or may change into the future.

We are especially aware of data security in the 2.0 tools -- we may
restrict data access going forward.

The main API for manipulating the data is through an AIDL (service) API. We
have this service protected with signature authentication.

If there is a way to securely grant access to other 3rd party applications
via runtime configuration, we would support adding this functionality to
ODK Services (it would appear that Google has not envisioned that
capability). However, we do not have the time to do this ourselves and
would need deeper investigations into the Android security model before
incorporating such changes (because they would bypass the Android security
model).

There are two content providers that retrieve data from user-defined tables:

InstanceProvider

-- provides a Cursor to the full content of a data table joined with
additional fields that track when that record was submitted through the
legacy 1.x mechanism.
-- it currently supports delete of the data record, but that will soon be
removed.
-- only the tracking field values can be updated.

SubmissionProvider

-- provides an XML document suitable for submission through the legacy 1.x
mechanism.

ยทยทยท =============== Mitch

On Wed, Jun 1, 2016 at 7:57 AM, Eduardo Koloma Jr. junykol22@gmail.com wrote:

I have been looking through the ODK Services and Tables apks and found a
number of content providers exposed. Is there a content provider that
allows you to retrieve the data set for each table? What I am aiming to
accomplish is, requesting the data set for a table from within another
application (ie. 3rd party), where I could then process the data or perform
other tasks. I noticed that their is a TablesProvider class however that
only seems to expose the metadata of the tables. I have attached a diagram
of the workflow I am attempting to achieve.

https://lh3.googleusercontent.com/-7NMuY8Wptq8/V073w6xex6I/AAAAAAAAKPw/Ur9LDQkn4iIaHGtSN8uGDVZQrSIkPTLbgCLcB/s1600/Diagram1.png

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com