'Take picture' function returns black photo
Moderator: Martin
'Take picture' function returns black photo
Hi all,
I'm just trying to create my own intrusion alert that's supposed to take GPS/network coordinates, snap a front camera picture and email both to my secondary mail account.
Location works, but the photo is just plain black - anyone knows why and how to get around?
Nexus 5, Android 4.4.2, fully rooted, Google camera 2.3.019.
I'm just trying to create my own intrusion alert that's supposed to take GPS/network coordinates, snap a front camera picture and email both to my secondary mail account.
Location works, but the photo is just plain black - anyone knows why and how to get around?
Nexus 5, Android 4.4.2, fully rooted, Google camera 2.3.019.
Re: 'Take picture' function returns black photo
Hi,
Take Picture works for me on a Nexus 5. Could you please post the flow that produces the black pictures so I can try to reproduce it with the same settings? You can post a link to the flow using the Publish Flows/Widgets button within the forum in Automagic.
Are you using Xposed or a custom ROM?
Regards,
Martin
Take Picture works for me on a Nexus 5. Could you please post the flow that produces the black pictures so I can try to reproduce it with the same settings? You can post a link to the flow using the Publish Flows/Widgets button within the forum in Automagic.
Are you using Xposed or a custom ROM?
Regards,
Martin
Re: 'Take picture' function returns black photo
Sure thing, please find the flow attached. I'm using Xposed, but stock ROM.
Best,
Chris
Best,
Chris
- Attachments
-
- flow_Intrusion_detection_20140714_170850.xml
- Intrusion detection flow
- (7.49 KiB) Downloaded 836 times
Re: 'Take picture' function returns black photo
Hmm, the flow works on my device. Perhaps yet again some kind of Xposed problem.
Could you please enable Debug Log in the preferences of Automagic, execute the flow once manually in Automagic (menu->Execute), verify that the picture is black again and then send the log to me by mail (on the flow list: menu->Manage->Log, menu->Send Log).
Could you please enable Debug Log in the preferences of Automagic, execute the flow once manually in Automagic (menu->Execute), verify that the picture is black again and then send the log to me by mail (on the flow list: menu->Manage->Log, menu->Send Log).
Re: 'Take picture' function returns black photo
Don't ask me why, but for some reason it's working now. Very weird, I've been playing around with it the whole weekend without success. Oh well... Sorry for bothering you over nothing!
Re: 'Take picture' function returns black photo
No problem, glad it's working now
Please send me a mail with the debug log if it should start to fail again.
Please send me a mail with the debug log if it should start to fail again.
Re: 'Take picture' function returns black photo
I will, thanks for the support!
Re: 'Take picture' function returns black photo
Hi Martin,
I just unintentionally recreated the error when trying to login half asleep. Failing twice, I triggered the flow and the pic was taken, plain black. Could it possibly be a result of not being logged in? That's how i tried it over the weekend, while yesterday I manually executed the flow (while being logged in).
I'll send you the log in a minute, but it looks totally normal, no errors at all...
I just unintentionally recreated the error when trying to login half asleep. Failing twice, I triggered the flow and the pic was taken, plain black. Could it possibly be a result of not being logged in? That's how i tried it over the weekend, while yesterday I manually executed the flow (while being logged in).
I'll send you the log in a minute, but it looks totally normal, no errors at all...
Re: 'Take picture' function returns black photo
Hi Chris,
The log looks normal but lacks some details. Could you please check that Debug Log is enabled in the preferences of Automagic and try to make the flow produce a black image again. Please also ensure that the log is not filtered (indicated in the title of the log screen). You can use the pencil-button to remove the filter.
Taking a picture should work even when the screen is locked. I'm using a similar flow on a Nexus 5 since quite a long time and did not get any black pictures yet. Did you try to disable all Xposed modules to see if Xposed somehow interferes with the cam? Are you using Xposed modules or other automation tools/device administrators that could disable the cam when the lock screen is shown?
Which lock screen are you using?
Regards,
Martin
The log looks normal but lacks some details. Could you please check that Debug Log is enabled in the preferences of Automagic and try to make the flow produce a black image again. Please also ensure that the log is not filtered (indicated in the title of the log screen). You can use the pencil-button to remove the filter.
Taking a picture should work even when the screen is locked. I'm using a similar flow on a Nexus 5 since quite a long time and did not get any black pictures yet. Did you try to disable all Xposed modules to see if Xposed somehow interferes with the cam? Are you using Xposed modules or other automation tools/device administrators that could disable the cam when the lock screen is shown?
Which lock screen are you using?
Regards,
Martin
Re: 'Take picture' function returns black photo
I'm using the stock lockscreen, although in use through nova launcher, not sure if this is making any difference. Got about 10 Xposed modules running, but none of them is effecting camera or lockscreen behavior. Just deactivated them all, rebooted and sent you the resulting log (including debug, missed that in the first attempt). Picture is still black
I'm just now going through the list of functions I've been freezing with titanium backup, killed about 30% of the systems apps. Maybe one of those relates to the error...
I'm just now going through the list of functions I've been freezing with titanium backup, killed about 30% of the systems apps. Maybe one of those relates to the error...