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

裁剪后,没有回调 onActivityResult #6

Closed
ittianyu opened this issue Feb 6, 2017 · 6 comments
Closed

裁剪后,没有回调 onActivityResult #6

ittianyu opened this issue Feb 6, 2017 · 6 comments

Comments

@ittianyu
Copy link

ittianyu commented Feb 6, 2017

demo上裁剪正常,然后继承到自己的app上就裁剪点击确定后,停留在选择图片界面。
试着把demo里面的 FirstActivity 整个复制过来,发现一样的停留在选择图片界面,一进入 Activity 就初始化了。

BoxingMediaLoader.getInstance().init(new BoxingGlideLoader()); // IBoxingMediaLoader
BoxingCrop.getInstance().init(new BoxingUcrop());  // a class implements IBoxingCrop

找了好久找不到原因,对比了很久,并没有发现哪里缺了设置,还请指教

@ittianyu
Copy link
Author

ittianyu commented Feb 6, 2017

视频选择器中如果加上 needCamera,会报数组越界异常

@ChenSiLiang
Copy link
Contributor

视频选择器暂时不支持拍摄录像,所以不能设needCamera。

裁剪的问题,需要更多细节,比如在onActivityResult里面有没有调用super方法?

@ittianyu
Copy link
Author

ittianyu commented Feb 6, 2017

调用了

@ittianyu
Copy link
Author

ittianyu commented Feb 6, 2017

这是我的demo,裁剪的部分注释掉了 https://github.com/ittianyu/CloudinaryDemo

@ChenSiLiang
Copy link
Contributor

裁剪的目录没有正确生成,我做了下保护。

@ChenSiLiang
Copy link
Contributor

fix in v0.2.0

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

2 participants