×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    Saving captured images from phone camera to disk?

    I want to capture images from my phone cam and then save them to disk.
    That is as soon as I take a pic it should save it to external disk, and then I will go on to take the 2nd pic and save and the process will continue for a pre-defined number of pics.
    Is it possible to do this with a python script.
    Phone is S60 5th Edition 5800XM.

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Saving captured images from phone camera to disk?

    I think yes u can. Try this script :
    Code:
    import camera
    mypic = camera.take_photo(size = (640,480))
    mypic.save(u"e:\\myimage.jpg")
    For more details , take a look here :
    Pys60 tutorials (look for Camera Topic)

    Best Regards,
    SajiSoft

  3. #3
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    Re: Saving captured images from phone camera to disk?

    Quote Originally Posted by sajisoft View Post
    I think yes u can. Try this script :
    Code:
    import camera
    mypic = camera.take_photo(size = (640,480))
    mypic.save(u"e:\\myimage.jpg")
    For more details , take a look here :
    Pys60 tutorials (look for Camera Topic)

    Best Regards,
    SajiSoft
    Thanks, Would there be a security dialog shown to the user everytime something is written to disk?
    If so can I disable it by default and allow the script free access to save all files to disk?

  4. #4
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: Saving captured images from phone camera to disk?

    Quote Originally Posted by KevinBoyd View Post
    Thanks, Would there be a security dialog shown to the user everytime something is written to disk?
    If so can I disable it by default and allow the script free access to save all files to disk?
    No security dialogs. But you can change the capabilities when generating the sis file.

Similar Threads

  1. Taking Picture with an MMAPI from Phone Camera in J2ME
    By austin007 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2012-02-01, 15:48
  2. Byte primitive limit in saving Images to RMS
    By seaumus in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2009-02-05, 11:49
  3. OMA DRM media transfer using PC to Phone using USB
    By venky123 in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2008-08-13, 03:02
  4. Replies: 0
    Last Post: 2002-08-28, 10:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×