2

I'm developing some app that send some SMS messages. My problem is that when I try to send a long text it won't send the message. I know there is a limit for the number of characters.

I'm using SmsManager:

SmsManager SMS = SmsManager.getDefault();
SMS.sendTextMessage(phoneNumber, null,message, null, null);

So, what is the limit?

Abdul Saleem
  • 10,098
  • 5
  • 45
  • 45
Matan
  • 296
  • 5
  • 24

1 Answers1

3

Appears to be 160, but the API offers sending in multiple parts using sendMultiPartTextMessage().

Check out this link.

Edit: Also this link , both the accepted answer & 2nd best answer are worth looking at.

Community
  • 1
  • 1
Ryhan
  • 1,815
  • 1
  • 18
  • 22