How read SMS in android with Qt 5.1?
-
Hi, I use Qt 5.1 for android & want to receive and read SMS messages(in smart phones and tablets). how can i do this?
-
I'm still a newbie in Android but you can take a look in:
http://blog.qt.digia.com/blog/2009/09/21/introducing-qmf-an-advanced-mobile-messaging-framework/
http://qt-project.org/forums/viewthread/5086It seems that QMF is what you're looking for.
-
[quote author="mbnoimi" date="1378830091"]
It seems that QMF is what you're looking for.[/quote]
QMF is an outdated project of Qt Mobility times. So it wont be much help here.What you can do for sure is JNI and call the android API to do so. I don't think that this feature is available through Qt API.
There are some resources on the web how to do JNI calls out of C++/Qt.
Like "this":http://jgoday.wordpress.com/2009/04/16/jni-with-qt-part1/ or "this":http://community.kde.org/Necessitas/JNI one.On android side you can "read this":http://stackoverflow.com/questions/848728/how-can-i-read-sms-messages-from-the-inbox-programmatically-in-android how to read sms of the phone.
-
[quote]QMF is an outdated project of Qt Mobility times[/quote]
I read some where that Qt guys planned to increase Android support after Qt 5.2 (let's don't forget Android & iOS support still in preview mode)