Necessitas/FAQ: Difference between revisions
Bog dan ro (talk | contribs) (Created page with "=== Can I call a C++ method from JAVA? === Yes, using [http://developer.android.com/guide/practices/jni.html JNI] ! Check [http://community.kde.org/Necessitas/JNI this] exampl...") |
Bog dan ro (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
Yes, using [http://developer.android.com/guide/practices/jni.html JNI] ! | Yes, using [http://developer.android.com/guide/practices/jni.html JNI] ! | ||
Check [http://community.kde.org/Necessitas/JNI this] example. | Check [http://community.kde.org/Necessitas/JNI 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, if you want to play other formats you can use Android MediaPlayer , check [http://community.kde.org/Necessitas/JNI this] example. |
Revision as of 18:06, 23 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, if you want to play other formats you can use Android MediaPlayer , check this example.