Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Q不支持吗 #260

Open
hexiaxia0911 opened this issue Jan 2, 2020 · 3 comments
Open

Android Q不支持吗 #260

hexiaxia0911 opened this issue Jan 2, 2020 · 3 comments

Comments

@hexiaxia0911
Copy link

在Android Q上长按拍摄,提示:“打开相机失败“,”点击“√”,无反应,也无法返回,停留在拍摄界面;
按home键回到手机桌面,点击APP,闪回拍摄界面——启动页回到消息界面;多次尝试之后,闪回启动页后,直接退出APP;
录制时间过短,再次长按,无法继续录制,可以返回消息界面,然后点击拍摄,直接退出APP

@xionger0520
Copy link

@hexiaxia0911 我重写的支持q

@yyzzd
Copy link

yyzzd commented Jul 28, 2020

jCameraView.setSaveVideoPath(Environment.getExternalStorageDirectory().getPath() + File.separator + "JCamera");

修改为

jCameraView.setSaveVideoPath(getExternalFilesDir("video").getPath() + File.separator + "JCamera");

把传入的视频保存路径替换成私有目录的路径就不会有问题了,规避掉Android Q的范围存储。

@ervinsae
Copy link

@yyzzd 确实可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants