I have managed to connect to the 'lite' database with the following
code:

Context other = cont.createPackageContext("com.skeniver.applite",
Context.CONTEXT_IGNORE_SECURITY);
DBAdapter odb = new DBAdapter(other);
String[] dbs = cont.databaseList();

and by adding the SharedUserID in the manifest (under the Manifest
tag):

android:sharedUserId="com.skeniver.app.share"

>From there, you can access the database using normal query methods...

I was wondering though, does anyone know now how to best get all the
data? Is it possible to make a straight copy of the database? Which
would be the easiest and most sensical way...

Thanks,
Neil

You can also see the post here...
http://www.anddev.org/viewtopic.php?p=27932#27932
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to