I have a problem with my application.
When I tried to run my application on Samsung devices with Android 14 I have a following problem:
java.lang.IllegalStateException: Call initialize() first.
at com.samsung.android.sdk.camera.SCamera.checkInitialized(SCamera.java:297)
at com.samsung.android.sdk.camera.SCamera.getSCameraManager(SCamera.java:201)
Sample code:
public static SCameraManager initializeScamera(Context context) {
mScamera = new SCamera();
try {
mScamera.initialize(context);
return mScamera.getSCameraManager();
}catch (Exception e){
e.printStackTrace();
}
return null;
}
I used the newest api Camera SDK v 1.3.2.
Could anyone found solution for this bug?