In picture hub of WP7, select an image and click "…" when viewing the image. Menu, click extras... A menu appears (this menu shows the list of applications that can share or process the selected image)
The following describes how to implement this one-click Sharing function: In your application Program Create a New XML file named "extras. xml" with the following content: <? XML version = "1.0" encoding = "UTF-8"?> <Extras> <Photosextrasapplication> <Enabled> true </enabled> </Photosextrasapplication> </extras> so that your application will appear in extras... but how to process the selected image, in fact, from extras... when starting your application, the image will be passed to your application through the navigation parameter "token. an example of this image is as follows: protected override void onnavigatedto (navigationeventargs E) { If (navigationcontext. querystring. containskey ("token ")) { Medialibrary library = new medialibrary (); Picture picture = library. getpicturefromtoken (navigationcontext. querystring ["token"]); Bitmapimage bitmap = new bitmapimage (); Bitmap. setsource (picture. getimage ()); Writeablebitmap piclibraryimage = new writeablebitmap (Bitmap ); // The selected image is saved in piclibrayimage. You can process piclibrayimage as needed. // Todo: } }