quirc icon indicating copy to clipboard operation
quirc copied to clipboard

Native Android Support

Open AnamikaAhmed opened this issue 6 years ago • 2 comments

I want to use this decoder in my android app. How to compile it in android studio? Do you have any support for java or android?

AnamikaAhmed avatar Feb 13 '19 09:02 AnamikaAhmed

AnamikaAhmed writes:

I want to use this decoder in my android app. How to compile it in android studio? Do you have any support for java or android?

There isn't currently any support for Java, but it should be fairly easy to wrap a JNI interface around it if you want to use it on Android. Android's JNI is the same as the standard Java one -- the only extra step you'll need is to wrap everything up inside an AAR to import into Android Studio.

Cheers, Daniel

-- Daniel Beer [email protected] http://dlbeer.co.nz/ PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B

dlbeer avatar Feb 13 '19 22:02 dlbeer

When I implemented an app using this library, I used djinni to generate the JNI and Objective C bindings. Maybe that can be helpful!

sushshring avatar Sep 30 '19 19:09 sushshring