Jump to content

Necessitas/FAQ

From KDE Community Wiki
Revision as of 19:08, 24 October 2012 by Piggz (talk | contribs)

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.