.NET MAUI (7.0) Camera2 Android API - Android binding library
I'm using Visual studio 2022 Enterprise .NET MAUI 7.0 cross platform development along with Android Binding Libraries where required to achieve several features of which one of them isn't really making progress which is:
Camera2 api android native api forwarding the preview live feed to a maui View
Please instruct me on what process to go trough in general directions so i can get the live feed from the camera2 api in android to my presumably custom view handler
At current time im trying to create the textureview in maui and then forward it to the .aar library without success, how do i reach this nativeview control or how do i forward it to a native Android.View.TextureView for example?
If theres another solution please provide that one
Quite possibly NativeView used to offer a solution in the compatibility namespace but its nowhere to be found, theoretically i could create a NativeView control in xaml and forward that to the .aar binding library and then start streaming to that control, but that control seems to have vanished from accesibility with 7.0 and documentation seems scarce
Notes:
Im comfortable with making branches of existing projects to achieve this goal
Im also comfortable with making android studio .aar native modules so they can be used to create MAUI compatible libs to add and be able to use functionality that might not yet be available
I do not wish to use nugets for i will need to capture & AI process the images frame by frame at some point
On Android Studio i have the camera2 live feed & capture code working, the trouble is to get the feed passed to a MAUI cross platform UI control (any kind will do as long as its able to use or simulate image frames at 30fps atleast)