Necessitas alpha 4, a New Hope!
Anjin Lu
anjin.lu at telogis.com
Mon Oct 22 13:56:00 UTC 2012
With Alpha4, you can have your own JNI_OnLoad in your module ( shared lib),
it will be called when your lib is loaded.
You can add this function in main.cpp.
Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*reserved*/)
{
// Do what you need to here.
return JNI_VERSION_1_4;
}
Anjin
On Sun, Oct 21, 2012 at 10:32 PM, 毛林 <mao.lin.cdzl at gmail.com> wrote:
> i made a VOIP app,so i had to capture/play audio stream. by alpha 3,i can
> modify qtmain_android.cpp to load java class AudioRecord and AudioTrack to
> do that because there was no implemention in necessitas yet. now alpha 4
> released, qtmain_android.cpp is missing,i see that you said "user java/c++
> interaction is support",but i have no idea how to do it,could you post some
> simple example? thx very much!
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20121022/ae9b011c/attachment-0001.html>
More information about the Necessitas-devel
mailing list