Please start an activity as below:

String encodedHash = Uri.encode("#");
startActivity(new Intent(Intent.ACTION_CALL,Uri.parse
("tel:*122*123456789"+encodedHash)));

Thanks.

Regards
Prashanth D

On Dec 17, 7:05 am, Mohammad Siddiqui <siddiqui.m...@gmail.com> wrote:
> Hi
>
> can any one tell me how to programmaticaly divert a call on particular
> number by
>
> sending the USSD command.eg, to divert a call on the number-123456789
> we dial
>
> *122*123456789#. it divert the call on to the 123456789,
>
> Thanks in advance
>
> Thanks & Regards
>
> Mohammad Azhar

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to