13 aprilie 2012 08:31
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!
- Editat de Jerrywu12 23 aprilie 2012 03:05 update extension question
16 aprilie 2012 08:04Moderator
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.
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.
- Editat de Robin_YangMicrosoft Employee, Moderator 16 aprilie 2012 08:07
17 aprilie 2012 01:44
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.
8 august 2012 09:54So 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?