Skip to content Skip to sidebar Skip to footer

Compile Ics/jb Camera Application - Native Library Jni-mosaic Error

I would like to use the Panorama mode that the ICS/JB camera application has. I've downloaded the source code (with resources) and managed to solve all code compilation errors but

Solution 1:

You moved the Java class MosaicRenderer to package com.app.camera.panorama, but the mosaic_renderer_jni.cpp file still has the native methods refer to com.android.camera.panorama, like

JNIEXPORT voidJava_com_android_camera_panorama_MosaicRenderer_reset(

You should change the function names in the native code to reflect the new package name, e.g.

JNIEXPORT voidJava_com_app_camera_panorama_MosaicRenderer_reset(

Solution 2:

If somebody is still interested in building Google's native camera app,I suggest you this repository https://android.googlesource.com/platform/packages/apps/Camera2/ It doesn't require building all android OS code.It helped me very much.

Post a Comment for "Compile Ics/jb Camera Application - Native Library Jni-mosaic Error"