Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Brad Gies
Ooops... just replied before I saw your email... Ok... I'll try the flag... Thanks. Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.comhttp://nocrappyapps.com http://bistroblurb.com http://force

Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Brad Gies
Yeah... filtering out everything installed in the /system directory did most of it.. but not quite all.. I've only tested it on an emulator so far, and the only installed app was mine, so I want to get only the one app. Filtering out the /system apps left only 5.. 3 of which were example apps.

Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Dianne Hackborn
Yes, use FLAG_SYSTEM. Don't look at paths. I can guarantee trying to infer things from paths will break in the future. On Mon, Dec 6, 2010 at 7:20 PM, XC He wrote: > System app is installed under /system/app > In theory, it cannot be uninstall. > you can use applicationinfo to fing the flags,

Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-06 Thread XC He
System app is installed under /system/app 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.g

[android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-06 Thread Bob Kerns
It's always refreshing to see people paying attention to internationalization issues. :=) On Dec 6, 12:39 pm, Brad Gies 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

[android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-06 Thread Chris Stratton
Anything installed on /system is obviously not a user app. However, I think post-imaging system app installs would go to /data, so that may not be definitive in both directions. On Dec 6, 2:45 pm, Brad Gies wrote: > Anyone know a good (hopefully foolproof) method of determining if an app > is a