On Wed, Jan 4, 2012 at 8:06 PM, galapogos <gois...@gmail.com> wrote:

> 1. getInstalledPackages seem to take quite a bit of time to detect and
> display all apps(about 8-10s for 200+ apps). Is it possible to make
> this faster? Titanium Backup seems to list all apps instantaneously
> when I tap the "Backup/Restore" tab. Android system's own "Manage
> Applications" also seems to be much quicker at displaying the apps.
>

Caching.


> 2. Like "Manage Applications", I would like to have a way to cull the
> list so that I can in various tabs I can display apps based on their
> properties, e.g. system vs user app, launchable vs non-launchable,
> etc. I know how to do this via the applicationInfo.flags, but how do I
> do this without running getInstalledPackages in the tab activity and
> incurring the detection phase all over again? How can I pass the List
> from 1 tab to another?
>

The Tabs should be part of the same Activity, which would have one list
they both access.

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

Reply via email to