Necessitas/FAQ: Difference between revisions
Appearance
Bog dan ro (talk | contribs) No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
=== I need Audio support === | === I need Audio support === | ||
Sadly, currently Qt has no built in multimedia support ATM, if you need to play wav files, Android API-9 is coming with [http://www.khronos.org/opensles/ OpenSLES] support, if you want to play other formats you can use Android MediaPlayer , check [http://community.kde.org/Necessitas/JNI this] example. | Sadly, currently Qt has no built in multimedia support ATM, if you need to play wav files, Android API-9 is coming with [http://www.khronos.org/opensles/ OpenSLES] support, if you want to play other formats you can use Android MediaPlayer , check [http://community.kde.org/Necessitas/JNI this] example. | ||
For an example on how to use OpenSLES, see [http://community.kde.org/Necessitas/AndroidAudio here]. |
Revision as of 19:08, 24 October 2012
Can I call a C++ method from JAVA?
Yes, using JNI ! Check this example.
Can I call a JAVA method from C++?
Yes, using JNI ! Check this example.
I need Audio support
Sadly, currently Qt has no built in multimedia support ATM, if you need to play wav files, Android API-9 is coming with OpenSLES support, if you want to play other formats you can use Android MediaPlayer , check this example.
For an example on how to use OpenSLES, see here.