kashif181 / gtalksms

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

Enhancement: Take a single photo #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What about creating a command to take a photo ? 

And to send it to an email for example ?

Original issue reported on code.google.com by guilhem....@gmail.com on 16 Apr 2011 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 16 Apr 2011 at 2:23

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 16 Apr 2011 at 2:23

GoogleCodeExporter commented 8 years ago
First version commited with photo taken without confirmation & a popup to 
choose how to send image

Original comment by Florent....@gmail.com on 16 Apr 2011 at 6:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 19 Apr 2011 at 9:57

GoogleCodeExporter commented 8 years ago
camera
  To store the picture on the phone
camera:xmpp
  To store the picture on the phone and send it on XMPP without (confirmation on phone)
camera:mail
  To store the picture on the phone and send it by email (need confirmation on phone)

Original comment by Florent....@gmail.com on 24 Apr 2011 at 8:12

GoogleCodeExporter commented 8 years ago
I've tested, and it doesn't work fine : 

 moi:  camera:xmpp  => the phone make the sound of the auto focus but nothing more.
After 30 seconds new attemp.
camera:xmpp
 Tel:  error while getting picture: java.lang.RuntimeException: Fail to connect to camera service

If I start the camera on the phone i get "Error at the camera level : 
Impossible to establish connection with the camera"

I also test Camera commande. 
Same issue and no photo taken in the Gallery.

If I cant activate log tell me how.

My phone : 
Motorola Milestone (or Droid in US)
Android V2.2.1

Original comment by esteve.g...@gmail.com on 27 Apr 2011 at 10:09

GoogleCodeExporter commented 8 years ago
It's a beta feature :)
With this error I assume that you can't connect anymore to the vanilla camera 
program.
You have to restart your phone.

First you have to try the camera command without arg to see if it's works. 
After use mail/xmpp arg (file transfer doesn't work with all configs).

I've test it with a HTC Magic (only one camera) what is your phone ?

Original comment by Florent....@gmail.com on 27 Apr 2011 at 10:16

GoogleCodeExporter commented 8 years ago
I've just see that your are using a Motorola Milestone :)

I think that is only due to the file transfer error

Original comment by Florent....@gmail.com on 27 Apr 2011 at 10:19

GoogleCodeExporter commented 8 years ago
here the test with the camrea command only. same sounds and no photos taken 
(unless they are not stored in the standard gallery folder).

moi:  camera
camera
 Tel:  error while getting picture: java.lang.RuntimeException: Fail to connect to camera service

Original comment by esteve.g...@gmail.com on 27 Apr 2011 at 10:35

GoogleCodeExporter commented 8 years ago
Do you have restart your phone ?

Original comment by Florent....@gmail.com on 27 Apr 2011 at 10:52

GoogleCodeExporter commented 8 years ago
off course I do.

Original comment by esteve.g...@gmail.com on 27 Apr 2011 at 11:19

GoogleCodeExporter commented 8 years ago
hmm, you have the error on the first try ? Or you send command several times ?
Can you generate a full log ?

Pictures are stored in /sdcard/DCIM/GTalkSMS/

Original comment by Florent....@gmail.com on 27 Apr 2011 at 11:42

GoogleCodeExporter commented 8 years ago
the error message is shown at the second try.

the folder /sdcard/DCIM/GTalkSMS/ is empty

It seem the the camera need several minutes to become ok. 
moi:  camera ( => making focus sounds)
 Envoyé mercredi à 13:47
 moi:  camera
 Tel:  error while getting picture: java.lang.RuntimeException: Fail to connect to camera service
 Envoyé mercredi à 13:49
 moi:  camera ( => making focus sounds)
 Envoyé mercredi à 13:52

But I don't know how to generate a full log file.

I find an option Générate log in debug mode, but how I set the debug mode ?

Original comment by esteve.g...@gmail.com on 27 Apr 2011 at 12:01

GoogleCodeExporter commented 8 years ago
It's a dead lock on the camera if you send several times the command (I've to 
implement a lock for futher version). You have to reboot (or kill the service 
process [not the application]) to have access to the camera (maybe a stop 
command is enought).

Settings > application > advanced > debug log
http://code.google.com/p/gtalksms/wiki/GenerateAppLog

With the log I will maybe see if it's a hardware issue

Original comment by Florent....@gmail.com on 27 Apr 2011 at 1:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I ve sent logs to the group address.

Original comment by esteve.g...@gmail.com on 27 Apr 2011 at 6:13

GoogleCodeExporter commented 8 years ago
I'm afraid that is not enought.
There is no trace of an error on the camera.
Can you generate logs with all system logs ? not only gtalksms ?
If you don't know how, we will enhance the reporting tool to put a new "system 
log" option.

Do you have a custom rom ?

Original comment by Florent....@gmail.com on 27 Apr 2011 at 10:52

GoogleCodeExporter commented 8 years ago
Sorry, I don't know how to generate full system logs. 

I'm with the standard Android 2.2 Rom publish some days ago by Motorola 

Original comment by esteve.g...@gmail.com on 28 Apr 2011 at 5:03

GoogleCodeExporter commented 8 years ago
I've send directly to your email the full log of the test with GTALKSMS 2.2.3 

Original comment by esteve.g...@gmail.com on 11 May 2011 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 11 Jul 2011 at 9:22

GoogleCodeExporter commented 8 years ago
Fixed in v3.0

Original comment by Florent....@gmail.com on 15 Jul 2011 at 3:35

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 7:50

GoogleCodeExporter commented 8 years ago
amazing!

Original comment by laurent....@gmail.com on 3 Nov 2011 at 3:38