【发布时间】:2019-12-16 14:09:16
【问题描述】:
我正在使用this scan library 构建扫描仪应用程序,如何在库代码中设置方向以将相机方向锁定为纵向?我试过了 Lock Camera orientation to portrait 和 setting camera orientation to portrait not working
【问题讨论】:
我正在使用this scan library 构建扫描仪应用程序,如何在库代码中设置方向以将相机方向锁定为纵向?我试过了 Lock Camera orientation to portrait 和 setting camera orientation to portrait not working
【问题讨论】:
不要使用第三方库
https://developer.android.com/guide/topics/media/camera
您可以使用官方的 android 文档来学习如何使用,然后应用您从其他链接中获得的内容。如果您想编辑和裁剪,可以在这些链接中找到更多信息:
【讨论】: