Necessitas/FAQ: Difference between revisions

From KDE Community Wiki
No edit summary
No edit summary
Line 8: Line 8:


=== 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 OpenSLES, 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.

Revision as of 18:07, 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 support, if you want to play other formats you can use Android MediaPlayer , check this example.