Control camera RRS feed

  • Question

  • User81593 posted


    It is possible to control the device's camera using Xamarin forms ?. I would like to make an app that displayed the stream of the camera and when the User click on a button it takes a picture. The solutions I found always open the native camera application of the device just that I wanted to solve all this inside my app. Has anyone done something like or know how can I do?

    Wednesday, April 22, 2015 5:29 PM

All replies

  • User120838 posted

    I think this may help https://github.com/XLabs/Xamarin-Forms-Labs/wiki/Camera

    Wednesday, April 22, 2015 5:33 PM
  • User109974 posted

    @FelipeOliveira Hey Guy.

    Whats Up?

    Try create a Plugin :)

    Stream with android is here


    And Manual contro on iOS (stream is possible with this) is here


    Wednesday, April 22, 2015 5:33 PM
  • User109974 posted

    @FelipeOliveira try anything like this guy :)


    Wednesday, April 22, 2015 5:34 PM
  • User81593 posted

    @Charlin, that's not working for me. I need to view the image within my application, and when I take a picture I want to avoid opening the native application device camera. I want to do something like the attached picture.

    @RafaelMoura, I made up this part of preview, but now do not know how I can take the picture because if I create a service to access the camera will give conflict with the instance of the preview and not work

    Wednesday, April 22, 2015 5:47 PM
  • User109974 posted

    @FelipeOliveira U'r Brazilian?

    Wednesday, April 22, 2015 5:50 PM
  • User81593 posted

    @RafaelMoura yep

    Wednesday, April 22, 2015 5:51 PM
  • User81593 posted


    After we break his head a little, I and @RafaelMoura got the following solution to the problem: http://pastebin.com/VQD3xhe9. I'll be doing the same for iOS or WP and I will updating the discução as implementation. If someone wants to help =). The code is still with some bugs but is working and already of to get a sense of how to follow. Thank you all

    Thursday, April 23, 2015 1:24 AM
  • User109974 posted

    @FelipeOliveira Good Work Bro :D

    If u need, tell me :)

    Thursday, April 23, 2015 2:11 AM