How to use SearchManager

by anderson » Thu, 05 Mar 2009 21:21:48 GMT


Sponsored Links
 i read the  SearchManager
 http://developer.android.com/reference/android/app/SearchManager.html 

but i feel confused
could anyone give some example ?
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. module loading problem

Hi all,
    I am having custom kernel driver module. The kernel module is inserted
successfully but i couldn't able to unlkiad

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. onActivityResult and the Settings Menu

Hi Everyone,

My app requires a network connection so if they don't have one enabled
I prompt them to start it.  I do this by calling the Wireless &
Network settings Activity as such:

startActivityForResult(new
Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS),
NETWORK_RESULT);

However, when I run my app in the de{*filter*}, onActivityResult is called
immediately as my calling activity is exited when it should be called
once the settings menu if exited.  This premature call also sends a
resultCode of Activity.RESULT_CANCEL.  Here is the code from
onActivityResult:

if (resultCode == Activity.RESULT_OK) {
                switch (requestCode) {
                case NETWORK_RESULT:
                        if (!mobileInfo.isConnected() && 
!wifiInfo.isConnected())
                                noNetwork();
                        else
                                do_something();
                }
}

Does anyone know if I'm doing something wrong?  If I understand this
correctly, onActivityResult should be the callback to when the
Wireless & Network Settings activity exits.

-- 

3. Saving SMS to SENT messages

4. Test for Camera Button hardware ?

5. Add Images to Jar files

6. onRestoreInstanceState exception only on froyo for a simple textview

7. Thoughts on this LenientPolicy implementation of an LVL Policy?