<?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: Playing with graphics in Android &#8211; Part IV</title>
	<atom:link href="http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html</link>
	<description>Rapid android development from Berlin</description>
	<lastBuildDate>Wed, 10 Mar 2010 17:57:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Shankar</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-896</link>
		<dc:creator>Shankar</dc:creator>
		<pubDate>Tue, 23 Feb 2010 08:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-896</guid>
		<description>Hi Good Tutorial,

I have a doubt in Bitmap. I want to use different 10 Bitmaps,here which the way to use that Bitmaps.

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi Good Tutorial,</p>
<p>I have a doubt in Bitmap. I want to use different 10 Bitmaps,here which the way to use that Bitmaps.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cykan</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-876</link>
		<dc:creator>cykan</dc:creator>
		<pubDate>Wed, 10 Feb 2010 15:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-876</guid>
		<description>Again, great tutorial!</description>
		<content:encoded><![CDATA[<p>Again, great tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-844</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sun, 31 Jan 2010 14:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-844</guid>
		<description>Well, I wanted to make it the right way. The game loop of a game will do more than just the redrawing. So to introduce it correctly from the beginning, I used the thread.

Later the thread will handle update of physics or game logic.</description>
		<content:encoded><![CDATA[<p>Well, I wanted to make it the right way. The game loop of a game will do more than just the redrawing. So to introduce it correctly from the beginning, I used the thread.</p>
<p>Later the thread will handle update of physics or game logic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-842</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Sun, 31 Jan 2010 14:11:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-842</guid>
		<description>Hello,

    Nice tutorial you have and I&#039;ve been following you since the start of this tutorial...Just now I have question which was just raised by one of the comment above. Why should we used or create another Thread which we called TutorialThread? Is using postInvalidate() inside the onTouchEvent() function to tell the Panel to redraw is not good?  Just now I haved tried using postInvalidate() in redrawing the Panel without using Threads and it works the same but I just need any information maybe using Threads is more ok or lets just say the proper way around...if it is whats the advantage using threads in this scenario?

Thank you so much...Nice post.

-Brian</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>    Nice tutorial you have and I&#8217;ve been following you since the start of this tutorial&#8230;Just now I have question which was just raised by one of the comment above. Why should we used or create another Thread which we called TutorialThread? Is using postInvalidate() inside the onTouchEvent() function to tell the Panel to redraw is not good?  Just now I haved tried using postInvalidate() in redrawing the Panel without using Threads and it works the same but I just need any information maybe using Threads is more ok or lets just say the proper way around&#8230;if it is whats the advantage using threads in this scenario?</p>
<p>Thank you so much&#8230;Nice post.</p>
<p>-Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krebchak</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-753</link>
		<dc:creator>krebchak</dc:creator>
		<pubDate>Wed, 06 Jan 2010 16:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-753</guid>
		<description>Great tutorial...one thing i noticed is the lack of good tutorials for android develoment.  Glad you took the time.  

Do you know how instead of handling a touch event you could move the bitmap by listening for SensorEvent?   I have accomplished this with out any problems just using a view..but when i switch it to SurfaceView i am running into problems. 

Thanks.</description>
		<content:encoded><![CDATA[<p>Great tutorial&#8230;one thing i noticed is the lack of good tutorials for android develoment.  Glad you took the time.  </p>
<p>Do you know how instead of handling a touch event you could move the bitmap by listening for SensorEvent?   I have accomplished this with out any problems just using a view..but when i switch it to SurfaceView i am running into problems. </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dg</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-662</link>
		<dc:creator>dg</dc:creator>
		<pubDate>Sat, 12 Dec 2009 01:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-662</guid>
		<description>it&#039;s clear 
thank you</description>
		<content:encoded><![CDATA[<p>it&#8217;s clear<br />
thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-656</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 10 Dec 2009 10:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-656</guid>
		<description>The SurfaceView is simply the way you should do 2D drawing.
A normal View is more for layouts you can do with by xml.</description>
		<content:encoded><![CDATA[<p>The SurfaceView is simply the way you should do 2D drawing.<br />
A normal View is more for layouts you can do with by xml.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dg</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-651</link>
		<dc:creator>dg</dc:creator>
		<pubDate>Wed, 09 Dec 2009 03:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-651</guid>
		<description>thanks a lot
 but a question:
    why  u use  a thread(TutorialThread  invoke ondraw() ) to
 repaint the View instead of

invalidate() ?

and i&#039;m not familar with SurfaceView ,
is there any advantage than View ?

thank you</description>
		<content:encoded><![CDATA[<p>thanks a lot<br />
 but a question:<br />
    why  u use  a thread(TutorialThread  invoke ondraw() ) to<br />
 repaint the View instead of</p>
<p>invalidate() ?</p>
<p>and i&#8217;m not familar with SurfaceView ,<br />
is there any advantage than View ?</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-270</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 07 Sep 2009 04:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-270</guid>
		<description>There are two possible solutions:
1. Simply remove the @Override annotations
2. (the better solution) update your java sdk to version 1.6</description>
		<content:encoded><![CDATA[<p>There are two possible solutions:<br />
1. Simply remove the @Override annotations<br />
2. (the better solution) update your java sdk to version 1.6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-1#comment-269</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Sun, 06 Sep 2009 22:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-269</guid>
		<description>I get the following compile errors. Did I do something wrong?

The method surfaceCreated(SurfaceHolder) of type HelloAndroid.Panel must override a superclass method	

The method surfaceDestroyed(SurfaceHolder) of type HelloAndroid.Panel must override a superclass method	

The method surfaceChanged(SurfaceHolder, int, int, int) of type HelloAndroid.Panel must override a superclass method</description>
		<content:encoded><![CDATA[<p>I get the following compile errors. Did I do something wrong?</p>
<p>The method surfaceCreated(SurfaceHolder) of type HelloAndroid.Panel must override a superclass method	</p>
<p>The method surfaceDestroyed(SurfaceHolder) of type HelloAndroid.Panel must override a superclass method	</p>
<p>The method surfaceChanged(SurfaceHolder, int, int, int) of type HelloAndroid.Panel must override a superclass method</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->