<?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: Android Tricks: Multitouch AND 1.5 Support, Same App</title>
	<atom:link href="http://mindtherobot.com/blog/518/android-tricks-multitouch-and-1-5-support-same-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://mindtherobot.com/blog/518/android-tricks-multitouch-and-1-5-support-same-app/</link>
	<description>Android™ Dev Insight</description>
	<lastBuildDate>Mon, 18 Jul 2011 05:46:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
	<item>
		<title>By: Dynamischer Multitouch Support mit Abwärtskompatibiltät &#124; toto.interactive</title>
		<link>http://mindtherobot.com/blog/518/android-tricks-multitouch-and-1-5-support-same-app/comment-page-1/#comment-1345</link>
		<dc:creator>Dynamischer Multitouch Support mit Abwärtskompatibiltät &#124; toto.interactive</dc:creator>
		<pubDate>Mon, 23 Aug 2010 14:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://mindtherobot.com/blog/?p=518#comment-1345</guid>
		<description>[...] lassen.  Auf der Suche nach einer Lösung für das Problem der Abwärtskompatibiltät bin ich auf mindtherobot.com auf einen wertvollen Tipp gestoßen: Mit etwas JAVA-Klassen-Namen-&#8221;Magie&#8221; kann man das [...]</description>
		<content:encoded><![CDATA[<p>[...] lassen.  Auf der Suche nach einer Lösung für das Problem der Abwärtskompatibiltät bin ich auf mindtherobot.com auf einen wertvollen Tipp gestoßen: Mit etwas JAVA-Klassen-Namen-&#8221;Magie&#8221; kann man das [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://mindtherobot.com/blog/518/android-tricks-multitouch-and-1-5-support-same-app/comment-page-1/#comment-906</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://mindtherobot.com/blog/?p=518#comment-906</guid>
		<description>An alternative to reflection is to use the fact that Java only loads classes as needed. Here is an example factory method, which loads and instantiates the proper class depending on SDK version.

public static VersionedFoo newInstance() {
    final int sdkVersion = Integer.parseInt(Build.VERSION.SDK);
    VersionedFoo foo;
    
    if (sdkVersion &lt; Build.VERSION_CODES.ECLAIR) {
        foo = new CupcakeFoo();
    } else if (sdkVersion &lt; Build.VERSION_CODES.FROYO) {
        foo = new EclairFoo();
    } else {
        foo = new FroyoFoo();
    }

    return foo;
}</description>
		<content:encoded><![CDATA[<p>An alternative to reflection is to use the fact that Java only loads classes as needed. Here is an example factory method, which loads and instantiates the proper class depending on SDK version.</p>
<p>public static VersionedFoo newInstance() {<br />
    final int sdkVersion = Integer.parseInt(Build.VERSION.SDK);<br />
    VersionedFoo foo;</p>
<p>    if (sdkVersion &lt; Build.VERSION_CODES.ECLAIR) {<br />
        foo = new CupcakeFoo();<br />
    } else if (sdkVersion &lt; Build.VERSION_CODES.FROYO) {<br />
        foo = new EclairFoo();<br />
    } else {<br />
        foo = new FroyoFoo();<br />
    }</p>
<p>    return foo;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Mind The Robot » Android Tricks: Multitouch AND 1.5 Support, Same App -- Topsy.com</title>
		<link>http://mindtherobot.com/blog/518/android-tricks-multitouch-and-1-5-support-same-app/comment-page-1/#comment-459</link>
		<dc:creator>Tweets that mention Mind The Robot » Android Tricks: Multitouch AND 1.5 Support, Same App -- Topsy.com</dc:creator>
		<pubDate>Tue, 20 Jul 2010 16:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://mindtherobot.com/blog/?p=518#comment-459</guid>
		<description>[...] This post was mentioned on Twitter by Tech news (BOT), Ivan Memruk. Ivan Memruk said: Android Tricks: Multitouch AND 1.5 Support, Same App http://su.pr/5zcHHK [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Tech news (BOT), Ivan Memruk. Ivan Memruk said: Android Tricks: Multitouch AND 1.5 Support, Same App <a href="http://su.pr/5zcHHK" rel="nofollow">http://su.pr/5zcHHK</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

