@page "/scan"
//this button is the button where the user use to open the page where he can use the camera and capture images
<button class="text-center camera-button p-3 px-5 text-white" >
Scan
</button>
what i want is to when the user press the scan button will opened the camera screen appears and the user can capture images using it to make another traitement on the image
i don`t have any resources about how i can use the camera of .net 8 maui blazor hybrid
At first, please add the camera permission in the AndroidManiest:
And then, require the camera permission at runtime:
And then in the razor page: