tuhuayuan / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Camera command doesn't work and answer an error #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Send the camera command.
2. Listen the foxus sound, but no photo taken
3. after few minutes, send camera command again

What is the expected output?
normally a photo woul'd be saved in SDCARD/DCIM/GTALKSMS folder

What do you see instead?
No photo taken at the first attempt.
A error at the second attempt : error while getting picture: 
java.lang.RuntimeException: Fail to connect to camera service

Additional informations:
GTalkSMS version = 2.2.3
Android OS version = 2.2.1 (FROYO)
Phone model = Motorola Milestone.

Original issue reported on code.google.com by esteve.g...@gmail.com on 17 May 2011 at 12:19

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 11 Jul 2011 at 4:10

GoogleCodeExporter commented 8 years ago
I'm having this very same issue.

GTalkSMS version = 3.0
Android OS version = 2.2.1
Phone model = LG Optimus V

Original comment by swashbun...@gmail.com on 17 Jul 2011 at 1:39

GoogleCodeExporter commented 8 years ago
Does this happen every time you try to take a picture? Could you send an AppLog 
please.

Original comment by fschm...@gmail.com on 19 Jul 2011 at 7:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes this happens every time.
I send "camera" to phone, it clicks, but no picture is taken.
Anytime I send "camera" to phone after that I get "Error while getting picture: 
Fail to connect to camera service". I can't even access my camera at the phone. 
I have to reboot the phone to get camera function back.

Here is a log.

Original comment by swashbun...@gmail.com on 20 Jul 2011 at 6:59

Attachments:

GoogleCodeExporter commented 8 years ago
From the log it seems that another app has already a lock for the systems 
camera but never releases it. Could you try to uninstall any kind of 3rd party 
camera apps? Or was the systems camera app active by the time you tried to make 
the photo?

07-20 02:39:41.856 D/gtalksms(  321): onCommandReceived(): "camera"
07-20 02:39:41.856 W/CameraService(   71): Attempt to use locked camera (client 
0x0) from different process  (old pid 0, new pid 321)
07-20 02:39:41.866 E/mm-camera(   71): config_proc_CAMERA_STOP_SNAPSHOT: state 
is not correct ctrl->state = 28
07-20 02:39:41.866 D/QualcommCameraHardware(   71): release E
07-20 02:39:41.866 I/gtalksms(  321): Sending message "Error while getting 
picture: Fail t..." to swash@jabber.org/7431b5aff1ef4f42
07-20 02:39:41.886 D/QualcommCameraHardware(   71): release X
07-20 02:39:41.886 D/QualcommCameraHardware(   71): ~QualcommCameraHardware E
07-20 02:39:41.886 D/QualcommCameraHardware(   71): ~QualcommCameraHardware X

Original comment by fschm...@gmail.com on 12 Aug 2011 at 4:39

GoogleCodeExporter commented 8 years ago
According to the description, and the problem i've got, 
it seem that it was the first camera action which lock the camera. 

The first attemp make the "auto focus" sound to be played (on my milestone).
ANd the error message come with the second attemp.

Original comment by esteve.g...@gmail.com on 13 Aug 2011 at 2:55

GoogleCodeExporter commented 8 years ago
Bumping -- I would love for this feature to work! I have attached my own log 
file, which was generated by a Droid  Incredible running Android v2.3.4. 

Original comment by alex.car...@controlgroup.com on 19 Jul 2012 at 2:51

Attachments:

GoogleCodeExporter commented 8 years ago
New fixes added.
It works on Nexus 4, GS2 and Galaxy Note 10.1

I hope that is working on every device

Original comment by Florent....@gmail.com on 15 Oct 2013 at 10:13

GoogleCodeExporter commented 8 years ago
Issue 250 has been merged into this issue.

Original comment by Florent....@gmail.com on 15 Oct 2013 at 10:14

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 15 Oct 2013 at 11:48

GoogleCodeExporter commented 8 years ago
4.4.2 Beta 2 available in the Download section

Original comment by Florent....@gmail.com on 18 Oct 2013 at 10:14

GoogleCodeExporter commented 8 years ago
Final version 4.4.2 available in the Download section

Original comment by Florent....@gmail.com on 20 Oct 2013 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 26 Oct 2013 at 1:07

GoogleCodeExporter commented 8 years ago
What is the actual coding fix for this issue?
Thanks

Original comment by sanchi...@gmail.com on 10 Apr 2014 at 6:46