<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Android &#8211; Hakans Random Ramblings</title>
	<atom:link href="https://blog.gurkensalat.com/tag/android/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.gurkensalat.com</link>
	<description>Some things I&#039;d like to talk about</description>
	<lastBuildDate>Tue, 04 Oct 2011 18:15:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.3</generator>
<site xmlns="com-wordpress:feed-additions:1">25642142</site>	<item>
		<title>RoboGuice &#8211; Pitfall &#8211; RuntimeException on Activities</title>
		<link>https://blog.gurkensalat.com/2011/10/04/roboguice-pitfall-android-name/</link>
					<comments>https://blog.gurkensalat.com/2011/10/04/roboguice-pitfall-android-name/#comments</comments>
		
		<dc:creator><![CDATA[hakan]]></dc:creator>
		<pubDate>Tue, 04 Oct 2011 18:15:35 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[Development]]></category>
		<guid isPermaLink="false">http://blog.gurkensalat.com/?p=474</guid>

					<description><![CDATA[Last weekend, I started developing a application to sync OpenStreetMap contacts into my Android devices. Wanting to avoid boilerplate code, and to experiment a little with Dependency Injection in Android, i based my work on RoboGuice. I think I followed all the example code, but my activities would simply crash with a RuntimeException on startup. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Last weekend, I started developing a application to sync <a title="OpenStreetMap" href="http://www.openstreetmap.org/" target="_blank" rel="noopener noreferrer">OpenStreetMap</a> contacts into my <a title="Android" href="https://blog.gurkensalat.com/tag/android" target="_blank" rel="noopener noreferrer">Android</a> devices.</p>
<p>Wanting to avoid boilerplate code, and to experiment a little with Dependency Injection in Android, i based my work on <a title="RoboGuice" href="http://code.google.com/p/roboguice/" target="_blank" rel="noopener noreferrer">RoboGuice</a>. I think I followed all the example code, but my activities would simply crash with a RuntimeException on startup.</p>
<p>Since finding the root cause of this problem was not as trivial as I wished it to be, I decided to write this up as an article for myself and of course for all the other Android developers out there who don’t want to waste time hunting this issue when they could be gold-plating their apps <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>To cut to the core of the problem: If your activity is throwing this:</p>
<p><code><br />
E/AndroidRuntime( 246): Uncaught handler: thread main exiting due to uncaught exception<br />
E/AndroidRuntime( 246): java.lang.RuntimeException: Unable to start activity<br />
ComponentInfo{com.gurkensalat.osm.osmsync/com.gurkensalat.osm.osmsync.HelloAndroidActivity}: java.lang.ClassCastException: android.app.Application<br />
E/AndroidRuntime( 246): at<br />
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)<br />
...<br />
</code></p>
<p>maybe you need to declare your actual application class type in AndroidManifest.xml:</p>
<p><code><br />
&lt;application android:icon="@drawable/icon"<br />
android:label="@string/app_name"<br />
android:name="roboguice.application.RoboApplication"&gt;<br />
...<br />
&lt;/application&gt;<br />
</code></p>
		<div id="maps-marker-pro-be1d58c4" class="maps-marker-pro mmp-list-below" style="width: 640px;">
			<div id="mmp-map-wrap-be1d58c4" class="mmp-map-wrap">
									<div id="mmp-panel-be1d58c4" class="mmp-panel"></div>
								<div id="mmp-map-be1d58c4" class="mmp-map" style="height: 480px;"></div>
							</div>
							<div id="mmp-list-be1d58c4" class="mmp-list" style="flex-basis: 400px;"></div>
					</div>
		
]]></content:encoded>
					
					<wfw:commentRss>https://blog.gurkensalat.com/2011/10/04/roboguice-pitfall-android-name/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">474</post-id>	</item>
		<item>
		<title>All-New Nook &#8211; Reader with eInk display running Android</title>
		<link>https://blog.gurkensalat.com/2011/07/26/nook-second-generation/</link>
					<comments>https://blog.gurkensalat.com/2011/07/26/nook-second-generation/#respond</comments>
		
		<dc:creator><![CDATA[hakan]]></dc:creator>
		<pubDate>Tue, 26 Jul 2011 16:42:49 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[EBooks]]></category>
		<category><![CDATA[Aldiko]]></category>
		<guid isPermaLink="false">http://blog.gurkensalat.com/?p=422</guid>

					<description><![CDATA[Using my Desire and S II to read books on lunch breaks can become pretty addictive 🙂 The only bad thing is that reading on an eInk display can become pretty addictive as well, but my previous readers had either no wireless capability or an useless operating system. So, one day while reading through my [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Using my <a title="The Android is landed" href="https://blog.gurkensalat.com/2010/04/the-android-is-landed">Desire</a> and <a title="Samsung Galaxy S II – I want to read the display in the sun as well" href="https://blog.gurkensalat.com/2011/05/samsung-galaxy-s-ii">S II</a> to read <a title="Tag - EBooks" href="https://blog.gurkensalat.com/tag/ebooks">books</a> on lunch breaks can become pretty addictive <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The only bad thing is that reading on an eInk display can become pretty addictive as well, but my previous readers had either no wireless capability or an useless operating system.</p>
<p>So, one day while reading through my blogs, suddenly I stumbled on this little wonder device&#8230; smallish form factor, <a title="Tag - Android" href="https://blog.gurkensalat.com/tag/android">useful operating</a> system and an eInk display&#8230; I was hooked from the first day on <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Actually ordering this thing and getting it to germany was a little adventure in itself, but in the end, I have a reader that is very close to my dream device&#8230; Now, if only <a title="Tag - Aldiko" href="https://blog.gurkensalat.com/tag/aldiko">Aldiko</a> could synchronize its bookmarks between devices <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
<p><a href="https://blog.gurkensalat.com/2011/07/nook-second-generation/nook-second-generation" rel="attachment wp-att-437"><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-437" title="Nook Second generation" src="https://blog.gurkensalat.com/wp-content/uploads/nook-second-generation.jpg" alt="" width="480" height="480" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.gurkensalat.com/2011/07/26/nook-second-generation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">422</post-id>	</item>
		<item>
		<title>Samsung Galaxy S II &#8211; I want to read the display in the sun as well</title>
		<link>https://blog.gurkensalat.com/2011/05/18/samsung-galaxy-s-ii/</link>
					<comments>https://blog.gurkensalat.com/2011/05/18/samsung-galaxy-s-ii/#respond</comments>
		
		<dc:creator><![CDATA[hakan]]></dc:creator>
		<pubDate>Wed, 18 May 2011 16:33:57 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[EBooks]]></category>
		<category><![CDATA[Geocaching]]></category>
		<guid isPermaLink="false">http://blog.gurkensalat.com/?p=419</guid>

					<description><![CDATA[For a very long time, I was satisfied with my HTC Desire&#8230; O.k., having to empty my email inbox every few days because the internal memory was way too little sucked. And installing a custom rom just so I could have a slightly more usable app2sd sucket a little bit more. But what really broke [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>For a very long time, I was satisfied with my <a title="The Android is landed" href="https://blog.gurkensalat.com/2010/04/the-android-is-landed">HTC Desire</a>&#8230;</p>
<p>O.k., having to empty my email inbox every few days because the internal memory was way too little sucked. And installing a custom rom just so I could have a slightly more usable app2sd sucket a little bit more. But what really broke the camel&#8217;s back was the poor visibility of the display in the sun. Which meant that I could not read any ebooks while relaxing after lunch or go to a quick geocaching hunt just as the fancy hit me.</p>
<p>So, without futher ado, since many many other people already wrote everything necessary about this cool device, here is my second android device:</p>
<p>&nbsp;</p>
<p><a href="https://blog.gurkensalat.com/2011/05/samsung-galaxy-s-ii/samsung_galaxy_sii-2" rel="attachment wp-att-440"><img decoding="async" class="alignleft size-full wp-image-440" title="Samsung Galaxy S II" src="https://blog.gurkensalat.com/wp-content/uploads/samsung_galaxy_sII1.jpg" alt="" width="511" height="399" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.gurkensalat.com/2011/05/18/samsung-galaxy-s-ii/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">419</post-id>	</item>
		<item>
		<title>The Android is landed</title>
		<link>https://blog.gurkensalat.com/2010/04/16/the-android-is-landed/</link>
					<comments>https://blog.gurkensalat.com/2010/04/16/the-android-is-landed/#respond</comments>
		
		<dc:creator><![CDATA[hakan]]></dc:creator>
		<pubDate>Fri, 16 Apr 2010 09:41:23 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<guid isPermaLink="false">http://www.gurkensalat.com/blog/?p=392</guid>

					<description><![CDATA[After long last, the german parcel service brought me my HTC Desire, the first Android device in the house 🙂]]></description>
										<content:encoded><![CDATA[<p>After long last, the german parcel service brought me my HTC Desire, the first Android device in the house <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><a href="/wp-content/uploads/2010/04/qita_5.jpg"><img decoding="async" class="size-full wp-image-393 alignleft" title="HTC Desire" src="/wp-content/uploads/2010/04/qita_5.jpg" alt="" width="200" height="200" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.gurkensalat.com/2010/04/16/the-android-is-landed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">392</post-id>	</item>
	</channel>
</rss>
