Can 2 different applications use the same database?

Posted by cdonner on Stack Overflow See other posts from Stack Overflow or by cdonner
Published on 2010-06-10T01:58:19Z Indexed on 2010/06/10 2:02 UTC
Read the original article Hit count: 439

Without additional context, the answer is "no", I think. Here is the context. I want to have a free version and a premium version of the same application. When people buy the application, I want them to be able to "upgrade" without losing their data, i.e. the premium version should install over the free version. I want to use the same code base and just switch a setting to build the premium version. Andoid Market does not let me convert a free app to a paid app, so the trivial option is not available.

I am curious if someone has tried this successfully. How does Android Market identify an application - will it think that the premium version is a different app and just install it in parallel?

© Stack Overflow or respective owner

Related posts about android

Related posts about versioning