android怎么样放置一个快速搜索框应用 [英] android how to place a Quick Search Box in application
本文介绍了android怎么样放置一个快速搜索框应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想开发它与服务器和快速搜索框应该有哪些应该谷歌搜索合作连接的应用程序。结果
我该怎么办呢?请给我一个样品的例子。结果
还有一个问题,就是2.2支持QSB?
I want to develop an app which connect with the server and a quick search box should be there which should work as Google search.
How can I do that? Please give me a sample example.
One more question, is 2.2 supporting QSB?
推荐答案
请它searcheble
Make it searcheble
<activity android:name=".MyActivity" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
添加QSB为您的应用程序的但2.2这么想的支持又是
Add QSB To your app BUT 2.2 Dosen't Support is Yet
<一个href=\"http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/\" rel=\"nofollow\">http://shapingclouds.com/2009/10/19/how-add-searchmanager-quick-search-to-your-android-application/
这篇关于android怎么样放置一个快速搜索框应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文