Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Send SMS for QT Widget Application & C++ (Android)
Forum Updated to NodeBB v4.3 + New Features

Send SMS for QT Widget Application & C++ (Android)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 730 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marcovictor
    wrote on last edited by
    #1

    Greetings everyone.
    Based on the examples in question https://forum.qt.io/topic/62977/how-to-read-send-sms-for-qt-widget-application-c/6, I managed to send SMS via Qt + Android, but when the message has more than 160 characters the SendTextMessage does not send, then discovered the sendMultipartTextMessage but do not know how to call it.

    Java code:
    SmsManager smsManager SmsManager.getDefault = ();
    ArrayList parts = smsManager.divideMessage (SMS);
    smsManager.sendMultipartTextMessage (contact, null, parts, null, null);

    Can anyone help me to call the above code via QAndroidJniObject?

    Marco Antonio
    Sao Paulo
    Brazil.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved