How to save screen from an XNA app?
Answer / diana
Texture2D has a SaveAsJpeg method and a SaveAsPng method. Be aware that Zune does not sync pngs, so saveasjpeg is recommended
In April's CTP, you could try:
MediaLibrary library = new MediaLibrary(); library.SavePicture(“My Picture”, streamToJpegData); // You can use this from inside a Silverlight app provided you have the ID_CAP_MEDIALIB capability. // You do have to make sure the Stream you pass in contains JPEG file data, but otherwise it should work for you.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can not find phoneapplicationpage.fullscreen in april ctp?
Explain how to send suggestions on how to better the app to the ap?
Tell me what happened to TopLevelNavigationService, it is not there on April CTP Refresh?
Is .bmp format supported?
How to restart or shutdown my application programmatically?
Tell me What are the supported codecs for video?
Is it possible to run two instances of emulator on the same machine. I am doing some networking app and need two emulators to test it?
How to change language settings?
Does the web browser control share the ie cache?
Explain Windows Phone Multitasking?
Suppose I am trying to detect if an external headset is attached to the phone, can I use microsoft.xna.framework.audio.microphone.isheadset?
Tell me is there a way to detect if application is idle?