Sunday, January 12, 2014

[android-developers] How to open dialer during a call programmatically ?

Hi all,

I have specific requirement, i want to answer incoming call automatically and dial some DTMF number. I am able to answer call, but having problem with opening dialpad and sending DTMF during a call.

I tried to do this using ITelephony.aidl class, but it seems those methods are not working in Android 2.2 above and its giving me permission related error. so is there any other laternaive for that, how do i achieve my goal.

I have posted the related question in stackoverflow as well, below is the link where i have posted the code snippets.

http://stackoverflow.com/questions/21019975/neither-user-10056-nor-current-process-has-android-permission-modify-phone-state

for permission related error i found this  http://code.google.com/p/android/issues/detail?id=15031#makechanges

Any help and idea will be appreciated.

Thanks
Juned Khan

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate