Not sure is this what you want

Assuming you have your current Context object ctx

Resources appR = ctx.getResources();
CharSequence txt = appR.getText(appR.getIdentifier("app_name",
"string", ctx.getPackageName()));

Derek



On Dec 7, 12:23 pm, Mark Murphy <[email protected]> wrote:
> wyngnut wrote:
> > I am trying to get the Application Name (the one that accompanies the
> > icon in the launcher) for all packages installed in the device.  I
> > have the packageName and name from the ActivityInfo retrived view
> > queryIntentActivities(), but can't seem to locate the Application
> > Name.  Any pointers would be appreciated.
>
> Can you use PackageManager#getApplicationInfo()?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!

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

Reply via email to