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
<intent-filter>
<action android:name="android.intent.action.CALL"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
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
-Joe

