Thanks for the valuable suggestions..,

Is it possible to append the user defined string to that values folder like
values-telnet,values-coonet.?

Where i can telnet, coonet ?? i dont know how to work out this..


thanks.,
ganesh r,

On Wed, Oct 27, 2010 at 10:05 AM, Dianne Hackborn <hack...@android.com>wrote:

> You can actually use the mnc configs to have different strings for
> different carries.  For example, strings in these directories will be for
> Verizon:
>
> res/values-mnc004/strings.xml
> res/values-mnc005/strings.xml
> res/values-mnc012/strings.xml
>
> There are lots of caveats with this though:
>
> (1) This configuration is based on runtime information from the network.
>  It won't be available until connected to the cell network, and will change
> appropriately if you change the SIM in the phone.
> (2) It is fragile.  Obviously there are three different MNCs for Verizon.
>  There may be more in the future.
> (3) What happens on a phone with multiple SIMs?  Not defined.  If only one
> is active at a time, the configuration should change to match the currently
> active one.
> (4) It will probably, at some point, cause you pain.
>
> On Tue, Oct 26, 2010 at 11:35 AM, DanH <danhi...@ieee.org> wrote:
>
>> Are you sure they don't simply mean that they want different XML files
>> for different environments/devices?  There is a file suffix convention
>> that lets you specify different files for different environments, to
>> allow a single Android build to be "targeted" to several different
>> devices simultaneously.
>>
>> On Oct 25, 10:38 pm, Jack Ganesh <ganesh...@gmail.com> wrote:
>> > Hi All.,
>> >
>> > My appication is used across different devices. For all device (SPH-
>> > D800,MOTO-Droid. etc) i force to make use of one string.xml and one
>> > android manefiest file for my application.
>> >
>> > Can any please tell me how can i make the conditions inside the all
>> > xml file.
>> >
>> > Thanks in advance  ! !
>> >
>> > Thanks.,
>> > Ganesh Kumar R.
>>
>> --
>> 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<android-developers%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to