Android: How can i access the android's functions in QT?
-
I want to use @android.speech.RecognizerIntent;@ but i don't know how can i reach it or any other android functions in QT.
-
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
OTHER_FILES +=
android-sources/AndroidManifest.xml @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.
-
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++ -
Hi,
I think "this":http://deuteria.blogspot.in/2014/02/calling-androids-text-to-speech-from-qt.html would be useful to you.