Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Use camera, gallery and files in the same view

DhaKauDhaKau LKMember ✭✭
edited November 2020 in Xamarin.Forms


Hi All,

I have used Xam.Plugin.Media and Xamarin.Plugin.FilePicker to pick photos and files which are working perfectly. Those plugins popup native app when we perform certain operation.
Rather than opening apps separately I would like to make all these options available in a single view.
In that view user can decide what he is going to do, whether taking a photos, picking a photo from gallery or picking a file.
I have attached a sketch of this.

Action flow : User click add an attachment button in app. Then this new view will pop up which have all these three options in place. Once user perform an action this view will be closed.

Is this possible?

Thanks
dhakau

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Is this possible?

    I don't think it's possible , the OS would prevent us to do the operation within our app for user privacy .

    We have to open Camera to take pictures , open gallery to pick photo , open file manager to select files .

Sign In or Register to comment.