Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

Windows Phone 7 - Access Camera

Hi,

Writing a Windows 7 Phone application in Visual Studio 2010 / C# - this is using Silverlight / XAML.  One of the requirements of the application is that the user must be able to take up to 8 pictures and then send these pictures back via a web service to the server.

1> How do I access the camera from the application itself?

2> How can I send the pictures back - I assume that I would need to embed the image in an XML stream which would then be unpacked at the server.

Thanks for any suggestions
0
ChrisMDrew
Asked:
ChrisMDrew
  • 2
  • 2
1 Solution
 
ChrisMDrewAuthor Commented:
Thanks!
0
 
ChrisMDrewAuthor Commented:
Mial613

You seem to be answering most of my Windows Mobile Questions - thanks.  Looking at the example you linked to this seems to be for Windows Mobile 7.1 and I can't get it to work with 7.0.  Any thoughts?

The problem appears to be that Microsoft.Devices.PhotoCamera is a 7.1 object not 7.0.
0
 
Mikal613Commented:
Yes.

Windows 7.0 aka NoDo had very limited access to the camera api
Windows 7.1 aka Mango added more access to the Camera Api but still limited.

The 7.1 update is in the process of rolling to ALL current phones. You cant use the 7.1 API on 7.0.

0
 
Éric MoreauSenior .Net ConsultantCommented:
"Windows 7.1 aka Mango"

Mango is 7.5
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now