I don't think there is a clean/elegant/easy way, or for that matter even an official way at all - but you can find some clever hacks around, such as:
http://mylifewithandroid.blogspot.com/2008/01/phonecalls.html and http://dtmilano.blogspot.com/2008/01/android-radio-logger-code-is-here.html. On Apr 28, 1:52 am, Andrei Ivanov <[EMAIL PROTECTED]> wrote: > Hi All, > > I would like get incoming call number in registered IntentReceiver, and > I getting notification about incoming calls and from which phone call is > received (in emulator named "GSM") with state "RINGING". > Notification does not provide no more information, especially phone number. > > Using name of phone I getting IPhone interface to the Phone object. > Object contains method getBackgroundCall() giving access to the Call and > Connection objects, interface does not. > May by what I'm doing is completely wrong. Please give me advice how to > obtain phone number of incoming message. > > Unfortunately these objects are not well documented so first time it was > my mistake that phoneNumber is a property of incoming call ;( (actually > it is "GSM"). > > I think to try CallLog object, but I need phone number when call is > established but not after call is finished. > > -- > Best regards, > Andrei Ivanov > > phone tel:+7 (901) 924 0456 > e-mail mailto:[EMAIL PROTECTED] > web page:http://commandus.com/ > VoIP: sip:[EMAIL PROTECTED] > G-Talk: jid:andrei.i.ivanov --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

