SonaliRane-7188 avatar image
0 Votes"
SonaliRane-7188 asked LeonLu-MSFT commented

How to use Camera2(Android) in maui

I am currently migrating my Xamarin.Forms app to .NET MAUI, and having a difficulty in migrating viewrenderer for camera2 in android. The page comes blank when I try to load the camera2 using renderer. I am using viewrenderer with native view for camera2

Please help!

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you use this steps to migrate your Xamarin project to MAUI project?
When you start your project, please monitor your log in the logcat.

0 Votes 0 ·

Basically I have created a new project and shifted my entire project files in there
Installed all required libraries
Changes in namespace
and all required things, with the help of Migrating-from-Xamarin.Forms-(Preview)

but still not working

0 Votes 0 ·

I am using viewrenderer with native view for camera2

Viewrenderer is obsolete, please Create a custom control using handlers

0 Votes 0 ·

0 Answers