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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.