Just started playing with Android and I\'m trying to create an app that has free and paid version. I\'m new to Java as well but I\'ve managed to create a simple working applicat
OK I managed to solve this. In the Application Manifest, I simply set the android:label property and referenced this using the code below.
In Manifest:
android:label="My Free App"
To reference this
//Are we using free or pro version?
if (this.getApplication().getApplicationInfo().loadLabel(this.getPackageManager()).toString().equals("My Free App"))
{
freeVersion = true;
} else {
freeVersion = false;
}