Thanks for your help. BR, -Jiang
--- 09年4月8日,周三, Al Sutton <a...@funkyandroid.com> 写道: 发件人: Al Sutton <a...@funkyandroid.com> 主题: [android-developers] Re: How to delete package programmatically without UI 收件人: android-developers@googlegroups.com 日期: 2009,48,周三,2:40下午 A user should always know when an application is being removed from their system, so there is no way. Al. --- * Written an Android App? - List it at http://andappstore.com/ * ====== Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jiang Sent: 08 April 2009 04:44 To: android-developers@googlegroups.com Subject: [android-developers] How to delete package programmatically without UI Hello Guys, We can delete package by following steps below: Uri uri = Uri.fromParts("package", strPackageName, null); Intent it = new Intent(Intent.ACTION_DELETE, uri); startActivity(it); But in that way, Applications Manager's UI will display, my question is how to delete packages silently (without Applications Manager's UI showing), Thanks greatly. -Jiang 好玩贺卡等你发,邮箱贺卡全新上线! ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---