Issues taking images and showing them with MvvmCross on WP

前端 未结 1 1570
北恋
北恋 2021-01-28 03:34

I want to take a photo with the camera and show it on the page I am at

So I have a ViewModel where I both take the picture and show it

public class CamVi         


        
相关标签:
1条回答
  • 2021-01-28 03:57

    I think you need to step through and debug the photo code.

    You could also try adding some trace to the Exception catch handlers.

    One guess is that your GUID based file name includes invalid characters - see http://msdn.microsoft.com/en-us/library/system.io.path.getinvalidpathchars%28v=vs.95%29.aspx Try Guid.ToString("N") + ".jpg" for a slightly less mangled file name

    But really you need to trace through the code and find out where the error is occurring.

    0 讨论(0)
提交回复
热议问题