Re: [android-developers] Re: Cannot get PhoneNumber on Real device but code works in Emulator

2011-11-09 Thread Mark Ellul
As far as I have ascertained, this issue is not an Android issue, it has to do with the Sim and access to the Sim given to Android by the provider. So basically, if you get a Null its because the phone doesn't know its own phone number, and you have to ask the user, or does some work around,

[android-developers] SOLVED:Dialing IVR Systems, or sending DTMF tones after a call is made

2010-05-05 Thread Mark Ellul
I figured out at least on the HTC Hero how to dial an IVR System http://groups.google.com/group/android-developers/browse_thread/thread/c8a6c598faf15b16/5b265576a51a1388?lnk=gstq=DTMF+Mark#5b265576a51a1388 The trick was to use a p and w for pause and wait, and # works as well, as long as its not

[android-developers] Re: TelephonyManager.getLine1Number() returning null?

2010-05-05 Thread Mark Ellul
I was informed that its a SIM issue, and that some SIM cards do not store the telephone number in the appropriate way to retrieve the number On May 5, 1:32 pm, Vinay S s.vinay@gmail.com wrote: Hi David, I think you are trying to use TelephonyManager.getLine1Number(); Instead create an

[android-developers] Invalid routing action. Node A2DP does not exist.

2009-09-10 Thread Mark Ellul
Hi, Can anyone Help me understand what this error message means? Or how I can avoid this error occurring? Its occurring on a HTC Hero. Invalid routing action. Node A2DP does not exist. It seems to occur when I am calling Intent to Dial a Number, you hear the first tone come through the speaker

[android-developers] Re: Dialing IVR Systems, or sending DTMF tones after a call is made

2009-09-09 Thread Mark Ellul
to test the code, please let me know. ANY HELP would be appreciated Regards Mark 09-09 19:33:45.721: ERROR/AudioService(63): Invalid routing action. Node A2DP does not exist. On Sep 8, 3:47 pm, Mark Ellul mark.el...@gmail.com wrote: Hi Just to Add more Logging output This time from the adb

[android-developers] Re: Cannot get PhoneNumber on Real device but code works in Emulator

2009-09-08 Thread Mark Ellul
·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 7, 9:48 am, Mark Ellul mark.el...@gmail.com wrote: Hi, I am trying to create

[android-developers] Re: How send DTMF in android?

2009-09-08 Thread Mark Ellul
Hi Gulfam, Did you solve the issue? I am trying to do the same thing and only have a HTC Hero to test with and its failing as well. Please if you have resolved the issue let me know... I have seen this class http://developer.android.com/reference/android/media/ToneGenerator.html but I am not

[android-developers] Dialing IVR Systems, or sending DTMF tones after a call is made

2009-09-08 Thread Mark Ellul
Hi, I am writing an application that calls IVR Systems. For example a Customer Service line where 3 or 4 options or the telephone number must be sent after the call is made. I don't remember where but I remember that if you were to put in comma's , it would be a pause so I am trying to dial a

[android-developers] Re: Dialing IVR Systems, or sending DTMF tones after a call is made

2009-09-08 Thread Mark Ellul
Mark On Sep 8, 3:21 pm, Mark Ellul mark.el...@gmail.com wrote: Hi, I am writing an application that calls IVR Systems. For example a Customer Service line where 3 or 4 options or the telephone number must be sent after the call is made. I don't remember where but I remember that if you were

[android-developers] Cannot get PhoneNumber on Real device but code works in Emulator

2009-09-07 Thread Mark Ellul
Hi, I am trying to create an app that gets the location and telephone number of the phone. This is the Code I am using to get the telephone number (I am focusing on sdk 1.5) and in the emulator this works try { this.telMgr = (TelephonyManager) this.getSystemService