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... but my guess is that
on phones there are going to be a lot more... I just don't know what
they will be.
It would be nice to find something that works 100% of the time...but
this is ok for now.
If anyone can think of anything else, I'd really appreciate it.
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:39 PM, Chris Stratton wrote:
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<[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en