removing Phone.apk from the device

by RajaniKanth » Wed, 29 Apr 2009 18:09:39 GMT


Sponsored Links
 Hi All,
          To remove PhoneApp form the device, i followed the below
setps:

1) Execute 'adb remount' to mount /system folder in rw mode.
2) telnet 192.168.16.2 to logint to phone.
3) Execute 'rm /system/app/Phone.apk' to remove apk.
4) Execute 'rm /data/dalvik-cache/sys...@app@phone....@classes.dex'
to remove the running instance of the Phone app
5) Execute ' cd /data/data' and 'rm -R rm -R com.android.phone' to
remove the personal data of Phone App.

Even after doing all these setps, PhoneApp is still running on the
device.

Is it due to the android:persistent="true"attribute in
AndroidManifest.xml file.

Could you please help me in removing Phone App from the device.

Cheers
RajaniKanth
--~--~---------~--~----~------------~-------~--~----~

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



Other Threads

1. Class cast exception

I need to create a layout in whch has table and inside that a
single row which has a list .I tried the following code and got a class cast
exception.CAn any one help?


10-21 17:40:42.426: ERROR/AndroidRuntime(5757):
java.lang.ClassCastException: android.widget.TableLayout$LayoutParams
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:249)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.view.View.layout(View.java:5637)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.widget.LinearLayout.layoutVertical(LinearLayout.java:999)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.widget.LinearLayout.onLayout(LinearLayout.java:920)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.view.View.layout(View.java:5637)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:294)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.view.View.layout(View.java:5637)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.view.ViewRoot.performTraversals(ViewRoot.java:771)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1103)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.os.Handler.dispatchMessage(Handler.java:88)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.os.Looper.loop(Looper.java:123)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
android.app.ActivityThread.main(ActivityThread.java:3742)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
java.lang.reflect.Method.invokeNative(Native Method)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
java.lang.reflect.Method.invoke(Method.java:515)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
10-21 17:40:42.426: ERROR/AndroidRuntime(5757):     at
dalvik.system.NativeStart.main(Native Method)


   * main.xml*

    <?xml version="1.0" encoding="utf-8"?>
             <TableLayout android:id="@+id/tableLayout"
                      android:layout_width="fill_parent"
android:layout_height="fill_parent"
                      xmlns:android="
http://schemas.android.com/apk/res/android"
                      android:orientation="vertical">
               <TableRow android:id="@+id/tableRow"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    xmlns:android="
http://schemas.android.com/apk/res/android"
                   android:orientation="horizontal">

             <LinearLayout android:id="@+id/linearLayout"
             android:layout_width="wrap_content"
            android:layout_height="wrap_content"
             xmlns:android="http://schemas.android.com/apk/res/android"
             android:orientation="vertical">
            <ListView android:id="@id/android:list"
                   android:layout_width="fill_parent"
                  android:layout_height="fill_parent">
             </ListView>
          </LinearLayout>
      </TableRow>
    </TableLayout>

*             Activity Class*
            setContentView(R.layout.main);
            tableLayout = (TableLayout) findViewById(R.id.tableLayout);
            TableLayout.LayoutParams params = new
TableLayout.LayoutParams();
            params.setMargins(25, 20, 20, 25);

            tableLayout.setLayoutParams(params);
            setListAdapter(new ArrayAdapter<String>(this,
                    android.R.layout.simple_list_item_1, listofRingers));

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

2. Not able to return to Home Screen by pressing 'Home' key from any application

Group,

I can not return to Home Screen by pressing 'Home' key from any
application. Any troubleshooting ideas?

Thanks,
Dipen

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

3. how to get redirect url from response with HttpClient?

4. Program Announcements

5. Positioning of ImageView

6. Good handset ergonomics!

7. Does anyone know how to store an image into a contentprovider/file system?