Hey all--

so I want to completely replace how the home screen handles searches,
I figured out that this declaration in the manifest is enough to
intercept both alphabetic and numeric entry on the home screen:

                        <intent-filter>
                                <action
android:name="com.android.contacts.action.FILTER_CONTACTS" />
                                <category 
android:name="android.intent.category.DEFAULT" />
                        </intent-filter>
                        <intent-filter>
                                <action 
android:name="android.intent.action.VIEW" />
                                <action 
android:name="android.intent.action.DIAL" />
                                <category 
android:name="android.intent.category.DEFAULT" />
                                <category 
android:name="android.intent.category.BROWSABLE" />
                                <data android:scheme="tel" />
                        </intent-filter>

but that also means that my app is now responsible for handling all
dial intents. Which I don't want. I only want to intercept numbers
entered from the home screen. If I leave out the second intent-filter,
alphabetic input is received, but numbers go to the dialer.

Anyone know how to do this?

thanks,
--dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to