I guess I'll write a widget. Thanks.
On May 5, 1:06 am, Romain Guy <[email protected]> wrote:
> You should really NOT do this.Homesearches are meant to search
> contacts, and nothing else. Do not attempt to change the semantics of
> this Intent.
>
>
>
> On Mon, May 4, 2009 at 9:59 PM, whizziwig <[email protected]> wrote:
>
> > Hey all--
>
> > so I want to completely replace how thehomescreenhandles searches,
> > I figured out that this declaration in the manifest is enough to
> > intercept both alphabetic and numeric entry on thehomescreen:
>
> > <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 thehomescreen. 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
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support. All such questions should be posted on
> public forums, where I and others can see and answer them
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---