<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: quicktip: Working with strings.xml in Android and little bit about @</title>
	<atom:link href="http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/</link>
	<description>The blog of TechJini Solutions</description>
	<lastBuildDate>Sun, 22 Aug 2010 09:06:45 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: thursdaynext</title>
		<link>http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/comment-page-1/#comment-12594</link>
		<dc:creator>thursdaynext</dc:creator>
		<pubDate>Mon, 09 Aug 2010 00:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/#comment-12594</guid>
		<description>use the getIdentifier() method to get the resource id, then you can use getText( resId  );</description>
		<content:encoded><![CDATA[<p>use the getIdentifier() method to get the resource id, then you can use getText( resId  );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/comment-page-1/#comment-12206</link>
		<dc:creator>Vinod</dc:creator>
		<pubDate>Tue, 27 Jul 2010 19:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/#comment-12206</guid>
		<description>Hi Amit,
I am retrieving a string which is stored in the resource file as below. 

String res = this.getResources().getText(R.string.celsiusfahrenheit)

My question is: In my code, i want to dynamically substitute the value &quot;celsiusfarrenheit&quot; because I built this value dynamically.

basically can I do something like getText(&quot;R.string.&quot;+dynamicvalue) ? so that this still retrieves value from resource file

thx
vinod</description>
		<content:encoded><![CDATA[<p>Hi Amit,<br />
I am retrieving a string which is stored in the resource file as below. </p>
<p>String res = this.getResources().getText(R.string.celsiusfahrenheit)</p>
<p>My question is: In my code, i want to dynamically substitute the value &#8220;celsiusfarrenheit&#8221; because I built this value dynamically.</p>
<p>basically can I do something like getText(&#8220;R.string.&#8221;+dynamicvalue) ? so that this still retrieves value from resource file</p>
<p>thx<br />
vinod</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Esdras</title>
		<link>http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/comment-page-1/#comment-10913</link>
		<dc:creator>Esdras</dc:creator>
		<pubDate>Thu, 27 May 2010 20:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjini.com/blog/2010/02/20/quicktip-working-with-stringsxml-in-android-and-little-bit-about/#comment-10913</guid>
		<description>Very useful text :)

Just a tip for the ones who came here looking for the same as me, and giving an example of what&#039;s written above: strings like android.R.strings.yes or android.R.strings.no can be put into the XML files using android:text=&quot;@android:string/yes&quot; and android:text=&quot;@android:string/no&quot;</description>
		<content:encoded><![CDATA[<p>Very useful text <img src='http://www.techjini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Just a tip for the ones who came here looking for the same as me, and giving an example of what&#8217;s written above: strings like android.R.strings.yes or android.R.strings.no can be put into the XML files using android:text=&#8221;@android:string/yes&#8221; and android:text=&#8221;@android:string/no&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
