Xamarin forms IOS and Android multiple image capture using camera. RRS feed

  • Question

  • User251528 posted

    I have created a application using xamarin forms. I want to implement multiple image capture in both IOS and android using camera. I used media plugin for single image capture. But as an enhancement i need to capture multiple images and save it . Any plugin/way to implement multiple capture ?

    Tuesday, October 3, 2017 8:05 AM

All replies

  • User318788 posted

    Hi @rakeshraghavan,

    Unfortunately there is no XF way to do it. Though android has an open source project, you might have interest in.


    Hope it helps.

    -- N Baua

    Tuesday, October 3, 2017 10:27 AM
  • User251528 posted

    Thanks Nhilesh . But i need it for xamarin forms. Is anyone can help me out? I am struggling for last one week.

    Tuesday, October 3, 2017 10:33 AM
  • User318788 posted

    Yeah that's awful, what I would suggest you to do then, use the Camera plug-in and hold the selected file as ImageSource properties bound to a collection (you can have them preview in a ListView or something too) and let the user select one by one.

    Alternatively scavenge the user's device for images and load them in ListView and later read them as an ImageSource to process as you wish as per user's selection.

    In both of the above approaches, you might want to write a renderer and OS specific code, yet the solution would be cross-platform and done in XF way.

    N Baua

    Tuesday, October 3, 2017 10:40 AM
  • User251528 posted

    In my gallery if i have 100 images how i will select 10 images from that. Its not easy for the user. I can write specific code for android to implement this using MediaStore.IntentActionStillImageCamera. But in IOS what i can do?

    Tuesday, October 3, 2017 11:16 AM