<?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 VI</title>
	<atom:link href="http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html</link>
	<description>Rapid android development from Berlin</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:50:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Martin</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2498</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 18 Jan 2012 20:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2498</guid>
		<description>Don&#039;t worry, I removed your email address :)</description>
		<content:encoded><![CDATA[<p>Don&#8217;t worry, I removed your email address <img src='http://www.droidnova.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: letonai</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2496</link>
		<dc:creator>letonai</dc:creator>
		<pubDate>Wed, 18 Jan 2012 20:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2496</guid>
		<description>Hi there.. just thx for tutorial, is very good and working pretty well, thx.</description>
		<content:encoded><![CDATA[<p>Hi there.. just thx for tutorial, is very good and working pretty well, thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2404</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 22 Dec 2011 14:55:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2404</guid>
		<description>Fixed, thanks!</description>
		<content:encoded><![CDATA[<p>Fixed, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andi</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2403</link>
		<dc:creator>andi</dc:creator>
		<pubDate>Thu, 22 Dec 2011 14:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2403</guid>
		<description>Hi there! I found a little mistake in this really wonderful and helpful Tutorial. Thank you for that.
It says:&quot;On ACTION_DOWN we will finally add the temporary bitmap to our ArrayList and null the currentGraphic variable.&quot;
But it should be &quot;On ACTION_UP.....&quot;
Really thanks for the Tutorial!!
Greets Andi</description>
		<content:encoded><![CDATA[<p>Hi there! I found a little mistake in this really wonderful and helpful Tutorial. Thank you for that.<br />
It says:&#8221;On ACTION_DOWN we will finally add the temporary bitmap to our ArrayList and null the currentGraphic variable.&#8221;<br />
But it should be &#8220;On ACTION_UP&#8230;..&#8221;<br />
Really thanks for the Tutorial!!<br />
Greets Andi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shantanu</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2244</link>
		<dc:creator>Shantanu</dc:creator>
		<pubDate>Fri, 16 Sep 2011 05:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2244</guid>
		<description>I am working on a webview..in the webview i am displaying text (i want to show it as an ebook) ..but i am facing problem while flinging thepage..i want to fling the pages such that they appear one after the other AND WANT TO DISABLE THE SCROLLING</description>
		<content:encoded><![CDATA[<p>I am working on a webview..in the webview i am displaying text (i want to show it as an ebook) ..but i am facing problem while flinging thepage..i want to fling the pages such that they appear one after the other AND WANT TO DISABLE THE SCROLLING</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thaw</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2227</link>
		<dc:creator>thaw</dc:creator>
		<pubDate>Tue, 06 Sep 2011 02:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2227</guid>
		<description>Thanks a lot for ur shared app.
But i got error &quot;the application has stopped unexpectedly&quot; ,
while app is runing i press home button,
so, app was exit,
but i got above error when i restart app again.
please help me,</description>
		<content:encoded><![CDATA[<p>Thanks a lot for ur shared app.<br />
But i got error &#8220;the application has stopped unexpectedly&#8221; ,<br />
while app is runing i press home button,<br />
so, app was exit,<br />
but i got above error when i restart app again.<br />
please help me,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meneltour</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-2034</link>
		<dc:creator>Meneltour</dc:creator>
		<pubDate>Tue, 24 May 2011 03:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-2034</guid>
		<description>Aborz try this 
&lt;CODE&gt;
String st = &quot;Score : &quot;;
String st1;
String aString;
Paint paint = new Paint();//too tell ur text how will it look ...google what functions u can use
aString = Integer.toString(count);
st1 = st.concat(aString);
canvas.drawText(st1, 10, 15,paint);
&lt;/CODE&gt;
this is what i use to write a score in the canvas.
btw Martin do u know any more smart way ??</description>
		<content:encoded><![CDATA[<p>Aborz try this<br />
<code><br />
String st = &#8220;Score : &#8220;;<br />
String st1;<br />
String aString;<br />
Paint paint = new Paint();//too tell ur text how will it look &#8230;google what functions u can use<br />
aString = Integer.toString(count);<br />
st1 = st.concat(aString);<br />
canvas.drawText(st1, 10, 15,paint);<br />
</code><br />
this is what i use to write a score in the canvas.<br />
btw Martin do u know any more smart way ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alborz Sedaghat</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-1582</link>
		<dc:creator>Alborz Sedaghat</dc:creator>
		<pubDate>Sun, 09 Jan 2011 20:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-1582</guid>
		<description>Hi Martin,
How should I go about in order to have some &quot;text&quot; on top of this canvas?
(from xml or code)

thanks</description>
		<content:encoded><![CDATA[<p>Hi Martin,<br />
How should I go about in order to have some &#8220;text&#8221; on top of this canvas?<br />
(from xml or code)</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-1581</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Fri, 07 Jan 2011 11:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-1581</guid>
		<description>You should find out why the line 69 throws the null pointer. Do this by try to debug! How to do that can be found here: http://www.droidnova.com/debugging-in-android-using-eclipse,541.html</description>
		<content:encoded><![CDATA[<p>You should find out why the line 69 throws the null pointer. Do this by try to debug! How to do that can be found here: <a href="http://www.droidnova.com/debugging-in-android-using-eclipse,541.html" rel="nofollow">http://www.droidnova.com/debugging-in-android-using-eclipse,541.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alborz</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-vi,209.html/comment-page-1#comment-1579</link>
		<dc:creator>Alborz</dc:creator>
		<pubDate>Fri, 07 Jan 2011 07:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=209#comment-1579</guid>
		<description>UpdatePhysics looks like this: (this method starts at line 65)

        public void updatePhysics() {
            GraphicObject.Coordinates coord;
            GraphicObject.Speed speed;
            for (GraphicObject graphic : _graphics) {
                coord = graphic.getCoordinates();
                speed = graphic.getSpeed();
                
                // Direction
                if (speed.getXDirection() == GraphicObject.Speed.X_DIRECTION_RIGHT) {
                    coord.setX(coord.getX() + speed.getX());
                } else {
                    coord.setX(coord.getX() - speed.getX());
                }
                if (speed.getYDirection() == GraphicObject.Speed.Y_DIRECTION_DOWN) {
                    coord.setY(coord.getY() + speed.getY());                
                } else {
                    coord.setY(coord.getY() - speed.getY());                
                }

            }
        }</description>
		<content:encoded><![CDATA[<p>UpdatePhysics looks like this: (this method starts at line 65)</p>
<p>        public void updatePhysics() {<br />
            GraphicObject.Coordinates coord;<br />
            GraphicObject.Speed speed;<br />
            for (GraphicObject graphic : _graphics) {<br />
                coord = graphic.getCoordinates();<br />
                speed = graphic.getSpeed();</p>
<p>                // Direction<br />
                if (speed.getXDirection() == GraphicObject.Speed.X_DIRECTION_RIGHT) {<br />
                    coord.setX(coord.getX() + speed.getX());<br />
                } else {<br />
                    coord.setX(coord.getX() &#8211; speed.getX());<br />
                }<br />
                if (speed.getYDirection() == GraphicObject.Speed.Y_DIRECTION_DOWN) {<br />
                    coord.setY(coord.getY() + speed.getY());<br />
                } else {<br />
                    coord.setY(coord.getY() &#8211; speed.getY());<br />
                }</p>
<p>            }<br />
        }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

