Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Global Search In Android

Tags:

android

I want Messaging (Sms/Mms) application to be part of the global search i.e., when I type a word in the omni search box (on home screen), it should show me the messages which has that word. Currently, we have local search within messaging app which works fine but how do I make messaging globally searchable.

I tried refereing searchable dictornary example and also some online resource but didn't help. Please provide me the steps to make messaging application part of global search.

Regards, Sunil.

like image 447
Sunil Avatar asked Apr 15 '10 06:04

Sunil


1 Answers

Read the article provided here: http://d.android.com/resources/articles/qsb.html

It gives a proper step-by-step tutorial on how to set up a suggestion content provider and describe it in the application's Manifest. It's the de facto tutorial on how to do it. If you can't follow it through, there's not much we can do for you.

Edit: new links:

  • http://developer.android.com/training/search/index.html
  • http://developer.android.com/guide/topics/search/index.html
like image 182
Felix Avatar answered Nov 02 '22 18:11

Felix