我試過在android中使用SmsManager
發送Text Message
。消息傳送正常。當我試圖用不同的語言發送消息時,它提供爲??????
。我不知道有什麼問題。如何使用SmsManager以英文以外的語言發送短信?
try {
SmsManager smsManager = SmsManager.getDefault();
String phno = "+919715361062";
String msg = "டெஸ்டிங்";
smsManager.sendTextMessage(phno, null, msg, null, null);
}catch (Exception e){
e.printStackTrace();
Toast.makeText(MainActivity.this,"Failed",Toast.LENGTH_LONG).show();
}
在他的語言發送郵件更改按摩前和發送.. – Destro
@Destro鍵入的文本在我的語言後,我把它轉換成'基本拉丁文'。這幫助我以我想要的語言發送文本。 –
語言在運行時不轉換。 – Destro