First, just let me apologize if this has been answered before, but I
feel like I'm been all over the net to find the solution to this.

What I'm trying to achieve:
An "outgoing call" BroadcastReceiver which listens for
"NEW_OUTGOING_CALL" intents. Since the application is only suppose
handle certain predefined phone numbers the receiver need to check the
outgoing phone number, and here lays the problem.

The problem:
When running on emulator or placing a call through the People/Contacts
application on HTC Hero everything works just fine and the
broadcastreceiver receives the "NEW_OUTGOING_CALL" intent. However,
when running through the dialer on HTC Hero (which is htcDialer and
not the default android dialer) the "NEW_OUTGOING_CALL" intent never
seems to be fired and therefor the receiver never gets the outgoing
phone number.
I've tried listening to PHONE_STATE changes, but then I haven't found
any way of retrieving the phone number.

The question:
Is there any way to get the outgoing phone number on HTC Hero (sense)
when using htcDialer?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to