[MOD][May 04] GoogleCamX - Changes Vol up/down buttons to zoom keys - Xposed Framework Modules

GoogleCamX
This is a simple Xposed module for the new Google Camera app so that you can use the volume up & down buttons for zooming in and out.
Should work for both Camera mode (front and rear cams) and Video mode. This module should fill the request by @gridironbear
Install/Configuration
Install Xposed Framework
Activate Xposed app_process
Install this module and enable in Xposed Installer
Reboot or soft-reset
Fire up Google Camera and zoom away
Source
You can find it on my github
Alternate Install
Also available in the xposed repo

Thank you. It works on my Nexus 4 rooted, stock 4.4.2 with TWRP, Xposed and GravityBox.

Could you add an option to take a photo with power button?

cramu said:
Could you add an option to take a photo with power button?
Click to expand...
Click to collapse
Sure.
EDIT: Seems Google took out a permission to do this. Investigating alternatives.

That's strange.
I tried XPosed Additions and power button as camera shutter worked but zooming with volume rocker didn't.

cramu said:
That's strange.
I tried XPosed Additions and power button as camera shutter worked but zooming with volume rocker didn't.
Click to expand...
Click to collapse
Xposed Additions allows you to remap the keyevents, but I'm not sure if they are per-app settings or system-wide. The Power button event normally gets consumed/handled by the framework and not passed to applications.
I'm just handling the Vol up/down keyevents within the Google Camera app, so if those keypresses are never sent through to the app, my module won't see them.

Works as advertised on my Nexus 5 with one exception—it doesn't seem to work on Camera mode with HDR+ enabled.
Other than that, which is more of an observation than a gripe, this is an awesome little module. Thanks!

harland3 said:
Works as advertised on my Nexus 5 with one exception—it doesn't seem to work on Camera mode with HDR+ enabled.
Other than that, which is more of an observation than a gripe, this is an awesome little module. Thanks!
Click to expand...
Click to collapse
Hmm, I don't seem to have an HDR+ option on my One in Google Camera, only HDR; vol zoom still seems to work with it enabled.
Maybe GC is passing it off to the native camera module to enable HDR+.

harland3 said:
Works as advertised on my Nexus 5 with one exception—it doesn't seem to work on Camera mode with HDR+ enabled.
Other than that, which is more of an observation than a gripe, this is an awesome little module. Thanks!
Click to expand...
Click to collapse
I'm also having issues on my Nexus 5 in HDR mode. However, when trying to zoom in HDR mode the volume rocker actually acts as a shutter release.
It seems to zoom just fine in all other modes that I tried.
This is using today's update of the Google Camera App.

Can someone with a Nexus 5 post their stock Camera.apk?

agentdr8 said:
Can someone with a Nexus 5 post their stock Camera.apk?
Click to expand...
Click to collapse
I came through this post now so here you go the Camera app with odex file
EDIT: Please PM me if you need anything

I'd love it if this worked with HDR mode. Great mod so far.

Kuro Miku said:
I'd love it if this worked with HDR mode. Great mod so far.
Click to expand...
Click to collapse
I'll see what I can do about HDR. Can you manually zoom in HDR mode either with a slider or pinch/expand to zoom?

agentdr8 said:
I'll see what I can do about HDR. Can you manually zoom in HDR mode either with a slider or pinch/expand to zoom?
Click to expand...
Click to collapse
Yep, works while pinching/expanding in hdr

Mmmm instead of zooming when i press volume buttons they take a photo
Inviato dal mio Nexus 5 utilizzando Tapatalk

I posted a beta release to the xposed repo that will hopefully work for Nexus 5 users trying to zoom in HDR+ mode. I couldn't find any methods that are specific to HDR+ mode, but I did find an onKeyDown that I hadn't replaced yet, so maybe this will be the one. Please give it a try and let me know if it works or not.

I just tried on my Nexus5, stock ROM; no go.
If I have HDR+ enabled:
Vol Up button caused the Camera app to force close.
Vol Down is actually adjusting sound volume
If I disable HDR+:
Vol Up seems to start zooming in but it caused my phone to reboot.
I had to uninstall it 'cause I have a project on which I need to constantly use the camera.

poodleDoo said:
I just tried on my Nexus5, stock ROM; no go.
If I have HDR+ enabled:
Vol Up button caused the Camera app to force close.
Vol Down is actually adjusting sound volume
If I disable HDR+:
Vol Up seems to start zooming in but it caused my phone to reboot.
I had to uninstall it 'cause I have a project on which I need to constantly use the camera.
Click to expand...
Click to collapse
If you have a chance to pull a logcat of the FC, that might give me some insight into which class I should be focusing on.

agentdr8 said:
If you have a chance to pull a logcat of the FC, that might give me some insight into which class I should be focusing on.
Click to expand...
Click to collapse
Attached the log, I hope this is what you need.
Cheers

poodleDoo said:
Attached the log, I hope this is what you need.
Click to expand...
Click to collapse
Thanks. I'll do some investigative work tomorrow to see if I can fix this.

Related

Camera lag with native app

Is this a fault of the rom? [UnName 1.0.3]
or is it the stock app? Are there any better apps for using the camera that are faster and won't pause for 2 seconds after I've hit the shutter button?
[EDIT]
Also I do have blink detection and anti-shake on, but with these off, its about a half second or so quicker to shoot, still I would like a snappier shooter if possible as I would like to use my phone's awesome camera as a point and shoot. It would also be cool if the lock/power button could be used as a shutter button when in use with the camera app if possible.
Any tips?
I think the shutter delay issue is just part of the phone.
As to the power button question, I believe they are working on modding the camera apk presently to allow for the usage of that as well as using the camera at any battery level(it usually disables it below 15%)
ZeroIsntTheHero said:
I think the shutter delay issue is just part of the phone.
As to the power button question, I believe they are working on modding the camera apk presently to allow for the usage of that as well as using the camera at any battery level(it usually disables it below 15%)
Click to expand...
Click to collapse
Good to know, thanks. Hope the improvements roll out soon.

Camera Manual Focus!!

I am wondering is there is any way that we could control the focus of the camera manually "not like touch to focus" like when we do zooming instead of it will change the focus so it give us stable focus on that point!!
I hope my idea is clear!!
it looks like there is no hope!!
ahmedoxo said:
I am wondering is there is any way that we could control the focus of the camera manually "not like touch to focus" like when we do zooming instead of it will change the focus so it give us stable focus on that point!!
I hope my idea is clear!!
Click to expand...
Click to collapse
the zoom on the xperia s is digital = no hope
optik19918 said:
the zoom on the xperia s is digital = no hope
Click to expand...
Click to collapse
I think he meant that instead of zooming while pressing the volume up and down buttons, that the camera should refocus, like it does when you tap the screen.
Mixters said:
I think he meant that instead of zooming while pressing the volume up and down buttons, that the camera should refocus, like it does when you tap the screen.
Click to expand...
Click to collapse
You can use the camera button to focus
I take pictures on manual mode all the time and that means pictures in low light with less noise
About the focusing, just press the camera button a little bit and then your phone will focus, if you don't like the focus just let the button go and try again while holding the phone slightly different with light source etc, then you can really make nice pictures
Sent from my LT26i using XDA
hey guys I know about this, what am talking about is to have the control of the focus!! once you press on the screen it will ""auto"" focus on that point!! but I want to control the degree of the focus like professional cameras!!
ahmedoxo said:
hey guys I know about this, what am talking about is to have the control of the focus!! once you press on the screen it will ""auto"" focus on that point!! but I want to control the degree of the focus like professional cameras!!
Click to expand...
Click to collapse
You can't.
may be , we can control it by using custom driver for camera.
as in SE k850 , it has manual focus by using custom camdrive.
or, anyone can make app that make manual focus possible ?
I've used some phone from Japan, mainly from Sharp, and all of them have manual focus. It's extremely convenient, especialy when you need to capture something in close distance, like die-casts. They run on customized Symbian, so IMO, Symbian has some driver/libs to support manual focus
I don't know if new Android phones sold locally in Japan can manual focus or not, since I haven't had a chance to take a look of them. But I think Android platform can support that, because the stock Gingerbread ROM on Optimus 2X has manual focus.
manual focus
has any other phone having this option?
Sent from my Xperia U using Tapatalk 2
camera manual focus
Sky A650 was have this option ! i'll take camera.apk in A650 and upload this !!!
Sr for my English
lolz.........
please THIS IS A REQUEST to all MODDERS and DEVELOPERS out there....!!!
If possible, it would be really useful to get manual focus in android..
please respond.. :good: :fingers-crossed:
correct me if im wrong, but i believe this should have been posted on QnA forum :silly:
anyways, yeah everybody's been pining for this for quite some time already here's to hoping that this finally happens :fingers-crossed:
can we assign the volume button as the control of the focus via key layout on android ?
sony_84 said:
can we assign the volume button as the control of the focus via key layout on android ?
Click to expand...
Click to collapse
seems no-one just understands what we are asking for..
you will need a android 4.2!
Don't know if it helps, but camerazoom fx has touch to focus feature :thumbup:
Sent from my LT22i using Tapatalk 2
hlaraujo said:
Don't know if it helps, but camerazoom fx has touch to focus feature :thumbup:
Sent from my LT22i using Tapatalk 2
Click to expand...
Click to collapse
The OP meant for stock camera
sent from my super pimped Xperia Sola
Motorola launch new app for manual focus. Find on google but unfortunately it does work on my phone. I don't know why.

camera button opens camera ...but doesn't capture

the camera button works well opening the camera app but doesn't capture photos except in certain modes not including the superior auto or manual.....any help ?
waleed.619 said:
the camera button works well opening the camera app but doesn't capture photos except in certain modes not including the superior auto or manual.....any help ?
Click to expand...
Click to collapse
Assuming your on stock that';s just the way it is, look into xposed, their maybe a mod to change it, you would need root tho
It used to take photos on stock so i am not sure what happened
waleed.619 said:
It used to take photos on stock so i am not sure what happened
Click to expand...
Click to collapse
There's a option in camera settings called quick launch set that to Launch and capture.

Camera app doesnt "save" picture after pressing shutter button

Im using this rom "https://forum.xda-developers.com/poco-f1/development/rom-pixel-experience-t3857076" and stock camera app doesnt "save" picture after clicking the shutter button. Is this a bug? a restart may or may or may not fix this problem. is there any wrong?
Heimex said:
Im using this rom "https://forum.xda-developers.com/poco-f1/development/rom-pixel-experience-t3857076" and stock camera app doesnt "save" picture after clicking the shutter button. Is this a bug? a restart may or may or may not fix this problem. is there any wrong?
Click to expand...
Click to collapse
this happened to me in lineage os
using Google photos immediately fixed it
idk why pics don't show up in stock gallery but it works fine with Google photos
youssefhf said:
this happened to me in lineage os
using Google photos immediately fixed it
idk why pics don't show up in stock gallery but it works fine with Google photos
Click to expand...
Click to collapse
yea the stock gallery is google photos and it doesnt show up in google photos tho. It just takes a picture and does not save it at all!
anyone?
I had the same problem, it's the Gcamra app's fault and you got 3 options.
Go to your Google camera setting and force HDR in all photos.
Download another camera app. (like the MIUI one for example)
(my perfered one) download the modded Google camera and also enforce HDR. While also having a huge amount of settings to play around with.
Abd121 said:
I had the same problem, it's the Gcamra app's fault and you got 3 options.
Go to your Google camera setting and force HDR in all photos.
Download another camera app. (like the MIUI one for example)
(my perfered one) download the modded Google camera and also enforce HDR. While also having a huge amount of settings to play around with.
Click to expand...
Click to collapse
Hi, may i know where to get the modded gcam app that you speak of? thanks!

Question Can someone dump the stock camera .apk? (pretty please :) )

I am really hoping you can touch to focus on video on the new 1 III model... If someone can confirm/deny I would be grateful.
In any way, uploading the stock camera .apk would be helpful for everyone curious to try it on other xperia devices.
There you go
You can touch to focus or manually focus during recording in the cinema pro app which is focussed on video capturing and editing.
However auto focus during recording didn't work too well in a quick first try. It just couldn't get a hold of the sharp point. But maybe I did something wrong or this will be fixed.
Manual focus however is a dream - wouldn't wan't anything else. You can even preset 2 focus levels and automatically switch between them.
I just downloaded this to my Xperia 5 ii it works I like how they made the basic mode and still have the other options
liggerz87 said:
I just downloaded this to my Xperia 5 ii it works I like how they made the basic mode and still have the other options
Click to expand...
Click to collapse
hi liggerz87, can you tell me if this new version of the app allows to launch the Camera with the dedicated physical button?
If you hit the camera button it pulls up the normal app but you can use the double power button tap to open it by default that way
Also someone made a macro that works only prob you can't use the standard camera app and it disables it

Categories

Resources