Search This Blog

Tuesday, September 27, 2016

Intent - Gửi mã USSD

String s1 = "#" ;
String s = "*101"+Uri.encode(s1) ;
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + s));
startActivity(intent);


Tham khảo : http://umeshisran4android.blogspot.com/2015/11/how-to-readparse-ussd-messages.html

No comments:

Post a Comment