Simple Intent Filter Question (I Hope!)

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Simple Intent Filter Question (I Hope!)

Postby joecritter » Fri Oct 15, 2010 11:06 am

Hi folks. I'm brand new to Android development. First post here. Apologies if I've missed something horrible like which board this post should go into.

I'm trying to create an "alternate calling behavior", that is when you make a call (from a contact, dialed, etc), I want Android to give you a choice of how to go about doing it, i.e. the Dialer (or whatever already handles this intent) or MyActivity (which right now is just helloAndroid)

As I understand it, it should just be a matter of declaring an intent filter for the appropriate intent Like so:

Code: Select all
               <action android:name="android.intent.action.CALL"/>
                <category android:name="android.intent.category.DEFAULT" />

Alas this doesn't appear to be enough, and I'm stuck as to why not.

Is the filter not specific enough or just plain wrongly declared?
Does the emulator come with a user preference for the dialer so I'll never get the option to launch my Activity?

I'm just n00bish enough I don't know where to look next.

Any ptrs would be appreciated

Once Poster
Once Poster
Posts: 1
Joined: Fri Oct 15, 2010 10:54 am


Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests