我正在尝试从我的应用程序发送短信Android
。一切正常,但缺少一些文本。这是我的代码:
String phoneNumber = "99********"; //Masked the number intentionally.
String message = "";
message += "This is Prabha, and thanks for using my application. ";
message += "Hope you enjoy this application. ";
message += "If you face any problem or issue, you can report the issue to our ";
message += "official mail id: pbha701@yahoo.com.";
SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage(phoneNumber, null, message, null, null);
我正在接收消息,但消息未满。缺少一些文字。我只收到以下文字:
This is Prabha, and thanks for using my application. Hope you enjoy this application. If you face any problem or issue, you can report the issue to our officia
我在以下位置添加了以下权限AndroidManifest.xml
:
<uses-permission android:name="android.permission.SEND_SMS" />
我无法找到剩余文本被截断的原因。我应该添加任何其他权限或所需的任何设置更改吗?任何想法或帮助将不胜感激。
谢谢。