In theory, it cannot be uninstall.
you can use applicationinfo to fing the flags, if the flags contains
FLAG_SYSTEM, it could be system app.
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
PackageManager pm = context.getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo(yourpackageName, 0);
if (appInfo.flags & ApplicationInfo.FLAG_SYSTEM){
...
}
2010/12/7 Bob Kerns <rwk@acm.org>:
> It's always refreshing to see people paying attention to
> internationalization issues. :=)
>
> On Dec 6, 12:39 pm, Brad Gies <rbg...@gmail.com> wrote:
>> Well.. the comment would work... but I'd need translations :).
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment