Well.. the comment would work... but I'd need translations :).

I'll check the installerPackageName and see if that would work :).


Sincerely,

Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://bgies.com            http://nocrappyapps.com
http://bistroblurb.com      http://forcethetruth.com
http://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


On 06/12/2010 12:17 PM, TreKing wrote:
On Mon, Dec 6, 2010 at 1:45 PM, Brad Gies <rbg...@gmail.com <mailto: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.


Maybe this? I'd assume system apps would have a unique installer package name. http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstallerPackageName(java.lang.String) <http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstallerPackageName%28java.lang.String%29>


Or, query the Market API and search for 1* comments that match a pattern of "I don't want this POS and can't uninstall" (see Amazon MP3, Twitter, and Facebook for good examples). =P

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices

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

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