Recommended

Skip Navigation LinksHome / News / View News

Windows Phone 7: Navigating After A Picture/Camera Task

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Sep 02, 2010
(0 votes)
While working on a Windows Phone 7 project, Matthias Shapiro came up against a problem in which the project would crash after a picture had been taken. After he spent a little time digging into Internet with no result, Matthias came out with his own solution.

Source: Designer Silverlight

The scenario we wanted went something like this: We wanted the user to tap a button and launch the camera task. This would close (tombstone) the application until the camera task was complete (the user took a picture and returned to the app). Upon completion, the application is re-initiated and the camera task hands the application an image stream that we can use to determine the bar code number. We then navigate to a screen that will show all the information about the product the user just scanned.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 7 and 6 and type the answer here:

Join the free SilverlightShow webcast 'Running Silverlight Outside the Browser and with Elevated Trust'. Sept 7th, 8 am - 9 am PDT.
In this live session Chris Anderson will cover configuring and debugging OOB mode, toast notifications, elevated trust, direct file access and much more.
Learn more | Register | See more webinars (hide this)