Problem updating Tile image directly from PictureLibrary

Unanswered Problem updating Tile image directly from PictureLibrary

  • 13 aprilie 2012 08:31
     
     

    Hi, 

    Please help me with the Tile notification image assignment. I couldn't find the resolution to assign images from PictureLibrary directly to Tile.

    The Windows Dev tutorial assigns images from either Local or web, but local ("ms-appdata:///local/) is not the resource I want. 

    Thanks in advance!

    Jerry

    Hi, 

    Thanks of the answer. 

    Does the Metro app by Windows "Photos" also duplicates all the files from Picture Library to show in "Pictures library"?

    It seems like quite wasteful for memory, since user will have 2 sets of the same data occupied in the same device and overhead operation for duplicating all the files. 

    Thanks,

    Jerry


    • Editat de Jerrywu12 23 aprilie 2012 03:05 update extension question
    •  

Toate mesajele

  • 16 aprilie 2012 08:04
    Moderator
     
     

    Hi,

    As a workaround, you can copy the specific image from PictureLibrary into local app datastore and then access it with the "ms-appdata:///local/" prefix.

    Otherwise, for example, ITileWideImageAndText01.BaseUri must begin with http://, https://, ms-appx:///,ms-appdata:///local/. So you cannot set BaseUri to PictureLibrary folder and then set ITileWideImageAndText01.Image.Src to the specific file name in PictureLibrary folder.

    It seems no way to directly refer the image file in PictureLibrary if the file is not packaged into metro app.


    Best wishes,


    Robin [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


  • 17 aprilie 2012 01:44
     
     

    Hi, 

    Thanks of the answer. 

    Does the Metro app by Windows "Photos" also duplicates all the files from Picture Library to show in "Pictures library"?

    It seems like quite wasteful for memory, since user will have 2 sets of the same data occupied in the same device and overhead operation for duplicating all the files. 

    Thanks,

    Jerry

  • 8 august 2012 09:54
     
     
    So is the official answer to this question copy the user's file to the local app folder?  I agree with Jerry that it seems wasteful.  There's no other way?