-
Notifications
You must be signed in to change notification settings - Fork 427
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
Camera example #41
Camera example #41
Conversation
…er spec to reflect that.
Hey there! |
I think the statement that you are referring to is in buildozer.spec. That file is meant to specify the parameters for the example app and does not affect the camera capture. We do not have any such feature in plyer / kivy as yet. But you should be able to use Pygame APIs to achieve what you want once the image is saved: http://www.pygame.org/docs/ref/transform.html |
having some trouble on Nexus4. after i click the camera icon to take the picture and the image preview stops, the check button at the bottom won't save the image. the back button and exit button both work. any thoughts? clyde |
@amaglamatedclyde Could you give me details about your android version? Plyer uses The media store API for capturing images. The part that you are talking about is most likely not in our control and is managed by Android itself. Also, It would be useful if you could capture a screenshot of the problem. I am not too confident if I understand your problem correctly. |
hi- on Nexus4 Android 4.4.2 the camera preview works, the focus works, and it would appear that an image is captured when the camera icon is pressed. however, at the save image screen the check button has no effect. i looked at logcat and saw no attempted save operations. i can look more closely if it would help, but maybe someone should reproduce the problem first. i will try this on the Nexus7 today. thx |
i just realized the native camera app doesn't even show that screen with the back button, the check mark and the X. also, in the 'basic' app, the back button goes 'back' when pressed and the 'X' sends the app to the background. c |
Hmm. I see. Do you get a message saying the picture could not be saved when your press the back button? I tested this on 4.4.2 as well but on a Samsung Galaxy S4. Let me see if I can try it on a Nexus. |
no, i didn't get a message. i also had trouble on the Nexus 7 but it was different. i got a popup that says 'Can't connect to camera' c |
@trivedigaurav I have the same problem as @amalgamatedclyde (pressing checkmark does nothing), but when I return to the application (by pressing X), I get a 'could not save picture' popup. Cyanogenmod 13.0 (Android 6) on OnePlus Two. |
@redfast00 I will look into this in a couple of days (Have exams now). |
@kiok46: Would you mind if I opened an issue? |
@redfast00, if you're convinced the bug is not in this pull request, but in plyer, then an issue whould be ok. Otherwise sorting it out on this thread is recommended. |
@redfast00 Also, there is already an issue opened by @brousch demanding a working example for camera façade. #16 |
@thegrymek thanks |
This is the basic example for the camera facade. Saves the image with the name given by the user.