Re: Take a picture iPhone camera

2012-01-04 Thread paolo mazza
Hi all,
still I do not know hot to click the button of the camera in order to
take the picture automatically.

Then, using this script  in a button of a  iOS App ...

on mouseUp

   iPhonePickPhoto camera

   put the long ID of the last image of this card into NUMEROIMMLONG

   iphoneExportImageToAlbum NUMEROIMMLONG

   delete NUMEROIMMLONG

   if the result is not empty then
  answer the result
   else
  answer OK
   end if

end mouseUp

... at the end of the process I get tha picture saved in the camera
roll folder but ...

1 -  the picture is 90° turned right (I took a portrait picture and
I got a landscape picture)

2 - the delete command works in the IDE but it does not work in the iPhone


Any idea? Thanks a lot

Paolo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Take a picture iPhone camera

2012-01-03 Thread paolo mazza
Hi Gerry,
I know that using the iPhonePickPhoto  command  I  can open the
camera application of the iPhone, let the user to take a picture (he
has to click the proper button) ,  import the image and save it in the
pictures folder.
However,  I wonder if there is a way to take a picture (opening the
camera application and taking the picture) and to save it directly to
the camera roll   from a LiveCode app .
Any idea?
Thanks a lot
Paolo Mazza
-

On Tue, Jan 3, 2012 at 6:36 AM, Gerry Orkin gerry.or...@gmail.com wrote:
 Paolo

 It's in the release notes for iOS. Look for Photo album and camera support 
 and Saving photos to the users album.

 Gerry






 On 03/01/2012, at 1:47 PM, Paolo Mazza wrote:

 Hi All,
 New year, new question!
 How to Take a picture (and save the image in the pictures folder) using the 
 iPhone camera in an iOS app?
 Best wishes for an happy new year.
 Paolo Mazza
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Take a picture iPhone camera

2012-01-02 Thread Gerry Orkin
Paolo

It's in the release notes for iOS. Look for Photo album and camera support 
and Saving photos to the users album.

Gerry






On 03/01/2012, at 1:47 PM, Paolo Mazza wrote:

 Hi All,
 New year, new question!
 How to Take a picture (and save the image in the pictures folder) using the 
 iPhone camera in an iOS app?
 Best wishes for an happy new year.
 Paolo Mazza
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode