Hi,

I need to change application label based on the SIM Card carrier. I'm
trying to work around the above by adding values folders with mcc and
mnc information as stated on the following link.
http://developer.android.com/guide/topics/resources/resources-i18n.html#ReferencesToResources

On my sample application Im adding a values folder in the following
way "values-mccxxx-mncyyy" but this is also not working. Is there a
problem in the format Im using? Is any twikis on code needed?

Thanks a lot,
Renato


On 27 ago, 23:07, Dianne Hackborn <[email protected]> wrote:
> Sorry, there is currently no way to change the label dynamically.
>
> On Thu, Aug 27, 2009 at 11:06 AM, Taísa Cristina 
> <[email protected]>wrote:
>
>
>
>
>
> > Hi all,
>
> > I have a Service which enables/disables an application launcher
> > activity as follows. Can I change the application label from my code,
> > while enabling the application launcher?
>
> > "
> > ComponentName cName = new ComponentName("my.package.name",
> > "my.launcher.activity");
> > int state = install ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED
> >                : PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
> > try {
> >        pm.setComponentEnabledSetting(cName, state,
> > PackageManager.DONT_KILL_APP);
> > } catch (Exception e) {
> >        Log.d("TAG", "Could not change my app state");
> > }
> > "
>
> > Thanks,
> > Taísa
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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