<?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: Displaying Images with Android</title>
	<atom:link href="http://obviam.net/index.php/displaying-graphics-with-android/feed/" rel="self" type="application/rss+xml" />
	<link>http://obviam.net/index.php/displaying-graphics-with-android/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-graphics-with-android</link>
	<description>Sharing game making with the masses</description>
	<lastBuildDate>Wed, 22 May 2013 19:49:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
	<item>
		<title>By: CSEnginerr13</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-9951</link>
		<dc:creator>CSEnginerr13</dc:creator>
		<pubDate>Wed, 22 May 2013 19:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-9951</guid>
		<description><![CDATA[Hi! I&#039;m having trouble getting this code to run. I have one error, and it is:

In MainThread during the Game Loop

this.gamePanel.onDraw(canvas);

is throwing the error: Suspicious method call; should probably call draw rather than onDraw.

Now... The way I read the code, this method should be calling the onDraw override used in MainGamePanel.java; I have tried suppressing the error, but either way my program exits when it reaches the call (verified through tracing).

Any ideas? :/]]></description>
		<content:encoded><![CDATA[<p>Hi! I&#8217;m having trouble getting this code to run. I have one error, and it is:</p>
<p>In MainThread during the Game Loop</p>
<p>this.gamePanel.onDraw(canvas);</p>
<p>is throwing the error: Suspicious method call; should probably call draw rather than onDraw.</p>
<p>Now&#8230; The way I read the code, this method should be calling the onDraw override used in MainGamePanel.java; I have tried suppressing the error, but either way my program exits when it reaches the call (verified through tracing).</p>
<p>Any ideas? :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-6777</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 05 Mar 2013 10:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-6777</guid>
		<description><![CDATA[Just wondering if the canvas scaling the bitmap results in skewed height and width for bitmaps?]]></description>
		<content:encoded><![CDATA[<p>Just wondering if the canvas scaling the bitmap results in skewed height and width for bitmaps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nguyenhoai</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-6384</link>
		<dc:creator>nguyenhoai</dc:creator>
		<pubDate>Tue, 19 Feb 2013 19:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-6384</guid>
		<description><![CDATA[The article is very good. But i think you better say about the line:
093 return true; //You changed this, but a lots people did not notice. So they cant catch event MOVE and UP (i took for a while to notice this).

Anyways i love your site. 
Thanks.]]></description>
		<content:encoded><![CDATA[<p>The article is very good. But i think you better say about the line:<br />
093 return true; //You changed this, but a lots people did not notice. So they cant catch event MOVE and UP (i took for a while to notice this).</p>
<p>Anyways i love your site.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mete</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-3736</link>
		<dc:creator>Mete</dc:creator>
		<pubDate>Wed, 12 Dec 2012 01:05:51 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-3736</guid>
		<description><![CDATA[Great tutorial! Very useful to me, thanks :)]]></description>
		<content:encoded><![CDATA[<p>Great tutorial! Very useful to me, thanks <img src='http://obviam.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-3204</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 26 Nov 2012 12:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-3204</guid>
		<description><![CDATA[Where does he indicate which activity it will be created on. I have several activities as a result of a menu before the game, so if i wanna create the game in a specific activity, where do i indicate that?]]></description>
		<content:encoded><![CDATA[<p>Where does he indicate which activity it will be created on. I have several activities as a result of a menu before the game, so if i wanna create the game in a specific activity, where do i indicate that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikola Velimirovic</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-1764</link>
		<dc:creator>Nikola Velimirovic</dc:creator>
		<pubDate>Sat, 06 Oct 2012 16:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-1764</guid>
		<description><![CDATA[You have bad logic :D issue in next portion of code:

public void handleActionDown(int eventX, int eventY) {
		if (eventX &gt;= (x - bitmap.getWidth() / 2) &amp;&amp; (eventX = (y - bitmap.getHeight() / 2) &amp;&amp; (y = x &amp;&amp; (eventX = y &amp;&amp; (eventY &lt;= (y + bitmap.getHeight()))) {
				// droid touched
				setTouched(true);
			} else {
				setTouched(false);
			}
		} else {
			setTouched(false);
		}

	}

because bitmap of a droid start from top left corner (0,0) to (width,height). Otherwise great tutorial! :)]]></description>
		<content:encoded><![CDATA[<p>You have bad logic <img src='http://obviam.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  issue in next portion of code:</p>
<p>public void handleActionDown(int eventX, int eventY) {<br />
		if (eventX &gt;= (x &#8211; bitmap.getWidth() / 2) &amp;&amp; (eventX = (y &#8211; bitmap.getHeight() / 2) &amp;&amp; (y = x &amp;&amp; (eventX = y &amp;&amp; (eventY &lt;= (y + bitmap.getHeight()))) {<br />
				// droid touched<br />
				setTouched(true);<br />
			} else {<br />
				setTouched(false);<br />
			}<br />
		} else {<br />
			setTouched(false);<br />
		}</p>
<p>	}</p>
<p>because bitmap of a droid start from top left corner (0,0) to (width,height). Otherwise great tutorial! <img src='http://obviam.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adil</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-1209</link>
		<dc:creator>Adil</dc:creator>
		<pubDate>Mon, 09 Jul 2012 18:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-1209</guid>
		<description><![CDATA[Same problem for me. Down events only being detected, not up or move events...]]></description>
		<content:encoded><![CDATA[<p>Same problem for me. Down events only being detected, not up or move events&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeth</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-1206</link>
		<dc:creator>Jeth</dc:creator>
		<pubDate>Sun, 08 Jul 2012 17:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-1206</guid>
		<description><![CDATA[Hey, excellent tutorial really helped me. How about limiting the movement of the object let&#039;s say just left and right only? Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hey, excellent tutorial really helped me. How about limiting the movement of the object let&#8217;s say just left and right only? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amer</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-1176</link>
		<dc:creator>Amer</dc:creator>
		<pubDate>Wed, 13 Jun 2012 19:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-1176</guid>
		<description><![CDATA[Adding my thanks too. Excellent tutorials.]]></description>
		<content:encoded><![CDATA[<p>Adding my thanks too. Excellent tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mang0es</title>
		<link>http://obviam.net/index.php/displaying-graphics-with-android/comment-page-1/#comment-952</link>
		<dc:creator>mang0es</dc:creator>
		<pubDate>Thu, 05 Apr 2012 04:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://obviam.net/?p=251#comment-952</guid>
		<description><![CDATA[Thanks for sharing the code!

I am trying to use a grid system as a background for this app.  However, when I placed the image file of the grid system (png) in the main.xml, the onDraw in MainGamePanel overrides the background.  When I replaced &quot;TRANSPARENT&quot; with &quot;BLACK&quot;, it shows the entire path of the image&#039;s movement across the screen.  How do I have the grid system show on the app?]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing the code!</p>
<p>I am trying to use a grid system as a background for this app.  However, when I placed the image file of the grid system (png) in the main.xml, the onDraw in MainGamePanel overrides the background.  When I replaced &#8220;TRANSPARENT&#8221; with &#8220;BLACK&#8221;, it shows the entire path of the image&#8217;s movement across the screen.  How do I have the grid system show on the app?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
