3

I want to let users to get an image from their picture library (place where pictures taken with camera are) to use as an Avatar in my app. Or maybe, I can add some images to XAP file.

My questions are:

  1. What must I do to let user select a picture from its picture library?

  2. What must I do to let user select an image added to XAP?

VansFannel
  • 45,055
  • 107
  • 359
  • 626

1 Answers1

3

1) Use PhotoChooserTask or MediaLibrary

2) Use ResourceManager with Resource URIs (AKA Pack URIs)

Community
  • 1
  • 1
decyclone
  • 30,394
  • 6
  • 63
  • 80
  • How can I get a list of available images of a folder? If I add some images to folder /Assets/Images. How can I get all Uri for those images? – VansFannel May 10 '11 at 09:19