<?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>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: Pj</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2456</link>
		<dc:creator>Pj</dc:creator>
		<pubDate>Mon, 09 Jan 2012 10:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2456</guid>
		<description>Hi, Thanks for this tutorial. It has been quite helpful. I am developing an application which requires me to apply pinch-zoom and zoom-pan features to my custom view having several bitmap images. In your code you are adding more images when a user ouches the screen. But in my application, I am using another class which extends Activity and in this class, I  decide how many more images should be added to the view and at what co-ordinates. But I don&#039;t know how to pass this information from my main activity to the Custom view class. Can you help?

One more question, if I want to take some action when a user clicks or touches an image(something like OnClickListener), how can I do that?</description>
		<content:encoded><![CDATA[<p>Hi, Thanks for this tutorial. It has been quite helpful. I am developing an application which requires me to apply pinch-zoom and zoom-pan features to my custom view having several bitmap images. In your code you are adding more images when a user ouches the screen. But in my application, I am using another class which extends Activity and in this class, I  decide how many more images should be added to the view and at what co-ordinates. But I don&#8217;t know how to pass this information from my main activity to the Custom view class. Can you help?</p>
<p>One more question, if I want to take some action when a user clicks or touches an image(something like OnClickListener), how can I do that?</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-2#comment-2440</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 05 Jan 2012 10:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2440</guid>
		<description>Yes, the thread runs even when nothing new happens. Not the best solution, but at the point of writing this tutorial, I wasn&#039;t aware of a solution for a &quot;draw on demand&quot;.</description>
		<content:encoded><![CDATA[<p>Yes, the thread runs even when nothing new happens. Not the best solution, but at the point of writing this tutorial, I wasn&#8217;t aware of a solution for a &#8220;draw on demand&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan D</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2438</link>
		<dc:creator>Dan D</dc:creator>
		<pubDate>Thu, 05 Jan 2012 08:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2438</guid>
		<description>Quick question... After you have added a new graphic object to the list, what causes the thread to run thru the list and add the newly created graphic? Is the thread just continually running and redrawing over the old graphics even if I havent added a new one by clicking on the screen?</description>
		<content:encoded><![CDATA[<p>Quick question&#8230; After you have added a new graphic object to the list, what causes the thread to run thru the list and add the newly created graphic? Is the thread just continually running and redrawing over the old graphics even if I havent added a new one by clicking on the screen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yerac</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2268</link>
		<dc:creator>Yerac</dc:creator>
		<pubDate>Mon, 26 Sep 2011 14:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2268</guid>
		<description>Thanks for fast replay. I have manage to draw on my ImageView making a bitmap from that image, than Canvas and draw on that canvas but problem is that i then get just my image and a drawing on screen. I want my currently layout to be permanent and to draw on images. My layout consist of 2 ImageView, some bar and few other stuffs.</description>
		<content:encoded><![CDATA[<p>Thanks for fast replay. I have manage to draw on my ImageView making a bitmap from that image, than Canvas and draw on that canvas but problem is that i then get just my image and a drawing on screen. I want my currently layout to be permanent and to draw on images. My layout consist of 2 ImageView, some bar and few other stuffs.</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-2#comment-2265</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 26 Sep 2011 08:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2265</guid>
		<description>You can only draw on the ImageView in two ways:

1. Draw on the bitmap you load in the ImageView
2. Modify the draw() method of the ImageView. That also means that you need to extend the ImageView class.

Afaik these questions are already answered on stackoverflow.com. You should search there for some solutions.</description>
		<content:encoded><![CDATA[<p>You can only draw on the ImageView in two ways:</p>
<p>1. Draw on the bitmap you load in the ImageView<br />
2. Modify the draw() method of the ImageView. That also means that you need to extend the ImageView class.</p>
<p>Afaik these questions are already answered on stackoverflow.com. You should search there for some solutions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yerac</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2263</link>
		<dc:creator>Yerac</dc:creator>
		<pubDate>Sun, 25 Sep 2011 23:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2263</guid>
		<description>Hi! nice tut. But i have a Q, how can i draw over an ImageView? I have an image and when i click on it i get xy coordinates and i want to draw something at that coordinates, say circle or rectangle.  I tried a code from stackoverflow but nothing helps. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi! nice tut. But i have a Q, how can i draw over an ImageView? I have an image and when i click on it i get xy coordinates and i want to draw something at that coordinates, say circle or rectangle.  I tried a code from stackoverflow but nothing helps. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: augusta kapp</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2165</link>
		<dc:creator>augusta kapp</dc:creator>
		<pubDate>Sun, 07 Aug 2011 15:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2165</guid>
		<description>hi! this is so nice.. I have a question regarding the //thread.getSurfaceHolder()// -thing
is it possible to replace this with just getHolder()? I mean the surfaceHolder seams to be more connected to the Panel class then the thread class? why is it necessary to first send the surfaceholder to the thread class and then get it back again???
Will there later on be more surfaceHolder connected to different threads??
Thank you again...for this clear tutorial Now I have to move on to Part 5</description>
		<content:encoded><![CDATA[<p>hi! this is so nice.. I have a question regarding the //thread.getSurfaceHolder()// -thing<br />
is it possible to replace this with just getHolder()? I mean the surfaceHolder seams to be more connected to the Panel class then the thread class? why is it necessary to first send the surfaceholder to the thread class and then get it back again???<br />
Will there later on be more surfaceHolder connected to different threads??<br />
Thank you again&#8230;for this clear tutorial Now I have to move on to Part 5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: augusta kapp</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2164</link>
		<dc:creator>augusta kapp</dc:creator>
		<pubDate>Sun, 07 Aug 2011 15:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2164</guid>
		<description>hi! this is so nice.. I have a question regarding the //thread.getSurfaceHolder()// -thing
is it possible to replace this with just getHolder()? I mean the surfaceHolder seams to be more connected to the Panel class then the thread class? why is it necessary to first send the surfaceholder to the thread class and then get it back again???
Will there later on be more surfaceHolder connected to different threads??
Thank you again...for this clear tutorial</description>
		<content:encoded><![CDATA[<p>hi! this is so nice.. I have a question regarding the //thread.getSurfaceHolder()// -thing<br />
is it possible to replace this with just getHolder()? I mean the surfaceHolder seams to be more connected to the Panel class then the thread class? why is it necessary to first send the surfaceholder to the thread class and then get it back again???<br />
Will there later on be more surfaceHolder connected to different threads??<br />
Thank you again&#8230;for this clear tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lars</title>
		<link>http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html/comment-page-2#comment-2134</link>
		<dc:creator>Lars</dc:creator>
		<pubDate>Wed, 13 Jul 2011 15:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2134</guid>
		<description>Very nice tutorial.

Answer for Lee Ponzo:
Navigate to your SDK platform-tools/ directory and execute:
adb logcat
to look at logcat.</description>
		<content:encoded><![CDATA[<p>Very nice tutorial.</p>
<p>Answer for Lee Ponzo:<br />
Navigate to your SDK platform-tools/ directory and execute:<br />
adb logcat<br />
to look at logcat.</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-2#comment-2120</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 04 Jul 2011 13:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=182#comment-2120</guid>
		<description>This should be pretty easy. One solution ist to load the panel as a custom view inside an xml layout with the right size or you change the border proving and the touch event handling.</description>
		<content:encoded><![CDATA[<p>This should be pretty easy. One solution ist to load the panel as a custom view inside an xml layout with the right size or you change the border proving and the touch event handling.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

