D5848: Add support for SMSes longer than 160 characters

Simon Redman noreply at phabricator.kde.org
Sun May 14 01:33:12 UTC 2017


sredman created this revision.

REVISION SUMMARY
  The SMS protocol does not support sending a message longer than 160 characters. Android's SmsManager.sendTextMessage(..) fails in case the message is too long.
  Instead of failing, check the message length. If it is longer than 160 characters, break it up and send it as several messages

TEST PLAN
  Send a long message via KDE Connect and verify that it is actually sent
  Send a short message via KDE Connect and verify that it can also be sent
  Ideally: Test sending a message which is the maximum length for an SMS (160 characters) and verify that it is sent as exactly one SMS (And billed properly)

REPOSITORY
  R225 KDE Connect - Android application

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D5848

AFFECTED FILES
  src/org/kde/kdeconnect/Plugins/TelepathyPlugin/TelepathyPlugin.java

To: sredman, kdeconnect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170514/d1c3ed39/attachment.html>


More information about the KDEConnect mailing list