Hi, I've managed to edit, compile, and run the camera app on eclipse, to avoid compile the whole rom just to debug and try things.
(AOSP/CM9 to standalone app)
I just wanted to change the accesibility shutter button, but there are some issues:
I took sources from here: packages\apps\Camera (acual cm9 teamhacksung repo)
Then I removed all the AOSP references and added the correct libraries to make it work.
But the result of it was a different camera app, the differences are:
- The accesibility shutters works by default (power button)
- There is no focus mode option in settings ☐
- Poor preview/picture quality
- Glitched front face camera (green/black flickering)
- etc ☐
(Seems like all the teamhacksung changes are not here)
Where do I need to take the sources to have our actual cm9 camera app to have the latest changes?
My objective is not to compile and finish this app in a standalone or a separated AOSP version, I just want to debug and edit stuff to see how is it working and then when I know that its working fine, push the edited files to the AOSP dir, and compile the whole rom.
Thanks in advance.
Here is the compiled .apk: http://www.mediafire.com/?9bi86dwgaln1abp
EDIT: Some issues are fixed by correcting the AndroidManifest.xml file.
EDIT2: All fixed http://forum.xda-developers.com/showpost.php?p=29418513&postcount=3
(AOSP/CM9 to standalone app)
I just wanted to change the accesibility shutter button, but there are some issues:
I took sources from here: packages\apps\Camera (acual cm9 teamhacksung repo)
Then I removed all the AOSP references and added the correct libraries to make it work.
But the result of it was a different camera app, the differences are:
- The accesibility shutters works by default (power button)
- There is no focus mode option in settings ☐
- Poor preview/picture quality
- Glitched front face camera (green/black flickering)
- etc ☐
(Seems like all the teamhacksung changes are not here)
Where do I need to take the sources to have our actual cm9 camera app to have the latest changes?
My objective is not to compile and finish this app in a standalone or a separated AOSP version, I just want to debug and edit stuff to see how is it working and then when I know that its working fine, push the edited files to the AOSP dir, and compile the whole rom.
Thanks in advance.
Here is the compiled .apk: http://www.mediafire.com/?9bi86dwgaln1abp
EDIT: Some issues are fixed by correcting the AndroidManifest.xml file.
EDIT2: All fixed http://forum.xda-developers.com/showpost.php?p=29418513&postcount=3
Last edited: