I have an Activity to catch ACTION_CALL
intent via intent-filter
and route via my app which works fine on Nexus one, Moto Blur, and Samsung devices. But not on HTC sense. :(
The Intent.ACTION_CALL_BUTTON
is called when the HTC sense button is pressed but when you dialed ACTION_CALL
isn't received the log output shows the android.intent.action.CALL
is sent.
06-17 12:22:45.173: INFO/ActivityManager(83): Starting activity: Intent {
act=android.intent.action.CALL dat=tel:00390642200001 flg=0x10000000
cmp=com.android.phone/.InCallScreen (has extras) }
I'm guessing this is because HTC have put their own sense dialer and it's doing something funny (maybe with intent filter priority?).
Updated1: tried setting the priority to max int value, no change.
<intent-filter android:priority="2147483647">
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.CALL" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>