CW
Navigation

Language

🇧🇷 PT 🇺🇸 EN

Navigation

Home About Stack Companies Blog TOOLS
CONTACT
Back to Blog
27 Apr 2020 1217 Views
Xamarin Forms - Adding Image from Camera or Gallery

Xamarin Forms - Adding Image from Camera or Gallery

I'm developing a Xamarin Forms Application, and I needed to add a photo from the camera or the gallery. After a lot of research on the Internet, I tested some examples, but they didn't work due to new permissions and changes in the latest versions of Android.

Then then I finally found this :

Media Plugin for Xamarin and Windows

https://github.com/jamesmontemagno/MediaPlugin

Everything works as expected! Just don't forget to follow the instructions to give all the required permissions and make all the changes needed, and everything will be fine!

https://github.com/jamesmontemagno/MediaPlugin#important-permission-information

Cezar Wagenheimer

Written by

Cezar Wagenheimer

Share this article

Comments

Have a question, or found an issue with the code? Drop a comment below — I read and reply to every one.

Loading comments…

Leave a comment

Keep exploring