It seems that all wp7 apps have sandboxing. My app downloads an MP3, can I at least sync it with Zune or somehow save it 开发者_如何学Pythonto PC?
In the current version of WP7 you cannot save songs to the media library.
You can save them to IsolatedStorage, but since your goal is to transfer them off the device, your only option is to upload them to a web service. From there you can then transfer the files to a PC etc.
Thanks, Stefan Wick - Microsoft Silverlight
Anything that you download can be saved to isolated storage, but that is unique to your application, is not synched with Zune, and cannot be accessed by other applications. You could take a look at this approach for desktop communication, but then you'd need to provide a desktop application. In which case, you might just as well download the MP3 on the desktop and let Zune sync it with your WP7 normally. If you're provided something more than just media playback, then you can just access the phone's media library from your app.
精彩评论