Registering as a Lens
To register your app as a lens, you need to add an Extension element to the app’s WMAppManifest.xml file. Open the WMAppManifest.xml file by right-clicking the file and selecting View Code. If not already present, add an Extensions element immediately after the Tokens element. Within the Extensions element add an Extension element, as shown:
<Extensions> <Extension ExtensionName="Camera_Capture_App" ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5631}" TaskID="_default" /></Extensions>
Once in place, your app is displayed on the lens picker page.
Tapping on your app’s icon in the lens picker page launches your app to its main page.
To determine whether the launch is from ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.