Take a photo or provide opportunity to choose picture from phone in XNA-game
In my XNA-Game I want to provide the oppertunity to take a picutre with the camera of the phone or choos开发者_开发问答e a picture of the memory (PhotoChooserTask).
I read something about the Microsoft.Phone.Tasks-Namespace. But I can't use it.
You should be able to use Microsoft.Phone.Tasks namespace and the tasks inside it also in XNA application, but Microsoft.Phone assembly is not referenced by default in XNA applications so you need to explicitly add it. (Add by right clicking References in Solution Explorer and Microsoft.Phone should be one of the first ones in .NET tab.)
精彩评论