<?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 for Industrial Solutions</title>
	<atom:link href="http://creating-industrial-solutions.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://creating-industrial-solutions.com</link>
	<description>We provide the solutions for your industrial environment</description>
	<lastBuildDate>Sun, 05 Feb 2012 06:38:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Android Color Picker by sascha</title>
		<link>http://creating-industrial-solutions.com/2011/12/android-color-picker/comment-page-1/#comment-8741</link>
		<dc:creator>sascha</dc:creator>
		<pubDate>Sun, 05 Feb 2012 06:38:02 +0000</pubDate>
		<guid isPermaLink="false">http://creating-industrial-solutions.com/?p=583#comment-8741</guid>
		<description>You might write the selected color to the shared preferences (and read it from your calling activity):
http://developer.android.com/reference/android/content/SharedPreferences.html

A more elegant way is to listen for the event when the color has been changed:
http://stackoverflow.com/questions/5941960/android-how-to-implement-listener

Within ColorPickerDialog define an event which will fire when the color has been picked. The activity, who launched the dialog, will listen for that event:

	// in ColorPickerDialog
	public interface OnColorPickedListener {
		public abstract void colorPicked(int color);
	}

	OnColorPickedListener colorPickedListener;

	public void setOnColorPickedListener(OnColorPickedListener colorPickedListener) {
		this.colorPickedListener = colorPickedListener;
	}

	// this is the click on the grid view
	public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
		// get myColor from adapter and notify the listener
            if(colorPickedListener!=null)
	            colorPickedListener.colorPicked(myColor);
	}</description>
		<content:encoded><![CDATA[<p>You might write the selected color to the shared preferences (and read it from your calling activity):<br />
<a href="http://developer.android.com/reference/android/content/SharedPreferences.html" rel="nofollow">http://developer.android.com/reference/android/content/SharedPreferences.html</a></p>
<p>A more elegant way is to listen for the event when the color has been changed:<br />
<a href="http://stackoverflow.com/questions/5941960/android-how-to-implement-listener" rel="nofollow">http://stackoverflow.com/questions/5941960/android-how-to-implement-listener</a></p>
<p>Within ColorPickerDialog define an event which will fire when the color has been picked. The activity, who launched the dialog, will listen for that event:</p>
<p>	// in ColorPickerDialog<br />
	public interface OnColorPickedListener {<br />
		public abstract void colorPicked(int color);<br />
	}</p>
<p>	OnColorPickedListener colorPickedListener;</p>
<p>	public void setOnColorPickedListener(OnColorPickedListener colorPickedListener) {<br />
		this.colorPickedListener = colorPickedListener;<br />
	}</p>
<p>	// this is the click on the grid view<br />
	public void onItemClick(AdapterView< ?> parent, View view, int position, long id) {<br />
		// get myColor from adapter and notify the listener<br />
            if(colorPickedListener!=null)<br />
	            colorPickedListener.colorPicked(myColor);<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Android Color Picker by David</title>
		<link>http://creating-industrial-solutions.com/2011/12/android-color-picker/comment-page-1/#comment-8674</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 01 Feb 2012 01:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://creating-industrial-solutions.com/?p=583#comment-8674</guid>
		<description>You do not say how to get back the color selected.  How would you pass the color selected back to the activity.</description>
		<content:encoded><![CDATA[<p>You do not say how to get back the color selected.  How would you pass the color selected back to the activity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on KETRON SD 5 Keyboard: Floppy Disk Drive retrofitting &#8211; USB Floppy Emulator by KETRON SD 5 Keyboard: Floppy Disk Drive retrofitting – USB Floppy &#8230; &#124; USB And SSD RAM Drives</title>
		<link>http://creating-industrial-solutions.com/2011/08/ketron-sd-5-keyboard-floppy-disk-drive-retrofitting-usb-floppy-emulator/comment-page-1/#comment-1359</link>
		<dc:creator>KETRON SD 5 Keyboard: Floppy Disk Drive retrofitting – USB Floppy &#8230; &#124; USB And SSD RAM Drives</dc:creator>
		<pubDate>Fri, 19 Aug 2011 21:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://creating-industrial-solutions.com/?p=525#comment-1359</guid>
		<description>[...] the internal RAM memory is supplied with information by a floppy disk. &#8230; &#8230;   View post: KETRON SD 5 Keyboard: Floppy Disk Drive retrofitting – USB Floppy &#8230;     &#8592; (USA) CHEAP SONY VAIO VPCZ21TGX/X LAPTOP PRICE &amp; REVIEWS &#124; Buy &#8230; The Bulk [...]</description>
		<content:encoded><![CDATA[<p>[...] the internal RAM memory is supplied with information by a floppy disk. &#8230; &#8230;   View post: KETRON SD 5 Keyboard: Floppy Disk Drive retrofitting – USB Floppy &#8230;     &#8592; (USA) CHEAP SONY VAIO VPCZ21TGX/X LAPTOP PRICE &amp; REVIEWS | Buy &#8230; The Bulk [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FloppyEmulator: USB Disk Format Tool &#8211; console application by Dillantee</title>
		<link>http://creating-industrial-solutions.com/2010/12/floppyemulator-usb-disk-format-tool-console-application/comment-page-1/#comment-856</link>
		<dc:creator>Dillantee</dc:creator>
		<pubDate>Wed, 23 Feb 2011 06:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://creating-industrial-solutions.com/?p=347#comment-856</guid>
		<description>Nice site ....</description>
		<content:encoded><![CDATA[<p>Nice site &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Meet ipcas at the embedded world 2011 by Tweets that mention Meet ipcas at the embedded world 2011 - Industrial Solutions -- Topsy.com</title>
		<link>http://creating-industrial-solutions.com/2011/02/meet-ipcas-at-the-embedded-world-2011/comment-page-1/#comment-855</link>
		<dc:creator>Tweets that mention Meet ipcas at the embedded world 2011 - Industrial Solutions -- Topsy.com</dc:creator>
		<pubDate>Tue, 22 Feb 2011 15:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://creating-industrial-solutions.com/?p=375#comment-855</guid>
		<description>[...] This post was mentioned on Twitter by ipcas GmbH, ipcas GmbH. ipcas GmbH said: Meet ipcas at the embedded world 2011 - March 1 to 3, 2011 in Nuremberg, German - Hall 9, Booth 9-129 http://ipcas.com/5 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by ipcas GmbH, ipcas GmbH. ipcas GmbH said: Meet ipcas at the embedded world 2011 &#8211; March 1 to 3, 2011 in Nuremberg, German &#8211; Hall 9, Booth 9-129 <a href="http://ipcas.com/5" rel="nofollow">http://ipcas.com/5</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

