开发者

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.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜