The reason I'm leaning toward using a provider is because it
simplifies dealing with different versions of the "from" application.

Not perfectly, of course, and there's other ways to accomplish the
same thing. Since these are essentially the same app, a little
intimate knowledge of the inner workings and version history isn't
such a bad thing. Actually, come to think of it, it has to be there
anyway for upgrades! OK, you've convinced me. I'll copy the data over
directly, and then I'll upgrade it.

But using a provider is also a step toward a shared service model.
Which is another thing the platform doesn't support well. Anything
that forces users to install two things to buy one app is UnGood in my
book.

A workaround is to include the service in every app, and negotiate
which app actually supplies it at runtime. But that's costly -- and a
gaping security hole if you don't control all the relevant apps.

While Google could do all this on install and save us a lot of grief,
I think the model I'd like best would be that the platform stays like
it is -- but that the unique ID in the marketplace is augmented, to be
package+appAlternative, where you can have some reasonable small
number of appAlternatives. So you wouldn't be able to switch from free
to paid, say -- but you'd be able to have two apps with the same
package but different appAlternative's in the manifest. These would be
regarded by the marketplace as different apps, but would replace each
other on download as they do now.

On Feb 25, 10:39 am, jarkman <[email protected]> wrote:
> Bob - you should be able to make Pro version look into the Lite's
> preferences at upgrade time, so you can copy in the settings without
> using a provider. Incidentally, if you do use a provider it needs to
> have a different name in the Lite & Pro versions - that's one of the
> things our Ant script changes in the manifest.
>
> Take a look at Context.createPackageContext(), 
> here:http://groups.google.com/group/android-developers/browse_thread/threa...
>

-- 
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