[android-developers] Re: write to xml file

2010-11-07 Thread pramod.deore
He Frank, Thanks for good clarification.

On Nov 8, 10:42 am, Frank Weiss  wrote:
> Just for a clarification. The string.xml file is a source file, it's not
> part of the apk, hence it is not available at runtime. Instead, the bulid
> process translates it into the R class file, which allows the application to
> quickly access the strings directly via Java instead of parsing it at
> runtime.

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


Re: [android-developers] Re: write to xml file

2010-11-07 Thread Frank Weiss
Just for a clarification. The string.xml file is a source file, it's not
part of the apk, hence it is not available at runtime. Instead, the bulid
process translates it into the R class file, which allows the application to
quickly access the strings directly via Java instead of parsing it at
runtime.

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

[android-developers] Re: write to xml file

2010-11-07 Thread pramod.deore
Ok, Thanks for your suggestion.

On Nov 8, 10:26 am, Kumar Bibek  wrote:
> You cannot change the strings.xml.
>
> If you want to have such changing and updatable arrays, consider using
> SharedPrefs or Databases.
>
> On Mon, Nov 8, 2010 at 10:49 AM, pramod.deore wrote:
>
>
>
> > Ohhh !!! Thanks for your quick reply.
> > but my problem is that I have a list. The element in list is displayed
> > after reading the strings.xml file. Now I want to update this list
> > means suppose I want to add some element to that array. How to do
> > this?
>
> > On Nov 8, 10:09 am, Kumar Bibek  wrote:
> > > You cannot..
>
> > > On Mon, Nov 8, 2010 at 10:37 AM, pramod.deore  > >wrote:
>
> > > > Hi, in my application I have strings.xml file under values folder.
> > > > strings.xml file contain array. Now I want to add element to that
> > > > array at runtime. How to do that?
> > > > Thanks
>
> > > > --
> > > > 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
>
> > > --
> > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
> > --
> > 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
>
> --
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

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


Re: [android-developers] Re: write to xml file

2010-11-07 Thread Kumar Bibek
You cannot change the strings.xml.

If you want to have such changing and updatable arrays, consider using
SharedPrefs or Databases.

On Mon, Nov 8, 2010 at 10:49 AM, pramod.deore wrote:

> Ohhh !!! Thanks for your quick reply.
> but my problem is that I have a list. The element in list is displayed
> after reading the strings.xml file. Now I want to update this list
> means suppose I want to add some element to that array. How to do
> this?
>
> On Nov 8, 10:09 am, Kumar Bibek  wrote:
> > You cannot..
> >
> > On Mon, Nov 8, 2010 at 10:37 AM, pramod.deore  >wrote:
> >
> > > Hi, in my application I have strings.xml file under values folder.
> > > strings.xml file contain array. Now I want to add element to that
> > > array at runtime. How to do that?
> > > Thanks
> >
> > > --
> > > 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
> >
> > --
> > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
> --
> 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
>



-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

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

[android-developers] Re: write to xml file

2010-11-07 Thread pramod.deore
But here in this URL someone had wrote to strings.xml file-
http://stackoverflow.com/questions/3053062

On Nov 8, 10:19 am, "pramod.deore"  wrote:
> Ohhh !!! Thanks for your quick reply.
> but my problem is that I have a list. The element in list is displayed
> after reading the strings.xml file. Now I want to update this list
> means suppose I want to add some element to that array. How to do
> this?
>
> On Nov 8, 10:09 am, Kumar Bibek  wrote:
>
> > You cannot..
>
> > On Mon, Nov 8, 2010 at 10:37 AM, pramod.deore 
> > wrote:
>
> > > Hi, in my application I have strings.xml file under values folder.
> > > strings.xml file contain array. Now I want to add element to that
> > > array at runtime. How to do that?
> > > Thanks
>
> > > --
> > > 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
>
> > --
> > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
>

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


[android-developers] Re: write to xml file

2010-11-07 Thread pramod.deore
Ohhh !!! Thanks for your quick reply.
but my problem is that I have a list. The element in list is displayed
after reading the strings.xml file. Now I want to update this list
means suppose I want to add some element to that array. How to do
this?

On Nov 8, 10:09 am, Kumar Bibek  wrote:
> You cannot..
>
> On Mon, Nov 8, 2010 at 10:37 AM, pramod.deore wrote:
>
> > Hi, in my application I have strings.xml file under values folder.
> > strings.xml file contain array. Now I want to add element to that
> > array at runtime. How to do that?
> > Thanks
>
> > --
> > 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
>
> --
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

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