thieumao

SMS demo with Android

Nov 7th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1.         Uri uri = Uri.parse("smsto:0917735107");
  2.         Intent intent = new Intent(Intent.ACTION_SENDTO, uri);
  3.         intent.putExtra("sms_body", "SMS text - go noi dung luon roi ah");
  4.         startActivity(intent);
Advertisement
Add Comment
Please, Sign In to add comment