Intent sendIntent = new Intent(Intent.ACTION_SENDTO);
sendIntent.setData(Uri.parse("smsto:" + number));
sendIntent.putExtra("sms_body", body);
startActivity(sendIntent);
當number為空字符時,華為POT-AL00a無法編輯短信內容
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/90027.html
標籤:Android
上一篇:iOS13 中的WKWebView是否取消了下拉重繪
下一篇:求助,android選項卡
