Winzipper? Y don't you build it from sources?@codeworkx, I can add your version of the Snap Camera to my build RR? Thank you!
https://github.com/cyanogenmod/android_packages_apps_Snap/tree/cm-13.0
Winzipper? Y don't you build it from sources?@codeworkx, I can add your version of the Snap Camera to my build RR? Thank you!
What? Oh, no. I like KubuntuWinzipper? Y don't you build it from sources?
https://github.com/cyanogenmod/android_packages_apps_Snap/tree/cm-13.0
I'm building from CM repo as well. But you should also have a look at gerrit code review.What? Oh, no. I like Kubuntu
Now i use CyanogenMod/android_packages_apps_Snap. But i see, you're doing a lot of commits, which are absent in the CM repo. They will be supplemented later, or it will be exclusive to g4 in this thread?
Oh, ok. Thank youI'm building from CM repo as well. But you should also have a look at gerrit code review.
That's not my fault.Using this snap camera on aosp camdy six ROM. The rear camera works fine but the front facing is an absolutely no go. Just see blurry lines on the front facing camera.
Hello @codeworkx,Start -> cmd -> Run command prompt -> connect phone via usb -> run "adb logcat".
You can try it again with your app but please do not filter.
--------- beginning of crash
E/AndroidRuntime( 6494): FATAL EXCEPTION: main
E/AndroidRuntime( 6494): Process: org.cyanogenmod.snap, PID: 6494
E/AndroidRuntime( 6494): java.lang.NoSuchMethodError: No virtual method clearPrivateFlags(I)V in class Landroid/view/Window; or its super classes (declaration of 'android.view.Window' appears in /system/framework/framework.jar:classes2.dex)
E/AndroidRuntime( 6494): at com.android.camera.CameraActivity.initPowerShutter(CameraActivity.java:1807)
E/AndroidRuntime( 6494): at com.android.camera.PhotoModule.init(PhotoModule.java:499)
E/AndroidRuntime( 6494): at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1499)
E/AndroidRuntime( 6494): at android.app.Activity.performCreate(Activity.java)
E/AndroidRuntime( 6494): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
E/AndroidRuntime( 6494): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
E/AndroidRuntime( 6494): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
E/AndroidRuntime( 6494): at android.app.ActivityThread.access$800(ActivityThread.java)
E/AndroidRuntime( 6494): at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
E/AndroidRuntime( 6494): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime( 6494): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime( 6494): at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime( 6494): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 6494): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 6494): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime( 6494): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
F/libc ( 6586): Fatal signal 6 (SIGABRT), code -6 in tid 6586 (ex.callrecorder)
--------- beginning of system
Thanks.Hello @codeworkx,
Is this sufficient?
It's the v9.Code:--------- beginning of crash E/AndroidRuntime( 6494): FATAL EXCEPTION: main E/AndroidRuntime( 6494): Process: org.cyanogenmod.snap, PID: 6494 E/AndroidRuntime( 6494): java.lang.NoSuchMethodError: No virtual method clearPrivateFlags(I)V in class Landroid/view/Window; or its super classes (declaration of 'android.view.Window' appears in /system/framework/framework.jar:classes2.dex) E/AndroidRuntime( 6494): at com.android.camera.CameraActivity.initPowerShutter(CameraActivity.java:1807) E/AndroidRuntime( 6494): at com.android.camera.PhotoModule.init(PhotoModule.java:499) E/AndroidRuntime( 6494): at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1499) E/AndroidRuntime( 6494): at android.app.Activity.performCreate(Activity.java) E/AndroidRuntime( 6494): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java) E/AndroidRuntime( 6494): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java) E/AndroidRuntime( 6494): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java) E/AndroidRuntime( 6494): at android.app.ActivityThread.access$800(ActivityThread.java) E/AndroidRuntime( 6494): at android.app.ActivityThread$H.handleMessage(ActivityThread.java) E/AndroidRuntime( 6494): at android.os.Handler.dispatchMessage(Handler.java) E/AndroidRuntime( 6494): at android.os.Looper.loop(Looper.java) E/AndroidRuntime( 6494): at android.app.ActivityThread.main(ActivityThread.java) E/AndroidRuntime( 6494): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 6494): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime( 6494): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java) E/AndroidRuntime( 6494): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java) F/libc ( 6586): Fatal signal 6 (SIGABRT), code -6 in tid 6586 (ex.callrecorder) --------- beginning of system
Let me know.
Are you sure it's relative to stock roms? Because @Juzman said the app starts fine on stock.Thanks.
That's stuff needed for the power shutter feature which the stock lg rom doesn't support.
I can do you one single private build where it's removed, but that's all. You'll never get updates.
I'm not going to care about stock rom.
The only difference is that his device is a G4, mine is a G3.v9 working fine on stock, just doesn't save images to sdcard only internal.
It's qualcomm stuff. Maybe the G3 stock rom has it included.Are you sure it's relative to stock roms? Because @Juzman said the app starts fine on stock.
The only difference is that his device is a G4, mine is a G3.
I'm confused. Missing what? I have the G4 and app is working fine on stock LG rom. Pictures only save to internal and not external though.It's qualcomm stuff. Maybe the G3 stock rom has it included.
The G4 stock rom is missing it.
Should be:I'm confused. Missing what? I have the G4 and app is working fine on stock LG rom. Pictures only save to internal and not external though.
Can you make the power shutter feature active only if it detects the correct environment?Thanks.
That's stuff needed for the power shutter feature which the stock lg rom doesn't support.
I can do you one single private build where it's removed, but that's all. You'll never get updates.
I'm not going to care about stock rom.
This is a CyanogenMod app.Can you make the power shutter feature active only if it detects the correct environment?
I mean, when the app starts it checks if that resource is missing or not, and it enables that feature or not.
So the app can start in both cases without crashing.
So you can let stock-based roms use this app, and you can save time without having to manage a separate build.
Please consider this option, a lot of G3 users are on stock based rom but they would like to run your app.
Thanks anyway.
You are a beast.v10 up
Do you ever stop coding!?v10 up
I never asked you to modify the original Cyanogen app, it doesn't make sense at all!This is a CyanogenMod app.
The required code will never be approved and merged in.
I don't think that a work like this would require hours. And you had the time to release 5 versions in 2 days...And i don't have the time for it.
They would spend much more time than you, because they would have to study and get familiar with the code.Ask one of the G3 devs to do it. The code is public: http://github.com/CyanogenMod/android_packages_apps_Snap