On Feb 25, 6:18 pm, Jay-andro <jayan...@gmail.com> wrote: > Is there a way to detect upon install or first use, if another app (in > this case, the trial version of the same app from the same developer > with the same key but different package name) is still installed? If > yes, then the next question is can one app uninstall another with the > same key, if the user gives the go ahead?
You can use PackageManager.getPackageInfo() to see if a package is installed. Looking at the source code of GroupHome, it appears that you can invoke the uninstaller with in an ACTION_DELETE Intent: http://code.google.com/p/android-cookbook/source/browse/trunk/GroupHome/src/org/jsharkey/grouphome/LauncherActivity.java -- Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---