How to uninstall .apk file at startup of the phone?

Put your problem here if it does not fit any of the other categories.

How to uninstall .apk file at startup of the phone?

Postby pranav09 » Sat Jul 03, 2010 9:37 am

Hello,

I am able to start an application at startup of the phone and it's running fine. I gone the PackageManager class but it's not taking any effect. I tried the below code to uninstall .apk file at startup.

PackageManager manager;
manager = getPackageManager();
manager.clearPackagePreferredActivities("com.android.bootprocess");


So, how it's possible? If anyone have any idea to do this, please share with me.

Thanks.
Pranav
User avatar
pranav09
Senior Developer
Senior Developer
 
Posts: 128
Joined: Mon Jan 19, 2009 12:01 pm
Location: Ahmedabad, India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 22 guests