Log in or register to post comments

Using with Android

October 21, 2011 - 12:10am #1

Hi,

I am also analysing QCAR SDK to be used for some image recognition solutions. I have seen the samples provided with QCAR SDK.
They use the Android part and also native part.

Is it possible to have all the functionality in native part inside the Android?

Ex QCAR.CameraDevice.getInstance().init(),
QCAR::CameraDevice::getInstance().selectVideoMode(
QCAR::CameraDevice::MODE_DEFAULT))

How can I use these API's in Android?

Regards
Girish

Re: Using with Android

October 21, 2011 - 9:20am #2

QCAR for Android currently depends on both Java and native code, you cannot create a QCAR application completely in Java or completely in native. You can use the JNI (Java Native Interface) to bring the tracking state up into Java if you choose to write most of your application there. This will still require writing some native code, however. See the samples, especially the renderFrame native method, to understand what happens in native each frame.

- Kim

Log in or register to post comments