How to call ODKCollect from another android application

Dear Team

I have made a small application which needs reporting services. I need to call ODK-Collect from within this application. Please let me know how can I achieve this.

See the code in ODK Tables -
http://code.google.com/p/opendatakit/source/browse/src/org/opendatakit/tables/utils/CollectUtil.java?repo=tables
It constructs an instance file from existing data, then launches ODK
Collect.

··· On Fri, Nov 22, 2013 at 8:50 AM, wrote:

Dear Team

I have made a small application which needs reporting services. I need to
call ODK-Collect from within this application. Please let me know how can I
achieve this.

--
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/groups/opt_out.

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

If your application just simply needs to open ODK you could do something
like this.

Intent i = new Intent(Intent.ACTION_MAIN);
PackageManager manager = getPackageManager();
i = manager.getLaunchIntentForPackage("org.odk.collect.android");
i.addCategory(Intent.CATEGORY_LAUNCHER);
startActivity(i);

··· On Friday, November 22, 2013 11:50:38 AM UTC-5, tejassv...@gmail.com wrote: > > Dear Team > > I have made a small application which needs reporting services. I need to > call ODK-Collect from within this application. Please let me know how can I > achieve this. > >