|
In this small article I will discuss on how to launch application from Picture Hub in Windows Phone. If any app is picture related we might like it to be launched from Picture Hub to increase user launch experience of the app.
Step 1: Create a new Silverlight Windows Phone project.
Step 2: Provide name to the project and you will promepted to select Target Framework Version. Select Windows Phone 7.1.
This feature is supported in Windows Phone 7.1 only so make sure you choose Target Windows Phone Version as Windows Phone 7.1.
Step 3: Open WMAppManifest.xml present in Properties folder. Place below code after Tokens element.
< Extensions> <Extension ExtensionName="Photos_Extra_Hub" ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}" TaskID="_default" /> </Extensions>
ExtensionName should be Photos_Extra_Hub which is picture extension identifier.
ConsumerID "5B04B775-356B-4AA0-AAF8-6491FFEA5632" is used by each pictures extension
Step 4: Now run the application on Device. The emulator doesn't have access to picture applications.
Go to start screen and then Pictures application. You will get your app listed in Picture Hub like show below.

This ends the article of launching application from picture hub.
|