-
I was wondering why the Android implementation of the CameraView is not using the already existing Android CameraView and instead uses a rather handcrafted and complex implementation. Is there a certain feature in the Toolkit CameraView that could not be implemented by using the Android CameraView or would that approach not be flexible enough for future extensions? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
@pictos what do you think? |
Beta Was this translation helpful? Give feedback.
-
@bmacombe I think that we can try! |
Beta Was this translation helpful? Give feedback.
-
Ops I just saw that this CameraView is on |
Beta Was this translation helpful? Give feedback.
-
That would be amazing! But as pointed out by @pictos that is only supported by AndroidX :( and we want to support the current Android support packages as well. So, unless we are overlooking something, we are stuck to creating our own for the time being. |
Beta Was this translation helpful? Give feedback.
-
It seems the code for AndroidX CameraView can be found here. I could probably rewrite the XamarinCommunityToolkit Android CameraView based on this. But is it allowed legally? The code seems to be licensed with Apache 2.0 license. |
Beta Was this translation helpful? Give feedback.
-
@Braini01 thanks for your interest, but I'm already rewriting the CameraView control for Android. Any way this code will be a good reference as well, thanks for that. You can track my progress here. And also, enhancements are more than welcome, if you want to contribute❣ |
Beta Was this translation helpful? Give feedback.
-
@pictos Are you sure you still need to support pre AndroidX? I recently (August 24th) got an email by the google play console, telling me that starting from November 2nd 2020 they only accept apps that target Android 10 (Api level 29). See here:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @acuntex yeah we are seeing if that is something we still want to do or not :) thanks for the input! |
Beta Was this translation helpful? Give feedback.
-
For now, we will not migrate to AndroidX because it's in beta. When Google releases a stable version we can add it to our backlog. |
Beta Was this translation helpful? Give feedback.
For now, we will not migrate to AndroidX because it's in beta. When Google releases a stable version we can add it to our backlog.