A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello,
Welcome to our Microsoft Q&A platform!
I need Camera2basic for xamarin form, is it available?
Camera2basic is based on android platform.If you want to achieve this function in xamarin forms, you can use DependencyService to achieve this function.
The DependencyService class is a service locator that enables Xamarin.Forms applications to invoke native platform functionality from shared code.
In addition, you can also use nuget Xam.Plugin.Media which is a simple cross platform plugin to take photos and video or pick them from a gallery from shared code.
For more details, you can check: https://github.com/jamesmontemagno/MediaPlugin .
And there is also a sample included in above link, you can check it here: https://github.com/jamesmontemagno/MediaPlugin/tree/master/samples .
Best Regards,
Jessie Zhang
---
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.