Sorry I haven't replied...This was pretty much my first time here and
I have yet to get into the pattern of checking it.

Anyways, I see where a custom confirmation window could be a problem
with a malicious app. I hadn't considered that. Oddly enough, I was
persuing this in order to try and prevent various malicious acts.

As things currently stand, Android users have apps like Mobile Defense
to try and keep baddies from stealing their phones. Unfortunately, any
semi-knowledgeable baddie wouldn't have much trouble loading up the
Marketplace App and uninstalling any tracking software such as Mobile
Defense. I was hoping to create some sort of App that would ask the
user for a password whenever uninstalling an app.

On Oct 26, 12:27 pm, Doug <[email protected]> wrote:
> I completely agree that there should be no way for an application to
> prevent its uninstallation - but there are valid reasons why the
> application may want to pop up some important information to the user
> either before or after the uninstall.
>
> A good example of this is a service that adjusts some of the users
> settings when it is installed - the user then uninstalls the app, but
> is still stuck with the altered settings - possibly not knowing how to
> correct them.  A "well behaved" app might like the opportunity to warn
> the user of the (possibly unintentional) consequences of uninstalling
> the app.
>
> I know that the primary app I work on would benefit HUGELY from
> something as simple as the uninstaller displaying the contents of an
> app specified string resource prior to uninstallation - with
> (hopefully) the option presented to the user to abort the uninstall.
>
> Simple case:
>
> * Uninstall selected (however it may be done)
> * PackageManager starts uninstall process
> * PackageManager checks for app specified string resource, if found,
> display popup with that text in it
> * PackageManager completes uninstall
>
> Doug
>
> On Oct 25, 5:22 am, Dianne Hackborn <[email protected]> wrote:
>
>
>
> > Absolutely no way with the SDK.  And the two paths for uninstalling (via
> > Market or by invoking the uninstall UI) already have their own form of
> > confirmation.
>
> > On Sat, Oct 24, 2009 at 3:22 PM, QuantumRand <[email protected]> wrote:
>
> > > Hello,
>
> > > I'm trying to create an app that will inject any time an app is
> > > uninstalled. Is there a standard uninstaller function that is called
> > > regardless of the method used (like via the Marketplace, settings
> > > manager, or a third party app)? And is it possible to kill this
> > > function before it starts?
>
> > > Ideally, I'd like to create a listener that listens for the
> > > uninstaller function and then injects a standard confirm/cancel
> > > dialogue. Any thoughts on how to go about this?
>
> > > Thanks.
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.- Hide quoted text -
>
> - Show quoted text -

-- 
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

Reply via email to