Can not read the SMS when using sendMultipartTextMessage

Tutorials with advanced 'difficulty' and more Lines of Code.

Can not read the SMS when using sendMultipartTextMessage

Postby khanhtungna » Sat Feb 27, 2010 1:54 pm

I use sendMultipartTextMessage method to send a long SMS massage. But in the receiver emulator SMS message is encrypted and I can't read the message. Anyone know this problem? Thank so much!

My code:
PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, new Intent(SENT), 0);
SmsManager smsManager = SmsManager.getDefault();
ArrayList<String> messageArray = smsManager.divideMessage(smsStr);
ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>();
for (int i = 0; i < messageArray.size(); i++){
sentIntents.add(sentPI);
}
smsManager.sendMultipartTextMessage(phoneNumber,null,messageArray,sentIntents, null);
Attachments
Screenshot-5554_Android1.6.png
Screenshot-5554_Android1.6.png (97.07 KiB) Viewed 2027 times
khanhtungna
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Feb 27, 2010 12:58 pm

Top

Re: Can not read the SMS when using sendMultipartTextMessage

Postby Gf11speed » Thu Jul 08, 2010 12:59 am

Does anybody know a solution to this problem? I've been seeing the same issue.
Gf11speed
Freshman
Freshman
 
Posts: 2
Joined: Thu Jul 08, 2010 12:54 am

Re: Can not read the SMS when using sendMultipartTextMessage

Postby sblantipodi » Sun Jul 18, 2010 11:25 pm

same problem here, it seems that this is a known bug.

Incredibly annoying.
sblantipodi
Senior Developer
Senior Developer
 
Posts: 122
Joined: Fri Mar 26, 2010 1:41 pm

Re: Can not read the SMS when using sendMultipartTextMessage

Postby sblantipodi » Mon Jul 19, 2010 12:04 am

the problem is ancient, incredible that they haven't fixed yet neither in the second update of froyo...
this is a shame.
sblantipodi
Senior Developer
Senior Developer
 
Posts: 122
Joined: Fri Mar 26, 2010 1:41 pm

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests