Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrading free to paid Android apps without leaving two icons

I have an Android app with free and paid versions, where the free version has a time limit, after which it redirects users to the Market to buy the paid version. The two versions have different package names and are submitted to the Market as separate applications.

However, when users buy the paid version, this doesn't replace the free version - they're left with both versions installed at once. I'd like it to install over the free version. Ideally it would also replace any existing shortcuts on the home screen with shortcuts to the new version, but that's less important.

Is there an elegant way to handle this?

like image 469
jimrandomh Avatar asked Feb 27 '11 00:02

jimrandomh


People also ask

Can I share an app with another Android phone?

Step 3: Share Your Installed Android Apps With Other Devices Open Play Store (Android's official app store) on your phone, select the profile icon in the top-right corner, and choose Manage apps & device. Select Send next to Share apps. Then, choose Continue.

How much are Google Play apps?

As of March 2022, there were around 33,254 apps priced less than a dollar in the Google Play store, followed by 26,390 apps that cost between $1 and $2. A further 2,174 apps were priced between $9 and $10, as per the latest Google Play App statistics.


2 Answers

You can't have the free version automatically deleted when a user buys the paid one. Only the user of the device can uninstall applications from the phone, and he must do so manually.

If the two icons thing really bothers you, you could always switch to a free version model only, using in-app billing to unlock features or contents in your app.

like image 196
Julio Gorgé Avatar answered Oct 30 '22 03:10

Julio Gorgé


A popular way to handle this situation is to only release one fully-functional package.

Put all of the functionality into the "free" version, and then release a "Pro Key" which is just an empty package. Then you can add a function to the free version which checks whether the Pro Key is installed. You can then use this function to selectively unlock certain features of the application.

See How can I use the paid version of my app as a "key" to the free version? and Detect if app was downloaded from Android Market for more info about this process.

like image 35
David Avatar answered Oct 30 '22 03:10

David