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.

Thanks!

Evgeny.
--~--~---------~--~----~------------~-------~--~----~



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.
Anyone?

Todd



--~--~---------~--~----~------------~-------~--~----~


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. Why does my EditText hint have different font spacing?

Hi,
my activity screen has 3 EditText's for changing the password.
Somehow the hint on the "oldPassword" has different font spacing then
the other two.

I have not changed any properties of the EditText in the Activity
code.

I'm sure it's something obvious, I just don't see it.

Thanks.

Here is the layout:

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/changePasswordTextScroller"
android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:fillViewport="true">
        <LinearLayout android:layout_width="fill_parent"
                android:layout_height="fill_parent" 
android:orientation="vertical"
                android:padding="10dip">
                <TextView android:id="@+id/changePasswordText"
                        android:layout_width="wrap_content"
android:layout_height="wrap_content"
                        android:text="@string/changePasswordText" 
android:textSize="20sp"
                        android:textColor="?android:attr/textColorSecondary"
                        android:lineSpacingMultiplier="0.92"
                        android:paddingBottom="10dip" />

                <EditText android:id="@+id/oldPassword"
                    android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:password="true"
            android:layout_marginBottom="20dip"
            android:hint="@string/oldPassword" />

                <ca.heraconsulting.android.secretbox.NewPassword
                        android:id="@+id/newPassword" 
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" />

                <LinearLayout android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
android:orientation="horizontal"
                        android:layout_marginTop="20dip">
                        <Button android:id="@+id/changePasswordOk" 
android:enabled="false"
                                android:text="@android:string/ok"
android:layout_width="fill_parent"
                                android:layout_height="wrap_content" 
android:layout_weight="1" />
                        <Button android:id="@+id/changePasswordCancel"
android:text="@android:string/cancel"
                                android:layout_width="fill_parent"
android:layout_height="wrap_content"
                                android:layout_weight="1" />
                </LinearLayout>
        </LinearLayout>
</ScrollView>

--~--~---------~--~----~------------~-------~--~----~

2. Setting internal storage in the AVD

Does anyone know how to set internal storage in the AVD to something
other than the default 92M?

I have tried setting hw.ramSize in the AVD's .config file, but no
change and also tried setting it when creating a AVD with the "android
create" command. Same net resut.

I'm on Windows XP.

Thanks in advance for any help!

--~--~---------~--~----~------------~-------~--~----~

3. Getting "failed to copy 'content' to '/sdcard/content': Read only file system on donut compilation.

4. GLSurfaceView does not invoke OnKeyDown(...)

5. Don't receive intent

6. Get GPS time/date

7. start browser via intent and pass cookie to it