Camera
Moderator: Klaus
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
Camera
I have a very simple feature request.
Be able to take a picture within my mobile app so that I can then do what I wish with the image.
The moment this feature is available, please let me know.
Be able to take a picture within my mobile app so that I can then do what I wish with the image.
The moment this feature is available, please let me know.
Re: Camera
Hi TheBigDuck,
it is available... NOW!
Well this is already available for at least a couple of versions:
-> iPhonePickPhoto
-> mobilePickPhoto
Check the "iOS/Android Release Notes" Menu: Help!
Best
Klaus
it is available... NOW!

Well this is already available for at least a couple of versions:
-> iPhonePickPhoto
-> mobilePickPhoto
Check the "iOS/Android Release Notes" Menu: Help!
Best
Klaus
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
Re: Camera
Hi Klaus,
Yes, but this requires the user to take pictures with the camera (using the iOS/Android app) and THEN use pickPhoto to select from gallery.
I want a BUTTON that my user can press that TAKES the PICTURE.
Yes, but this requires the user to take pictures with the camera (using the iOS/Android app) and THEN use pickPhoto to select from gallery.
I want a BUTTON that my user can press that TAKES the PICTURE.
Re: Camera
Hi Heinrich,
hmm, take a picture from WHERE?
"rear camera", "fron camera" or the generic "camera" keyword?
Sorry, I'm not getting it
Best
Klaus
hmm, take a picture from WHERE?
"rear camera", "fron camera" or the generic "camera" keyword?
Sorry, I'm not getting it

Best
Klaus
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
Re: Camera
Sorry Klaus,
Here is the work flow.
1. Customer launches app.
2. App has a button that takes a picture from the REAR (facing AWAY from the user) camera.
3. The image is then sent to a remote server.
Pretty simple.
I hope I made myself clear, and I sincerely thank you for your time in answering my questions.
Here is the work flow.
1. Customer launches app.
2. App has a button that takes a picture from the REAR (facing AWAY from the user) camera.
3. The image is then sent to a remote server.
Pretty simple.
I hope I made myself clear, and I sincerely thank you for your time in answering my questions.
Re: Camera
Hi Heinrich,
AHA!
OK, here some pseudocode for this:
I do not have an iOS license, so I cannot test this, but you get the picture
Best
Klaus
AHA!

OK, here some pseudocode for this:
Code: Select all
on mouseup
## We will work BEHIND the curtains :-)
lock screen
## 1. take picture
iPhonePickPhoto "rear camera", 800,800
## 2. "export" image to a Variable as JPEG or whatever...
export last image to tImageData as JPEG
## 3. Put on server
put tImageData into url("ftp:// your FTP Server here...")
## OPTIONAL:
## check if upload was successfull and delete image in that case:
if the result = empty then
delete last image
else
## ERROR of some kind, alert user or developer:
answer "Error uploading! & CR & the result
end if
end mouseup

Best
Klaus
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
Re: Camera
Vielen Danke!
When I get back from my vacation, I will start right away!
alles beste,
Heinrich
When I get back from my vacation, I will start right away!
alles beste,
Heinrich
Re: Camera
Hi Heinrich,
gern geschehen
Enjoy your holiday!
Best
Klaus
gern geschehen

Enjoy your holiday!
Best
Klaus
Re: Camera
Funny, even if unintentional.
Klaus wrote: I do not have an iOS license, so I cannot test this, but you get the picture
Re: Camera
Snap... gotit. 

Re: Camera
All humor aside I don't think locking the screen will work. Do you want no video preview at all? It's possible that I could support this with my mergAV external. You should be able to create the control but not show it.
Cheers
Monte
Cheers
Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/