Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Is there any View Custom Renderer example that compactible with the current Android's Camera2 API ?

$
0
0

Looking at the View Custom Renderer example in the Xamarin's GitHub, while the example for creating the custom renderer is still valid, the given example for camera access for the Android platform is outdated, i even haven't checked the iOS's and UWP's side

Then, looking on to Xamarin.Android's "Basic Example" for Camera2 access, shows that the current version of Android's Camera API is changed too much, so much that it looks so 'alien' compared to the previous one. The needs of fragment, different classes for each of the callback, overloads here and there, and the list goes on. So difference, that some might finds all of those things, the Custom Renderer and the Camera API, is no longer compatible each other.

So, with all that being said. Is there any simple, not-overly-complex example on how to access Camera2 in Android on a exportable native view (ViewRenderer) for Xamarin.Forms View ?

Thank you


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>