-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[F100] Camera View #1730
Comments
that's a control you're trying to create. XF shouldn't do that. the reason is that we can not change its appearance once it's released, and it'll feel awkward in a version or 2 of iOS or Android. |
In my opinion, this control should not have any UI, but have just methods/events/properties for functionality. It should be similar to the idea of |
I have talked with @paymicro and he wanted to have a go at this, so its working on a branch for this feature. https://github.com/paymicro/Xamarin.Forms/tree/fix-gh1730-camera |
Yeah let's make sure no UI for now; we just have methods and events to play the video and a View to renderer it |
Hi is CameraView for now is stable enough to implement I wanted it to record video |
Relative #7934 |
This is not relative this is merely a camera view with nothing to do with scanning two totally diff things |
Hello @davidbuckleyni, Has you can see CameraView is already in progress. Did you get it? It will be this first pillar of your Barcode recognition! Even more you should be able at first to use native bar code scanning with a custom renderer. Regards, |
@samhouts does this mean the bar code stuff will be worked on since it got an approval flag. |
@davidbuckleyni There is high interest in it, but we haven't yet committed to it. In the meantime, https://github.com/Redth/ZXing.Net.Mobile/ has a new prerelease with a lot of issues resolved! |
Will CameraView allow us to take multiple pictures before dismissing camera? Thanks! |
I just found the Community Toolkit Sample and it is exactly what I need - thanks to all the folks involved! |
Hope this will come one day on Xamarin or MAUI. 👾 |
As is clear by now, this won't be making its way into Xamarin.Forms anymore. We have a control now in the Xamarin Community Toolkit, which will also be ported to the .NET MAUI Community Toolkit. I hope we can one day get this in .NET MAUI... Thanks for the input here everyone! |
Thanks for letting us know @jfversluis. As I have mentioned to you directly in the past, I thank you for your hard work and dedication to the Xamarin community. However, I cannot convey the extent of my disappointment with this decision. We trust Microsoft to give us what we need for mobile development as we jump in boots and all to support the c#/.net story, and I have done this since 2002. Given apple’s clear focus on delivering a better camera system each year as the main driver for people to upgrade their iPhones, I am perplexed why Microsoft cannot find the means or desire to at least support the camera natively in its toolbox rather than passing it off as an unimportant addon into the Community Toolkit. Unbelievable. |
Thank you Joe! Both for your kind words as well as your honest feedback. I share your sentiment. I think this is an important control to have and that is also why I made it a priority to include it in the Toolkit for now. It's better than not having something at all, I guess. A bit of background here: what is holding us back mostly is in fact not iOS, but Android. The Android APIs for accessing the camera have been in alpha and beta and just not in a great state for a long time. If we were to implement this as a first-class citizen we want to make sure that the biggest platforms, at the very least, work without any rough edges. Now, note that I am talking about Xamarin.Forms here. I don't know how fast things can go for .NET MAUI. Our first priority is getting on par with Xamarin.Forms and implement all the new improvements we have in mind architecturally and from there look at implementing new functional features. Like yourself, I hope that will be sooner than later, but I just wanted to give you a bit of context that it's not as simple as us deciding that it's not important enough to include. I'd be happy to discus a bit more with you through email or another medium about your thoughts on this. I would be curious why it's an obstacle to use the Toolkit other than it's another dependency to add. Thanks! |
Hi I need close the cameraview in the event button. how can i implement it? |
Rationale
Forms does not currently contain a cross platform view which allows to use and preview the camera of the device it's running on. There are some issues to be answer still, should we support control or just a preview of the image.
Implementation.
Users should be able to choose front or rear camera and visualize the image.
Users should be able to show default controls or not.
User should be able to capture a image and use it on Xamarin.Forms
This will probably require a
VideoSource
class similar to theImageSource
class, with the appropriate subclasses (FileVideoSource
,StreamVideoSource
,UriVideoSource
and their respective type converters), as talked on #1692 to Support video.Expected Result
Android
iOS
UWP
Implications for CSS
None
Backward Compatibility
None
Difficulty: Hard
The text was updated successfully, but these errors were encountered: