Application uninstall hook

by Evgeny Rachinskiy » Fri, 28 Aug 2009 08:22:20 GMT

Sponsored Links
 Hi All!

Does anybody know how to hook to application uninstall event?
I need to remove files on SD if my application uninstalled.



Application uninstall hook

by Todd » Thu, 03 Sep 2009 08:58:41 GMT

 I have the same situation, I have data files on the SD card that I
would like removed if possible.



Sponsored Links

Application uninstall hook

by biAji » Fri, 04 Sep 2009 11:15:07 GMT

 Same needs here.  Anyone can give a hint?


Other Threads

1. startService works, but bindService fails?

What am I missing?  I've been working through the "Local Service
Binding" API sample for my own local service, but only partial luck.
startService works, but bindService doesn't. Is there some manifest
flag I need to set?  Some idl I need to create?

This works:
startService(new Intent(Me.this, MyService.class));
-- the service starts

This does't work:
ServiceConnection mConn = new ServiceConnection()
{ ...}
bindService(new Intent(Me.this, MyService.class), mConn,

LogCat says:
"Binding with unknown activity: android.os.binderpr...@43535e18"

Setting the flag to 0 in the bindService also does not work (even if
the service successfully started with a call to startService), the
same LogCat message is displayed.

The bindService call fails if called either before or after
startService (I have two buttons, one calls startService, the other
calls bindService).

The "MyService" class is nearly identical to the LocalService sample
class, only changes are the class names for my project.

Thanks for any suggestions.


2. Dictionary program with autocomplete EditText


I want to make simple dictionary program with two languages English
and Lithuanian.

The idea is to choose from  to what language translating using radio
buttons and enter a word in EditText view and eventually after user
press Translate button it shows results or says there is no such word
to translate.

I want to make EditText to be autocomplete but words it should take
from my custom xml lets say words.xml

And structure might be like this:

<?xml version="1.0" encoding="utf-8"?>
        <word name="1">
                <English name="A1">Sunset</English>
                <Lithuanian name="L1">Saullydis</Lithuanian>

To make it more clear I need that when user choose a word in list or
type it program should know to what word user is referring and than
show its translation in label.

So now I am trying to figure out how to create autocomplete list from
my custom xml with structure above? (If it is possible).

Open to any suggestion...


3. calendar bu gé”›

4. Enabling LOGD messages in Webkit

5. Android power-on process

6. How can I use IM app in 1.5

7. getting location name from lat, lon