Another sugguestion is to "unlock" your free app with an unlock-app. You then don't have to do any data migration, have a read of:
http://groups.google.com/group/android-beginners/browse_thread/thread/7d5698ab66aadd62# (especially post 4 by Justin Anderson) Your free application has all the functionality of the full application but tests for the presence of the unlock-app, if it does not find it restricts itself to the free functionality. If it does find it then it runs full functionality. No data migration and no chance of deleting (by accident) the current data. Also as a bonus you only have one code-base to maintain. -- RichardC On Oct 13, 11:49 am, Skeniver <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

