开发者

Integrating application with default in android

I am currently writing an application which performs a search operation requested by the server at a pre-defined server location. Now , i need to integrate this application into the default Search that is provided on the Android Device i.e.. it should appear as an option for the user to perform his search ... like there are options to search the web , android market etc.. So , i should have my app also besides this ...

I am in a 开发者_开发技巧fix as to how to do this. Any suggestions, help of any kind , links to tutorials , articles are highly appreciated.

Thank You


You are in need of Suggestion Provider, you can explore this and if i remember correctly, the user needs to explicitly add your app to the search list. (It doesn't happen automatically)

http://developer.android.com/reference/android/content/SearchRecentSuggestionsProvider.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜