How to install bigger sqlite db, as a reward for installing my other app?
Set:
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(this);SharedPreferences.Editor editor = settings.edit(); editor.putBoolean("proversion", true); editor.commit();
Read:
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(this);boolean proversion= settings.getBoolean("proversion", false);
Now you can work with the boolean
if (proversion) {// pro Version DB}
Hope this help!