<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Accessing Android Resources By Name at Runtime</title>
	<atom:link href="http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/feed/" rel="self" type="application/rss+xml" />
	<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/</link>
	<description>"I would love to change the world, but they won't give me the source code".</description>
	<lastBuildDate>Thu, 27 Oct 2011 16:14:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Christopher</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-371</link>
		<dc:creator><![CDATA[Christopher]]></dc:creator>
		<pubDate>Tue, 12 Oct 2010 10:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-371</guid>
		<description><![CDATA[Thank you so much for your help Steve! :-)
You are my hero of the day :)]]></description>
		<content:encoded><![CDATA[<p>Thank you so much for your help Steve! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
You are my hero of the day <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janusz Leidgens</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-314</link>
		<dc:creator><![CDATA[Janusz Leidgens]]></dc:creator>
		<pubDate>Wed, 30 Jun 2010 08:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-314</guid>
		<description><![CDATA[thanks the documentation sadly lacks an example]]></description>
		<content:encoded><![CDATA[<p>thanks the documentation sadly lacks an example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keckia</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-209</link>
		<dc:creator><![CDATA[keckia]]></dc:creator>
		<pubDate>Mon, 01 Mar 2010 19:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-209</guid>
		<description><![CDATA[thanx, thats what I needed :-D]]></description>
		<content:encoded><![CDATA[<p>thanx, thats what I needed <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim H</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-25</link>
		<dc:creator><![CDATA[Tim H]]></dc:creator>
		<pubDate>Sat, 17 Oct 2009 00:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-25</guid>
		<description><![CDATA[Carlos,

You want this:
Log.i(TAG, &quot;Found Button ID: &quot; + getResources().getIdentifier(&quot;Button01&quot;, &quot;id&quot;, &quot;com.android.test&quot;));
or
Log.i(TAG, &quot;Found Button ID: &quot; + getResources().getIdentifier(&quot;com.android.test:id/Button01&quot;));


The code mentioned shows how to get a drawable, just replace drawable for another type in the resource file (id, drawable, layout, string, etc)]]></description>
		<content:encoded><![CDATA[<p>Carlos,</p>
<p>You want this:<br />
Log.i(TAG, &#8220;Found Button ID: &#8221; + getResources().getIdentifier(&#8220;Button01&#8243;, &#8220;id&#8221;, &#8220;com.android.test&#8221;));<br />
or<br />
Log.i(TAG, &#8220;Found Button ID: &#8221; + getResources().getIdentifier(&#8220;com.android.test:id/Button01&#8243;));</p>
<p>The code mentioned shows how to get a drawable, just replace drawable for another type in the resource file (id, drawable, layout, string, etc)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steven</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-24</link>
		<dc:creator><![CDATA[steven]]></dc:creator>
		<pubDate>Sat, 03 Oct 2009 18:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-24</guid>
		<description><![CDATA[This code is really dated, I know there is a much cleaner way to do this now, but unfortunately I haven&#039;t kept up with my Android development and can&#039;t be to much help.]]></description>
		<content:encoded><![CDATA[<p>This code is really dated, I know there is a much cleaner way to do this now, but unfortunately I haven&#8217;t kept up with my Android development and can&#8217;t be to much help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlos</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-23</link>
		<dc:creator><![CDATA[carlos]]></dc:creator>
		<pubDate>Mon, 28 Sep 2009 11:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-23</guid>
		<description><![CDATA[but with the example http://www.anddev.org/viewtopic.php?p=17846, we can&#039;t get a button id for example. Steven, it could be possible with your code example, but is it recommendable? please, help me with this little trouble. (you can send me a mail)]]></description>
		<content:encoded><![CDATA[<p>but with the example <a href="http://www.anddev.org/viewtopic.php?p=17846" rel="nofollow">http://www.anddev.org/viewtopic.php?p=17846</a>, we can&#8217;t get a button id for example. Steven, it could be possible with your code example, but is it recommendable? please, help me with this little trouble. (you can send me a mail)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steven</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-22</link>
		<dc:creator><![CDATA[steven]]></dc:creator>
		<pubDate>Tue, 31 Mar 2009 15:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-22</guid>
		<description><![CDATA[Ah, absolutely.  This post is _very_ dated and I not recommend using my code example to anyone.]]></description>
		<content:encoded><![CDATA[<p>Ah, absolutely.  This post is _very_ dated and I not recommend using my code example to anyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eisernWolf</title>
		<link>http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-21</link>
		<dc:creator><![CDATA[eisernWolf]]></dc:creator>
		<pubDate>Tue, 31 Mar 2009 14:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://steven.bitsetters.com/articles/2007/11/27/accessing-android-resources-by-name-at-runtime/#comment-21</guid>
		<description><![CDATA[See Resources.getIdentifier. For example: http://www.anddev.org/viewtopic.php?p=17846]]></description>
		<content:encoded><![CDATA[<p>See Resources.getIdentifier. For example: <a href="http://www.anddev.org/viewtopic.php?p=17846" rel="nofollow">http://www.anddev.org/viewtopic.php?p=17846</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

