Monetize Your Free Android App by Creating a Paid App to Unlock Additional Features

There are several different methods of monetizing Android apps including ads, pay services as well as a paid version of the app itself. Often there is a need to create a lite version of your application, which includes reduced functionality and/or ads. Depending on the design of your application it may be possible for a user to purchase the paid version and uninstall the lite version. However, if your app includes local databases, preferences and/or local files, which must be retained, then you would not want the user to uninstall the lite version as it would wipe out their information. Thus you would want to provide the user with the ability to purchase a paid version that would unlock additional features in the free version.

At a basic level, your free application would need to direct the user to the paid version in the Android Market whenever the user tries to access a feature that is unlocked by the paid app. The following code snippet demonstrates one method for directing the user to the paid application.

Intent goToMarket = null; 
goToMarket = new

An important item to note within the Intent is the market:// URI. The package id used in the URI is case sensitive so this Intent will only work if it is an exact match for your paid package id. Next, your free application will need to detect the presence of the paid app and allow the user to access the appropriate functions. There are several different ways to accomplish this with varying levels of complexity. The simplest method is to look through the list of installed applications for one that matches your paid version. Here is an example method that allows you to do just that.

public static final boolean IsPaidVersionInstalled(Context ctx) 
 String PaidPackageName = ""; 
 //Grab the Installed Application Info to try to find the one we are looking for 
 List list = ctx.getPackageManager().getInstalledApplications(PackageManager.GET_META_DATA); 
 //Loop through the packages and make sure the donate package is actually installed 
 int i = 0; 
 for (i=0 ; i { 
 ApplicationInfo ai = list.get(i); 
 if (ai.packageName.equals(PaidPackageName)) 
 return true; 
 return false; 

This method, IsPaidVersionInstalled, first pulls back a list of installed applications and loops through the list looking for the package id of the paid app. Thus you could use this method to determine if the user purchased the paid version and if not, display a pop up message and send them to the Market to purchase it.


The above code blocks provide you with the ability to detect the presence of a paid version and/or send the user to the Market to purchase it if desired. This approach is simple to understand; however, it does have a flaw. Simply detecting the presence of a paid version does not guarantee it is the paid app you created. Someone could create a dummy app with the identical package name and install it manually on to their devices. While this is fairly unlikely it is recommended to add a second factor for verifying the creator of the paid application. There are a couple of methods for accomplishing this such as creating a custom provider within your paid app, then build code within the free version, which would periodically query the provider. In any case, adding the ability for a free app to detect a paid version is a simple process, which can drastically increase the ability to monetize your app.

Android Development Tools Section Index

About the Author

Chris Bennett

Chris Bennett is a Manager with Crowe Horwath LLP in the Indianapolis office. He can be reached at


  • get 25$ per 100 downloads for each app

    Posted by BestMonetization on 02/22/2013 09:24am

    hi, i have developed some android apps and i use Admob and one other mobile ad network, i don't earn much from AdMob but i earn 0.05$ per US download and 0.01$ per non-US download. If you are interested then you can earn same income. also if you add my reference then you will get 25$ extra for 100 downloads from any place for each app. so if you are interested then please register using following link note: if you register using any other link then you will not get the bonus, so register using the above link to get the bonus Thanks Please share with your friends who may be interested.

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Learn How A Global Entertainment Company Saw a 448% ROI Every business today uses software to manage systems, deliver products, and empower employees to do their jobs. But software inevitably breaks, and when it does, businesses lose money -- in the form of dissatisfied customers, missed SLAs or lost productivity. PagerDuty, an operations performance platform, solves this problem by helping operations engineers and developers more effectively manage and resolve incidents across a company's global operations. …

  • Live Event Date: December 18, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this upcoming webcast …

Most Popular Programming Stories

More for Developers

RSS Feeds