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
Trang Chủ
Android
PHP
Chuỗi
Dialog
Clipboard
Spinner
Auto Layout
ActionBar
Intent
Random
SQL
Admod
Version
TextView
Tabhost
Json
ListView
Time Picker
Calendar
Ham
FloatingActionMenu
Button
EditText
Activity
Custom Adapter
Xoay Màn Hình
Wifi & 3G
Lỗi
Fragment
Shape
SMS
Push
FireBase
CheckBox
Mảng
Facebook
Timer
Service
Text To Speech
Recycler View
Search This Blog
Showing posts with label SMS. Show all posts
Showing posts with label SMS. Show all posts
Tuesday, September 27, 2016
Monday, September 26, 2016
Intent - Di chuyễn đến màn hình gọi
Permission in Manifest:
<uses-permission android:name="android.permission.CALL_PHONE" />
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + "Your Phone_number")); startActivity(intent);
Subscribe to:
Posts (Atom)