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 <rbg...@gmail.com> wrote:
> Anyone know a good (hopefully foolproof) method of determining if an app
> is a system installed app vs. a user installed app.
>
> I'm scanning the apps using PackageManager, and then looping through
> them, but I want to skip the system apps as quickly and easily as
> possible because my app only needs to know about the user installed
> apps. Hopefully, there is something in the PackageManager info that can
> be used. Oh... and it needs to be available for all SDK versions.
>
> --
> Sincerely,
>
> Brad Gies
> -----------------------------------------------------------------------
> Bistro Bot - Bistro Blurbhttp://bgies.com           
> http://nocrappyapps.comhttp://bistroblurb.com     
> http://forcethetruth.comhttp://ihottonight.com
> -----------------------------------------------------------------------
> Everything in moderation, including abstinence (paraphrased)
>
> Every person is born with a brain... Those who use it well are the successful 
> happy ones - Brad Gies
>
> Adversity can make or break you... It's your choice... Choose wisely - Brad 
> Gies
>
> Never doubt that a small group of thoughtful, committed people can
> change the world. Indeed. It is the only thing that ever has - Margaret Mead

-- 
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

Reply via email to