Okay. I got it working with your help, but think on Nikolay's answer. In the
end I have decided to show the EULA in the help activity.
Thanks
On Thu, Jul 21, 2011 at 2:21 PM, Kostya Vasilyev wrote:
> Yes, you just need to keep track of version code for which the EULA was
> already shown vs. t
Yes, you just need to keep track of version code for which the EULA was
already shown vs. the current one.
Something like this:
PackageManager packageManager = getPackageManager();
String packageName = getPackageName();
PackageInfo packageInfo;
try {
packageInfo = packa
On Thu, Jul 21, 2011 at 5:43 PM, Raghav Sood wrote:
>
> It works perfectly on the first run but when an upgrade is done the code
> fails to display the dialog. Is there any way to display the dialog on
> upgrades as well?
>
Append the version name/number to the preference key.
Why do you need t
Hi all,
I know that this thread is similar to a few previous ones but I need help.
I am currently using the following code to display an EULA dialog on first
run.
SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);
boolean dialogShown = settings.getBoolean("dialogShown", f
4 matches
Mail list logo