Re: [Interest] (JNI ERROR) jbytearray -> java.lang.String[] - What am I doing wrong here?

2019-01-25 Thread Jason H
So I think i got that completely wrong. I'm more used to using androidextras. They have a nice API that cleans up for you. I gotta that's not an option? Maybe they JNI stuff should get it's own module separate from Android? > Sent: Friday, January 25, 2019 at 9:00 PM > From: "Jason H" > To:

Re: [Interest] (JNI ERROR) jbytearray -> java.lang.String[] - What am I doing wrong here?

2019-01-25 Thread Jason H
I'm not familiar with that, jbteArray, but in attemping your challenge, I saw:   qjniEnv->SetByteArrayRegion(jdata, 0, _size, reinterpret_cast(foo));   but saw this in the docs:  void SetArrayRegion(JNIEnv *env, ArrayType array, jsize start, jsize len, NativeType *buf);   is jdata your jni

[Interest] (JNI ERROR) jbytearray -> java.lang.String[] - What am I doing wrong here?

2019-01-25 Thread René Hansen
All I want to do is send some bytes from Qt to Java, but I'm running into an annoying problem, where my *jbyteArray* gets turned into *java.lang.String[]* in mid-flight: E art : JNI ERROR (app bug): attempt to pass an instance of java.lang.String[] as argument 1 to int Foo.bar(byte[]) F art

Re: [Interest] What is the Qt 5.12.1 snapshot?

2019-01-25 Thread Jason H
Snapshots are the current dev build. No they are not a release. This only means that "5.12.1" exists as a branch in git. > Sent: Friday, January 25, 2019 at 2:56 AM > From: "Igor Mironchik" > To: "interest@qt-project.org" > Subject: [Interest] What is the Qt 5.12.1 snapshot? > > Hi, > > What