如何制作可在KitKat中运行的抖动相机应用程序? [英] How to make a flutter camera app that can run in KitKat?
问题描述
我正在尝试制作抖动相机应用程序.为此,我找到了一个名为camera的包 https://pub.dartlang.org/packages/camera 由flutter编写团队本身.但是,我发现那里存在严重的局限性.它的最低SDK版本为21.
查看我以前在Play商店中的应用程序的当前统计信息,我发现很多活跃用户正在使用运行带有SDK 19的KitKat的旧设备.
该程序包的代码:
并从该线程中 https://github.com/flutter/flutter/issues/9310 您可以随意创建一个版本,该版本支持KitKat中可用的较早的Camera API.
I am trying to make a flutter camera app. For this, I found a package named camera https://pub.dartlang.org/packages/camera which has been written by the flutter team itself. But, I found a serious limitation there. It needs a minimum SDK version of 21.
Looking at the current statistics from my previous app in play store, I found that a lot of my active users are using older devices running KitKat which has SDK 19. How should I deal with this?
The code for that package:
uses Android Camera2 API
and from this thread https://github.com/flutter/flutter/issues/9310 you are free to fork and create a version which supports the older Camera API available in KitKat
这篇关于如何制作可在KitKat中运行的抖动相机应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!