×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    12

    Can you save a picture to a custom folder in the media library?

    I've searched everywhere I can think of, and I believe the answer is that you cannot, but I figured I'd ask anyway. Whenever I use the MediaLibrary.SavePicture method, it always puts the pictures in the "Saved Pictures" album. I see no options available to save to a different folder.

    I know you can access multiple albums (code below), but how do you save pictures to different ones?

    using (var library = new MediaLibrary())
    {
    // get all the picture albums
    PictureAlbumCollection pictureAlbums = library.RootPictureAlbum.Albums;
    // get a specific album like the Camera Roll
    PictureAlbum cameraRollAlbum = pictureAlbums.Where(album => album.Name == "Camera Roll").FirstOrDefault();
    // get the pictures in the album
    var cameraRollPictures = cameraRoll.Pictures
    }

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    964

    Re: Can you save a picture to a custom folder in the media library?

    You have 2 Methods for MediaLibrary.

    SavePicture -> for "Saved Pictures"
    SavePictureToCameraRoll - For "camera roll"

    The alternative is to save on the Isolated Storage of your app.

    You can also upload your picture to a specific folder on your skydrive account. If you use the same Skydrive account that is associated with your MS Account that you used on your phone, the albums will show up also on the Albums section. It will be online, not locally, but depending on your needs, may be an option.

Similar Threads

  1. Save picture
    By kunlamp in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2010-05-05, 09:14
  2. Run on Media Folder but not in Applications Folder
    By emadridm@gmail.com in forum Mobile Java General
    Replies: 1
    Last Post: 2009-12-28, 09:07
  3. External Media Library
    By desijatt in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2006-09-27, 00:24
  4. Save msg to folder
    By Amilael in forum Symbian
    Replies: 1
    Last Post: 2006-09-07, 11:02
  5. How to save a picture in RMS?
    By genepi- in forum Mobile Java General
    Replies: 4
    Last Post: 2004-01-06, 02:23

Posting Permissions

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