Friday, June 17, 2011

[android-developers] Re: How does launcher get the applications' icons and corresponding text

It does.

Source for Launcher2 is available:
https://android.git.kernel.org/?p=platform/packages/apps/Launcher2.git;a=summary

On Jun 17, 10:37 am, June Hello <junehelloworld.he...@gmail.com>
wrote:
> Does launcher load icons by using PackageManager as well, I think I need to
> learn the source code.
>
> Thanks a lot for your help
>
>
>
>
>
>
>
> On Fri, Jun 17, 2011 at 11:22 PM, TreKing <treking...@gmail.com> wrote:
> > On Fri, Jun 17, 2011 at 9:31 AM, June_Hello <
> > junehelloworld.he...@gmail.com> wrote:
>
> >> I encountered with a question. Where and how  does the launcher get
> >> the icon and text of the application which has
>
> >> be installed in the phone, Is this information stored in database, or
> >> any other way else? and how can I get another
>
> >> app's icon which is showed on launcher from another my own.
>
> > Any time you want information about other packages installed on the device,
> > first stop should be PackageManager.
>
> > --------------------------------------------------------------------------- ----------------------
> > 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+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment