Windows Phone 7 - Capture Screen

前端 未结 2 667
我寻月下人不归
我寻月下人不归 2021-02-15 11:13

I am trying to capture the screen whilst my windows mobile application is running. I have this so far but I keep getting an ArgumentException of The parameter is incorrect

相关标签:
2条回答
  • 2021-02-15 11:42

    Not sure on first inspection. The SaveJpeg params look okay, but not sure about the WritableBitmap..

    Check here for a code example:

    http://geekswithblogs.net/lbugnion/archive/2010/12/28/taking-a-screenshot-from-within-a-silverlight-wp7-application.aspx

    0 讨论(0)
  • 2021-02-15 11:51

    Here's another solution just published by Jeff Wilcox

    http://www.jeff.wilcox.name/2011/10/screenshots-cs-how-to-capture-screenshots-of-your-app-on-your-device/

    It captures screenshots at intervals you specify and then saves them to IsolatedStorage.

    0 讨论(0)
提交回复
热议问题