Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
优化用户提醒
  • Loading branch information
kxcode authored and autosquid committed Jul 20, 2019
1 parent 8128290 commit b33bb24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/cc/mightu/sms_forward/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public void sendSMS(View v) {
editor.putString("number", number);
editor.apply();

String message = "This is a test message to " + number;
Log.i("sms", "message send:" + message);

//String message = "This is a test message to " + number;
//Log.i("sms", "message send:" + message);
Toast.makeText(getApplicationContext(), "设置成功", Toast.LENGTH_SHORT).show();
// SmsManager smsManager = SmsManager.getDefault();
// smsManager.sendTextMessage(number, null, message, null, null);
}
Expand Down

0 comments on commit b33bb24

Please sign in to comment.