On first use you can detect if a given package is installed, thereby detecting your previous app. I don't know about uninstalling another app, all I can think of is a hack. You could have have the new version encourage the user to remove the old one, and provide a link to a new version APK for the demo app that is a thin shell. It would replace the previous demo with a near empty application that just opens the full app.
On Feb 25, 10:18 am, Jay-andro <[email protected]> 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? > > In my case, the app has a listener for some events, and I don't want > the trial AND the full copy both firing up on those events. > > Thanks > Jay --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

