Hi,
for the past 12 months I've been looking into upgrading my Xamarin.Forms app that uses the deprecated Camera API in the android renderer to the new Camera2 API. I've tried many samples, but none of them were exactly what I needed. Some didn't work at all, some did, but were missing key features.
What do I need?
Pretty much a clone of the native camera app minus the camera settings. I need a camera view that is showing the photo preview, can take photos (take photo button) and has some additional information overlayed on top of the camera preview (just some TextViews).
The best of the samples I've found (the UNIT-23 sample) still wasn't as reliable as I'd like. It worked, however, sometimes it would just crash for no apparent reason and the stack trace wasn't very useful. The other ones either had fewer features implemented or were only Xamarin.Android examples.
The samples I've tried were (I can't post links, so here are the repository names):
- The official Xamarin Camera2 Basic sample
- The official Xamarin Camera2 Raw sample
- UNIT-23/Xam-Android-Camera2-Sample
- vtserej/Camera2Forms
- HofmaDresu/AndroidCamera2Sample
- thekeviv/CameraFeed
I've also searched this forum, Xamarin.Forms docs, StackOverflow, and Google with no 100% working results.
Is there an example that could help me achieve the thing I want?
Thank you