J'utilise le code suivant pour envoyer des sms depuis mon application. Cela fonctionne bien sur mon appareil Galaxy pop. Mais obtenir Readexception dans les appareils Premium Galaxy. S'il vous plaît laissez-moi savoir ce qui pourrait être le problème.android sms sendtextmessage jette readexception
SmsManager smgr = SmsManager.getDefault();
String msisdn = "8277335968"; //test
Intent intent = new Intent("SMS_SENT");
PendingIntent sentIntent = PendingIntent.getBroadcast(this, 0,
intent, PendingIntent.FLAG_ONE_SHOT);
PendingIntent deliveryIntent = null;
String scAddress = null;
String message = "12345678+23823#21328&121";
smgr.sendTextMessage(msisdn, scAddress, message, sentIntent, deliveryIntent);