Friday, July 29, 2011

[android-developers] Prolblem with special key numbers and ACTION_CALL

i found a problem which I can't find solution, maybe someone has seen
this before?

I use this to perform a call, now if the call is a special number such
as *111#, the character # is not sent to the activity, resulting in a
call to *111 without the # character.

Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" +
phoneNumber));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
this.startActivity(intent);

Anyone understand what happens?

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

No comments:

Post a Comment