I have source the code of android 2.1, and I want to remove phone app from it. But I am not able to remove it. At list first I want to remove it from launcher that it should not be visible in launcher but in manifest file of Phone app I can not able to find launcher category. I don't know what to do?
Please remove all
<category andorid:name="android.intent.category.LAUNCHER" />
in packages/apps/Contacts/AndroidManifest.xml, I think it will work fine.
Or try to remove Contacts.apk (but this may not work because you may get crash again.)