<?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: How to add SearchManager Quick Search to your Android application</title>
	<atom:link href="http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/</link>
	<description>A blog on developing, deploying and maintaining web applications at Firmhouse</description>
	<lastBuildDate>Thu, 29 Mar 2012 23:25:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Kacy</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-270</link>
		<dc:creator>Kacy</dc:creator>
		<pubDate>Thu, 29 Mar 2012 23:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-270</guid>
		<description>I have a little problem. Every time I make search a new Activity is being created, and I don&#039;t want that to happen. I want it to return to the same activity. How can I do so?</description>
		<content:encoded><![CDATA[<p>I have a little problem. Every time I make search a new Activity is being created, and I don&#8217;t want that to happen. I want it to return to the same activity. How can I do so?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-268</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Mon, 05 Dec 2011 19:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-268</guid>
		<description>Thanks a lot for this. Very clear, very concise. Exactly what I needed to get started with searchable activities!</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this. Very clear, very concise. Exactly what I needed to get started with searchable activities!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lhtan</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-267</link>
		<dc:creator>lhtan</dc:creator>
		<pubDate>Wed, 23 Nov 2011 04:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-267</guid>
		<description>i create android apps without using sqlite database. i just key in the list in a list.xml. how i can create a search button in list.xml and it can search the words on there?</description>
		<content:encoded><![CDATA[<p>i create android apps without using sqlite database. i just key in the list in a list.xml. how i can create a search button in list.xml and it can search the words on there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rafeeq</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-266</link>
		<dc:creator>rafeeq</dc:creator>
		<pubDate>Fri, 07 Oct 2011 17:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-266</guid>
		<description>thanks for this ,, i m creating a simple...dictionary application ...can u please help me out ..i dont know java but i m learning ...

please help me.out for java codes</description>
		<content:encoded><![CDATA[<p>thanks for this ,, i m creating a simple&#8230;dictionary application &#8230;can u please help me out ..i dont know java but i m learning &#8230;</p>
<p>please help me.out for java codes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoyo</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-265</link>
		<dc:creator>yoyo</dc:creator>
		<pubDate>Wed, 28 Sep 2011 03:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-265</guid>
		<description>Hi Michiel, 
First of all, thank you for posting this. However, I am facing problems like where exactly should I place the codes? I&#039;ve added the OnCreate function into my MySearchActivity.jav file and it came out with alot of errors. This is how my codes look like.

package com.sp.edu.sg;

import android.R;
import android.app.Activity;
import android.os.Bundle;

public class MySearchActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);

	final Intent queryIntent = getIntent();
	final String queryAction = queryIntent.getAction();
	if (Intent.ACTION_SEARCH.equals(queryAction)) {
		String searchKeywords = queryIntent.getStringExtra(SearchManager.QUERY);
	}
}

Hope you can reply me asap. Thank you so much and all the best to you!</description>
		<content:encoded><![CDATA[<p>Hi Michiel,<br />
First of all, thank you for posting this. However, I am facing problems like where exactly should I place the codes? I&#8217;ve added the OnCreate function into my MySearchActivity.jav file and it came out with alot of errors. This is how my codes look like.</p>
<p>package com.sp.edu.sg;</p>
<p>import android.R;<br />
import android.app.Activity;<br />
import android.os.Bundle;</p>
<p>public class MySearchActivity extends Activity {<br />
    /** Called when the activity is first created. */<br />
    @Override<br />
    public void onCreate(Bundle savedInstanceState) {<br />
        super.onCreate(savedInstanceState);<br />
        setContentView(R.layout.main);<br />
    }<br />
}<br />
@Override<br />
protected void onCreate(Bundle savedInstanceState) {<br />
	super.onCreate(savedInstanceState);</p>
<p>	final Intent queryIntent = getIntent();<br />
	final String queryAction = queryIntent.getAction();<br />
	if (Intent.ACTION_SEARCH.equals(queryAction)) {<br />
		String searchKeywords = queryIntent.getStringExtra(SearchManager.QUERY);<br />
	}<br />
}</p>
<p>Hope you can reply me asap. Thank you so much and all the best to you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-263</link>
		<dc:creator>Michiel</dc:creator>
		<pubDate>Wed, 06 Jul 2011 10:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-263</guid>
		<description>Nice I could help you :) Thanks for the comment!</description>
		<content:encoded><![CDATA[<p>Nice I could help you <img src='http://shapingclouds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for the comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-262</link>
		<dc:creator>Michiel</dc:creator>
		<pubDate>Wed, 06 Jul 2011 10:13:48 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-262</guid>
		<description>Good to know :) Thanks for the comment!</description>
		<content:encoded><![CDATA[<p>Good to know <img src='http://shapingclouds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for the comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bachi</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-261</link>
		<dc:creator>Bachi</dc:creator>
		<pubDate>Wed, 22 Jun 2011 13:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-261</guid>
		<description>Also a big thanks from me - saved me a lot of time, too :)</description>
		<content:encoded><![CDATA[<p>Also a big thanks from me &#8211; saved me a lot of time, too <img src='http://shapingclouds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajite</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-260</link>
		<dc:creator>Ajite</dc:creator>
		<pubDate>Sat, 11 Jun 2011 03:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-260</guid>
		<description>Thanks a lot, you save a me a lot of time :).</description>
		<content:encoded><![CDATA[<p>Thanks a lot, you save a me a lot of time <img src='http://shapingclouds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel</title>
		<link>http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/comment-page-1/#comment-256</link>
		<dc:creator>Michiel</dc:creator>
		<pubDate>Sat, 19 Mar 2011 11:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://shapingclouds.com/?p=316#comment-256</guid>
		<description>Good to hear that. Good luck!</description>
		<content:encoded><![CDATA[<p>Good to hear that. Good luck!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

