<?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: Episode #8 &#8211; The Alert Dialog</title>
	<atom:link href="http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/</link>
	<description>Video Tutorials for Google Android Development</description>
	<lastBuildDate>Tue, 07 Jun 2011 14:57:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nishant</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-455</link>
		<dc:creator>Nishant</dc:creator>
		<pubDate>Tue, 17 May 2011 19:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-455</guid>
		<description>pls launch ur next video on databases soon</description>
		<content:encoded><![CDATA[<p>pls launch ur next video on databases soon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uvok</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-362</link>
		<dc:creator>uvok</dc:creator>
		<pubDate>Mon, 31 Jan 2011 12:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-362</guid>
		<description>Just wondering:
in the DialogInterface.OnClickListener of the positive button you don&#039;t call dialog.cancel(),
but in the DialogInterface.OnClickListener of the negative button, you do.

So I guess the dialog.cancel() isn&#039;t really neccessary? (Tried it out myself, empty onClickListener also closes the dialog)</description>
		<content:encoded><![CDATA[<p>Just wondering:<br />
in the DialogInterface.OnClickListener of the positive button you don&#8217;t call dialog.cancel(),<br />
but in the DialogInterface.OnClickListener of the negative button, you do.</p>
<p>So I guess the dialog.cancel() isn&#8217;t really neccessary? (Tried it out myself, empty onClickListener also closes the dialog)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razouille</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-243</link>
		<dc:creator>Razouille</dc:creator>
		<pubDate>Fri, 27 Aug 2010 13:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-243</guid>
		<description>Stupid me :)
Forgive my previous message it was because I called my Activity AlertDialog :)</description>
		<content:encoded><![CDATA[<p>Stupid me :)<br />
Forgive my previous message it was because I called my Activity AlertDialog :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razouille</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-242</link>
		<dc:creator>Razouille</dc:creator>
		<pubDate>Fri, 27 Aug 2010 12:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-242</guid>
		<description>I agree with siddharth thiere is a problem when you try to import android.app.AlertDialog as an AlertDialog seems to be in conflic with a  type defined in the same file.
So what I did to make it work I used the full package name for declarign the vaiables builder and alert:
android.app.AlertDialog.Builder builder;
android.app.AlertDialog alert;</description>
		<content:encoded><![CDATA[<p>I agree with siddharth thiere is a problem when you try to import android.app.AlertDialog as an AlertDialog seems to be in conflic with a  type defined in the same file.<br />
So what I did to make it work I used the full package name for declarign the vaiables builder and alert:<br />
android.app.AlertDialog.Builder builder;<br />
android.app.AlertDialog alert;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razouille</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-241</link>
		<dc:creator>Razouille</dc:creator>
		<pubDate>Fri, 27 Aug 2010 12:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-241</guid>
		<description>A comment which does not concern the great tutorial (as the others) but the pub at the beging of the video.
I clicked on it and got an error:
Error 500 Error: Not a valid request -- invalid checksum
The link is:
http://ad.doubleclick.net/clk;227964789;41829424;e
Clicking on the ads is the least we can do to thank you for this tutorials so i hope you&#039;ll fix it. Keep on the great job!</description>
		<content:encoded><![CDATA[<p>A comment which does not concern the great tutorial (as the others) but the pub at the beging of the video.<br />
I clicked on it and got an error:<br />
Error 500 Error: Not a valid request &#8212; invalid checksum<br />
The link is:<br />
<a href="http://ad.doubleclick.net/clk;227964789;41829424;e">http://ad.doubleclick.net/clk;227964789;41829424;e</a><br />
Clicking on the ads is the least we can do to thank you for this tutorials so i hope you&#8217;ll fix it. Keep on the great job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias Reisch</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-168</link>
		<dc:creator>Mathias Reisch</dc:creator>
		<pubDate>Fri, 04 Jun 2010 20:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-168</guid>
		<description>Hey Hicham,

I&#039;m happy to hear that you like the tutorials. Regarding your question: Whenever you rotate your phone you change your current device configuration and thus the currently running activity calls its onDestroy() method and then recreates itself by calling its onCreate() method again. However, you can store your application state before the activity gets destroyed and restore it when it gets recreated.

The official Android SDK Development Guide actually features a very nice article about that topic. Check it out for yourself: &lt;a href=&quot;http://developer.android.com/guide/topics/resources/runtime-changes.html&quot; target=&quot;_blank&quot;&gt;Runtime Changes&lt;/a&gt;

Also, you might want to take a look at the activity lifecycle, i.e. which methods get called during the lifespan of an activity. You can find that here: &lt;a href=&quot;http://developer.android.com/guide/topics/fundamentals.html#actlife&quot; target=&quot;_blank&quot;&gt;Activity Lifecycle&lt;/a&gt;

I&#039;m pretty confident that those articles will answer all your questions.</description>
		<content:encoded><![CDATA[<p>Hey Hicham,</p>
<p>I&#8217;m happy to hear that you like the tutorials. Regarding your question: Whenever you rotate your phone you change your current device configuration and thus the currently running activity calls its onDestroy() method and then recreates itself by calling its onCreate() method again. However, you can store your application state before the activity gets destroyed and restore it when it gets recreated.</p>
<p>The official Android SDK Development Guide actually features a very nice article about that topic. Check it out for yourself: <a href="http://developer.android.com/guide/topics/resources/runtime-changes.html" target="_blank">Runtime Changes</a></p>
<p>Also, you might want to take a look at the activity lifecycle, i.e. which methods get called during the lifespan of an activity. You can find that here: <a href="http://developer.android.com/guide/topics/fundamentals.html#actlife" target="_blank">Activity Lifecycle</a></p>
<p>I&#8217;m pretty confident that those articles will answer all your questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hicham</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-167</link>
		<dc:creator>Hicham</dc:creator>
		<pubDate>Fri, 04 Jun 2010 19:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-167</guid>
		<description>Hi Mathias,

First let me tell I am really enjoying your tutorials and I am looking forward to complete them..
I have noticed that when you change the the screen layout from landscape to portrait mode (The opposite way is true too) the App loses its state? why is that and what is the resolution?

Thank  you</description>
		<content:encoded><![CDATA[<p>Hi Mathias,</p>
<p>First let me tell I am really enjoying your tutorials and I am looking forward to complete them..<br />
I have noticed that when you change the the screen layout from landscape to portrait mode (The opposite way is true too) the App loses its state? why is that and what is the resolution?</p>
<p>Thank  you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Innovate</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-138</link>
		<dc:creator>Innovate</dc:creator>
		<pubDate>Tue, 04 May 2010 22:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-138</guid>
		<description>How to add  DinlogInterface to the buttons of the customised Alert Dialog Box</description>
		<content:encoded><![CDATA[<p>How to add  DinlogInterface to the buttons of the customised Alert Dialog Box</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siddharth</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-132</link>
		<dc:creator>Siddharth</dc:creator>
		<pubDate>Mon, 03 May 2010 04:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-132</guid>
		<description>Hey Mathias,

Yes sir. I tried to import the android.app.AlertDialog.

However, it still doesnt seem to like it.

I will however try the entire tutorial in 1.6 to see if its a problem with the 2.1 or the system as a whole.

FYI: I am using Motodev Studio.

Will post as soon as its done.

Cheers....</description>
		<content:encoded><![CDATA[<p>Hey Mathias,</p>
<p>Yes sir. I tried to import the android.app.AlertDialog.</p>
<p>However, it still doesnt seem to like it.</p>
<p>I will however try the entire tutorial in 1.6 to see if its a problem with the 2.1 or the system as a whole.</p>
<p>FYI: I am using Motodev Studio.</p>
<p>Will post as soon as its done.</p>
<p>Cheers&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias Reisch</title>
		<link>http://www.xtensivearts.com/2009/09/01/episode-8-the-alert-dialog/comment-page-1/#comment-131</link>
		<dc:creator>Mathias Reisch</dc:creator>
		<pubDate>Sun, 02 May 2010 18:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtensivearts.com/?p=114#comment-131</guid>
		<description>Hi Siddharth,

there shouldn&#039;t be any problem with Android 2.1 and the AlertDialog. Have you actually imported the class into your project via import android.app.AlertDialog;?</description>
		<content:encoded><![CDATA[<p>Hi Siddharth,</p>
<p>there shouldn&#8217;t be any problem with Android 2.1 and the AlertDialog. Have you actually imported the class into your project via import android.app.AlertDialog;?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

