<?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: Writing an Android Widget: What the docs don&#039;t tell you</title>
	<atom:link href="http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/</link>
	<description>Contributing back to the Google Index.</description>
	<lastBuildDate>Wed, 11 Aug 2010 13:02:07 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-1362</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 11 Aug 2010 13:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-1362</guid>
		<description>I would assume that most of the problems listed here have been fixed in 2.2, though I&#039;m not sure why the processes keep restarting on your phone. Having a look at the logcat output may provide some indication as to what is going on (you ideally would install the Android SDK on your computer to analyze logcat; while you can do so on the phone, it isn&#039;t particularly comfortable).

You could also try reinstalling the apps, and not ever trying the widgets this time around, and seeing if that makes a difference.

You may also be interested in my app &quot;Autostarts&quot;, which should allow you to disable the widgets, while keeping the rest of the apps installed and functional. It requires root though.</description>
		<content:encoded><![CDATA[<p>I would assume that most of the problems listed here have been fixed in 2.2, though I'm not sure why the processes keep restarting on your phone. Having a look at the logcat output may provide some indication as to what is going on (you ideally would install the Android SDK on your computer to analyze logcat; while you can do so on the phone, it isn't particularly comfortable).</p>
<p>You could also try reinstalling the apps, and not ever trying the widgets this time around, and seeing if that makes a difference.</p>
<p>You may also be interested in my app "Autostarts", which should allow you to disable the widgets, while keeping the rest of the apps installed and functional. It requires root though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raven</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-1361</link>
		<dc:creator>Raven</dc:creator>
		<pubDate>Wed, 11 Aug 2010 05:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-1361</guid>
		<description>I found your blog looking for a solution to a problem I have recently discovered on my Froyo 2.2 Droid 1.  I am not an Android developer (yet) but I do know Linux and Java.  I use Task Panel to watch what is running on my phone and I have noticed that I now have 3 processes that continuously restart on my phone.  They are all related to 3 different widgets that I have tried out at one time, but I have removed from my desktop.  But even though they are no longer there, the processes continue to restart.  Are widgets registered somewhere and these did not get properly removed?  Is there some way I can manually remove this registration short of removing the app associated with it because they are all still apps that I want, I just do not want them running all of the time.  The apps/widgets in question are Google News and Weather, Meridian, and Slacker.
Thanks for any advice.</description>
		<content:encoded><![CDATA[<p>I found your blog looking for a solution to a problem I have recently discovered on my Froyo 2.2 Droid 1.  I am not an Android developer (yet) but I do know Linux and Java.  I use Task Panel to watch what is running on my phone and I have noticed that I now have 3 processes that continuously restart on my phone.  They are all related to 3 different widgets that I have tried out at one time, but I have removed from my desktop.  But even though they are no longer there, the processes continue to restart.  Are widgets registered somewhere and these did not get properly removed?  Is there some way I can manually remove this registration short of removing the app associated with it because they are all still apps that I want, I just do not want them running all of the time.  The apps/widgets in question are Google News and Weather, Meridian, and Slacker.<br />
Thanks for any advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cellurl</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-1283</link>
		<dc:creator>cellurl</dc:creator>
		<pubDate>Mon, 07 Jun 2010 00:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-1283</guid>
		<description>Do you know how to update a widget using broadcast(Intent) from a different, entirely separate app? I sure could use a code sample! 

Thanks for your post!</description>
		<content:encoded><![CDATA[<p>Do you know how to update a widget using broadcast(Intent) from a different, entirely separate app? I sure could use a code sample! </p>
<p>Thanks for your post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Androidhk.com&#187; Blog Archive &#187; Android Widget Bugs (-.-)</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-655</link>
		<dc:creator>Androidhk.com&#187; Blog Archive &#187; Android Widget Bugs (-.-)</dc:creator>
		<pubDate>Tue, 13 Oct 2009 10:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-655</guid>
		<description>[...] 整理的Widget Bug List.       This entry was written by bitartist and posted on 十月 13, 2009 at 6:37 下午 and filed [...]</description>
		<content:encoded><![CDATA[<p>[...] 整理的Widget Bug List.       This entry was written by bitartist and posted on 十月 13, 2009 at 6:37 下午 and filed [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-646</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 28 Sep 2009 11:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-646</guid>
		<description>Nice blog. These are absolutely things to look out for when writing AppWidgets!

But, the fact that you have to spawn threads when using a service is something that the documentation DOES tells you:

&quot;Like activities and the other components, services run in the main thread of the application process. So that they won&#039;t block other components or the user interface, they often spawn another thread for time-consuming tasks (like music playback).&quot; (http://developer.android.com/guide/topics/fundamentals.html)

Also, the onDelete() bug is in the documentation:

&quot;Note: In Android 1.5, there is a known issue in which the onDeleted() method will not be called when it should be. To work around this issue, you can implement onReceive() as described in this Group post to receive the onDeleted() callback.&quot;
(http://developer.android.com/guide/topics/appwidgets/index.html)

Just for the record ;)</description>
		<content:encoded><![CDATA[<p>Nice blog. These are absolutely things to look out for when writing AppWidgets!</p>
<p>But, the fact that you have to spawn threads when using a service is something that the documentation DOES tells you:</p>
<p>"Like activities and the other components, services run in the main thread of the application process. So that they won't block other components or the user interface, they often spawn another thread for time-consuming tasks (like music playback)." (<a href="http://developer.android.com/guide/topics/fundamentals.html" rel="nofollow">http://developer.android.com/guide/topics/fundamentals.html</a>)</p>
<p>Also, the onDelete() bug is in the documentation:</p>
<p>"Note: In Android 1.5, there is a known issue in which the onDeleted() method will not be called when it should be. To work around this issue, you can implement onReceive() as described in this Group post to receive the onDeleted() callback."<br />
(<a href="http://developer.android.com/guide/topics/appwidgets/index.html" rel="nofollow">http://developer.android.com/guide/topics/appwidgets/index.html</a>)</p>
<p>Just for the record <img src='http://blog.elsdoerfer.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilder Prozess ? - Android-Hilfe.de</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-622</link>
		<dc:creator>Wilder Prozess ? - Android-Hilfe.de</dc:creator>
		<pubDate>Sat, 18 Jul 2009 20:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-622</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brindy</title>
		<link>http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/comment-page-1/#comment-610</link>
		<dc:creator>Brindy</dc:creator>
		<pubDate>Tue, 23 Jun 2009 13:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.elsdoerfer.name/2009/06/03/writing-an-android-widget-what-the-docs-dont-tell-you/#comment-610</guid>
		<description>Useful information.  Thanks.</description>
		<content:encoded><![CDATA[<p>Useful information.  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
