Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taken photo hasn't been saved. #710

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 1 comment
Open

Taken photo hasn't been saved. #710

GoogleCodeExporter opened this issue Mar 19, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What device(s) are you experiencing the problem on?
Sony Ericsson Arc S

What firmware version are you running on the device?
Android 4.4.4

What steps will reproduce the problem?
My code:
# -*- coding: utf-8 -*-
import android

droid = android.Android()
droid.cameraInteractiveCapturePicture('/storage/sdcard0/Download/foo.jpg')
exit()

What is the expected output? What do you see instead?
Expected:
User take a photo and after click the tick, the photo is saved and can be seen 
at the specified path(/storage/sdcard0/Download/) with the specified 
name(foo.jpg)

Instead of it:
After put the tick, the camera quit and the script is running, doesn't reach 
exit()

What version of the product are you using? On what operating system?
The newest one: r6x03
OS: Windows 8.1 Enterprise

Please provide any additional information below.
I tried with other pathes(windows Download folder and android sl4's script 
folder) and emulator(Android virtual device).

Original issue reported on code.google.com by roland.n...@gmail.com on 3 Nov 2014 at 11:02

Attachments:

@GoogleCodeExporter
Copy link
Author

I solved the problem. I connect my phone in MTP mode and then some files are 
not visible for the computer. If I choose UMS I can acces the files but i 
needed a kitkat widget: running a system wide media scan. Normal apps can't do 
this anymore as of KitKat so you need root unfortunately. I used this app:

https://play.google.com/store/apps/details?id=com.logika.rescan&hl=en 

Original comment by roland.n...@gmail.com on 5 Nov 2014 at 11:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant