Page 1 of 1

Camera

Posted: Wed Mar 07, 2012 4:17 pm
by TheBigDuck
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.

Re: Camera

Posted: Wed Mar 07, 2012 4:21 pm
by Klaus
Hi TheBigDuck,

it is available... NOW! :D

Well this is already available for at least a couple of versions:
-> iPhonePickPhoto
-> mobilePickPhoto

Check the "iOS/Android Release Notes" Menu: Help!


Best

Klaus

Re: Camera

Posted: Wed Mar 07, 2012 4:35 pm
by TheBigDuck
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.

Re: Camera

Posted: Wed Mar 07, 2012 4:53 pm
by Klaus
Hi Heinrich,

hmm, take a picture from WHERE?
"rear camera", "fron camera" or the generic "camera" keyword?

Sorry, I'm not getting it 8)


Best

Klaus

Re: Camera

Posted: Wed Mar 07, 2012 5:04 pm
by TheBigDuck
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.

Re: Camera

Posted: Wed Mar 07, 2012 5:14 pm
by Klaus
Hi Heinrich,

AHA! :D

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
I do not have an iOS license, so I cannot test this, but you get the picture :D


Best

Klaus

Re: Camera

Posted: Wed Mar 07, 2012 5:19 pm
by TheBigDuck
Vielen Danke!

When I get back from my vacation, I will start right away!

alles beste,

Heinrich

Re: Camera

Posted: Wed Mar 07, 2012 5:25 pm
by Klaus
Hi Heinrich,

gern geschehen :D
Enjoy your holiday!


Best

Klaus

Re: Camera

Posted: Wed Mar 07, 2012 5:27 pm
by sturgis
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

Posted: Wed Mar 07, 2012 5:56 pm
by mwieder
:P

Re: Camera

Posted: Fri Mar 09, 2012 6:31 am
by yoyolau
:mrgreen: V!

Re: Camera

Posted: Fri Mar 09, 2012 12:27 pm
by Klaus
:D :D :D

Re: Camera

Posted: Wed Mar 21, 2012 6:19 am
by NigelS
Snap... gotit. :wink:

Re: Camera

Posted: Fri Jul 13, 2012 10:41 am
by jr180180
Love it, Klaus! Thanks for that!

Re: Camera

Posted: Mon Jul 23, 2012 1:54 pm
by monte
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