locked
How to access both Photo and video feature from Camera Media Plugin in Xamarin.Forms? RRS feed

  • Question

  • User199092 posted

    How to access both Photo and video feature simultaneously from Camera Media Plugin in Xamarin.Forms? Example: Pressing camera would open the camera, but there would be the ability to swipe to select video

    Wednesday, September 13, 2017 1:22 PM

All replies

  • User180523 posted

    I'm pretty sure the plugin is well documented. And there are ton of threads here already with example. What have you tried and are you getting errors in your code? Help narrow down the problems you're having so people can help.

    Wednesday, September 13, 2017 1:25 PM
  • User199092 posted

    We have added the Media plugin but it showing one at a time either photo or video but i want both simultaneously like the default device camera feature.

    Wednesday, September 13, 2017 1:26 PM
  • User180523 posted

    Even the default camera app doesn't doe both simultaneously. You select either photo mode, or video mode. You don't shoot both at the same time. Like you said, you have to swipe from mode to mode.

    You need to make your own pages for that. The plugin gives you the access... but you have to make your own layouts/pages for each mode/feature you want to provide from within your app.

    Wednesday, September 13, 2017 1:28 PM
  • User199092 posted

    But in default Camera there is a option to select photo or video but in media plugin it allowing only photo or video option i cannot see both the option simultaneously.

    Wednesday, September 13, 2017 1:30 PM
  • User180523 posted

    default Camera there is a option to select photo or video but in media plugin it allowing only photo or video

    It must be a language barrier problem. Because you're saying that you have the same ability as the default app. So what's the problem?

    i cannot see both the option simultaneously. No you can't. And you can't on the default app either. One or the other. One at a time.

    Wednesday, September 13, 2017 1:34 PM
  • User199092 posted

    Attached Screenshot:

    where camera for photo is working but video is not.

    Wednesday, September 13, 2017 1:35 PM
  • User180523 posted

    I see 2 page dots. Did you try swiping?

    Is that the sample layout with the Nuget package? If so it would be a SAMPLE. You can write whatever UI you want.

    Wednesday, September 13, 2017 1:38 PM
  • User199092 posted

    I just want Camera will be open using Xamarin.Forms and the user have the ability to capture Photo or Video. The problem is with Media Plugin is we can code either for Photo or Video We cannot make a common code so that general camera will be open and user have both option photo and video....

    Wednesday, September 13, 2017 1:41 PM
  • User199092 posted

    Actually Second dot is for filter not for video..

    Wednesday, September 13, 2017 1:43 PM
  • User180523 posted

    Well... Everyone else that uses and follows the directions seems to be able to do it. Perhaps you could find a native English speaker to read and translate the directions for you.

    Wednesday, September 13, 2017 1:43 PM
  • User180523 posted

    @Shelly_Bhogal said: Actually Second dot is for filter not for video..

    But you could make another page for video. I think that is where the conversation is falling down. You seem to expect it all to be pre-built for you. You actually have to write code and do XAML markup to make your finished app. Making a program is not just copy/paste and sell it.

    Wednesday, September 13, 2017 1:48 PM
  • User381770 posted

    @Shelly_Bhogal i don't think we have that feature in the Media Plugin,i am looking for that feature too

    Tuesday, April 13, 2021 3:53 PM