Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Android: How can i access the android's functions in QT?
Spike89 last edited by
I want to use @android.speech.RecognizerIntent;@ but i don't know how can i reach it or any other android functions in QT.
glicanear last edited by
You might use some of the Android stuff by modifying project file(.pro) in a something like that:
@ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
AndroidManifest.xml must be modified(if I remember, then you have to create that file by yourself or just copy and edit from examples) to include that intent, what you want to use. You can edit AndroidManifest.xml from QtCreator - that is better, than writing on your own and with great probabilty failing to create proper manifest file.
Gianluca last edited by
Follow this example: http://blog.qt.digia.com/blog/2013/12/12/implementing-in-app-purchase-on-android/
It shows how to access to the Android API from Qt/C++
I think "this":http://deuteria.blogspot.in/2014/02/calling-androids-text-to-speech-from-qt.html would be useful to you.