On Tue, Oct 26, 2010 at 11:51 PM, Tauno Talimaa wrote:
> Just a small correction to this. If you just specify the MNC, then the
> strings will be used for Verizon only in the US.
Gah very good point, I was thinking the hierarchy went the other way for
some reason.
So this is even more fragile.
I know it sounds easy for me, but it would take some learning for you. It
may be worth it if you are going to need to manipulate XML files.
http://www.w3.org/Style/XSL/
http://xalan.apache.org/
http://ant.apache.org/manual/Tasks/style.html
--
You received this message because you are subscribe
You don't put it in your strings file!
The idea is you make a copy of your project for each carrier, and use
an XSLT script to make changes
This makes sense if each carrier's files are mostly the same. If you
can separate the files into files that have stuff that is the same for
each carrier, tha
Hi .,
How can i do this XSL ( ) in android string.xml
?
Any file or import is required to this da ? Its showing error for me ..,
tnx,
ganesh r
On Wed, Oct 27, 2010 at 12:15 PM, Bob Kerns wrote:
> Yes, and XSLT can be easily invoked from an ant script.
>
> As a sample, here's a script that re
Just a small correction to this. If you just specify the MNC, then the
strings will be used for Verizon only in the US. In other countries
they would be used for other operators who have the same MNC value
(for example strings in res/values-mnc005/strings.xml would be
displayed in Estonia for the o
Hi Kerns,
How can i use this script file in my android project ? Android supports ANT
scripts?
Looks like we are near.. please help me little more.,
thanks.,
Ganesh R.
On Wed, Oct 27, 2010 at 12:15 PM, Bob Kerns wrote:
> Yes, and XSLT can be easily invoked from an ant script.
>
> As a sampl
Yes, and XSLT can be easily invoked from an ant script.
As a sample, here's a script that removes an Admob view from a layout:
http://www.w3.org/1999/XSL/Transform";
version="1.0"
xmlns:android="http://schemas.android.com/apk/res/android";
>
Actually i have all framework and kernal level code with me.,
i have doubt like... if i chage language how its refering appropriate folder
values-es-rUS,values-pt-rPT .. etc
What is this rUS.. where it is defined ? how it works ?
thanks.,
ganesh r.,
On Wed, Oct 27, 2010 at 11:06 AM, Frank Weis
On Tue, Oct 26, 2010 at 6:55 PM, Ganesh Kumar R - . wrote:
> Is it possible to append the user defined string to that values folder like
> values-telnet,values-coonet.?
>
Sorry, no.
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to m
Although I'm not sure I understand your problem completely, I can offer
another solution: XSLT. Using Xalan's multiple output documents make this
relatively easy.
Are you thinking of creating an .apk for each carrier from the same code
base? That's another can of worms. However, perhaps using ADT
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 wrote:
> You c
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 con
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 simultaneousl
Ya using ANT it is possible. I have done same with build.xml using ANT
compiler.
Example :
In properties file or in compiler we ll give -DACTIVATE_SMS=1
Now i required the same in android.
thanks.,
ganesh r.
On Wed, Oct 27, 2010 at 12:52 AM, TreKing wrote:
> On Tue, Oct 26, 2010 at 10:21 AM
On Tue, Oct 26, 2010 at 10:21 AM, Ganesh Kumar R - . wrote:
> That is the request came from my client.
>
Figures.
> They need one workspace should contain all the operator specific code might
> be to reduce the source code size in server.
>
They probably don't, but think they do :-)
> Is thi
When you say 'operator', do you mean carrier, user, or phone
manufacturer? Which classes and methods are operator specific?
--
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
That is the request came from my client. They need one workspace should
contain all the operator specific code might be to reduce the source code
size in server.
Is this possible in android or not ?
Any one tried earlier. ?
br.,
ganesh r.
On Tue, Oct 26, 2010 at 11:34 PM, TreKing wrote:
> On
On Tue, Oct 26, 2010 at 8:58 AM, Suwon Ganesh wrote:
> We have done one project for one device. Now we planned to do for another
> two set of devices with the same workspace.
>
Why are you making different builds for different devices?
> Both devices are different operators. So now i need make
Hi Treking.,
Thanks for u r replay.,
Let me make my query more detail..,
We have done one project for one device. Now we planned to do for
another two set of devices with the same workspace.
Both devices are different operators. So now i need make some change
in string.xml for operator specific
On Tue, Oct 26, 2010 at 4:14 AM, Suwon Ganesh wrote:
> Give me some suggestion atleast..
I suggest you clarify what you're asking.
This: "Can any please tell me how can i make the conditions inside the all
xml file." - makes no sense.
--
Can any one help me out in this ??
Give me some suggestion atleast..
Br,
ganesh r.
On Oct 26, 12:38 pm, Jack Ganesh 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 manefies
21 matches
Mail list logo