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

当录制好视频按home再进入的显示是怎么保留播放界面的呢 #8

Open
candrwow opened this issue Apr 12, 2017 · 0 comments

Comments

@candrwow
Copy link

在也可直接点击下载体验的demo.apk中,视频录制完在循环播放界面时,按home键进入后台,再进入应用。会先在MainActivity闪烁一次,再显示视频播放界面,有办法让MainActivity不显示吗?另外引用你的库去执行上述操作会出现闪退,提示的是
ava.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1890)
at com.cjt2325.cameralibrary.JCameraView.startRecord(JCameraView.java:464)
at com.cjt2325.cameralibrary.JCameraView.access$900(JCameraView.java:33)
at com.cjt2325.cameralibrary.JCameraView$1.record(JCameraView.java:145)
at com.cjt2325.cameralibrary.CaptureButton$RecordRunnable.run(CaptureButton.java:349)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

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

1 participant