Don't specify the full path, just use Context.createPackageContext() to create a Context for the other package, and then use the data access APIs from there.
Absolute paths: bad bad bad. On Mon, Apr 27, 2009 at 8:43 AM, Michael MacDonald < googlec...@antlersoft.com> wrote: > You have to specify the full path when opening the SQL database, instead > of using the helper that derives it from the context. > > > > Just Checking wrote: > > I tried that, and it didn't seem to work. In both manifests, I > specified: > > android:sharedUserId="org.mydomain.projectname" > But no luck. > > From the documentation, I think the only thing it does is make the two > processes run under the same user ID, but you still have to do > something else to make one look at the other's data rather than create > its own. Perhaps something to do with contexts? > > On Apr 27, 4:57 am, MrSnowflake <mrsnowfl...@gmail.com> > <mrsnowfl...@gmail.com> wrote: > > > Iirc you can make the 2 version of the app use the same userId on the > phone, that way you have full access to the lite data from the pro > application. > > > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---