com.android.camera.action.CROP替代? [英] com.android.camera.action.CROP alternative?

查看:147
本文介绍了com.android.camera.action.CROP替代?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎 com.android.camera.action.CROP 是不可靠的,因为它是一个内部API,而不是用在每个设备上。不过,我觉得这个库相当实用。它在我的Galaxy Nexus的伟大工程。

It seems com.android.camera.action.CROP isn't reliable, since it's an internal API and is not available on every device. However, I find this library quite practical. It works great on my Galaxy Nexus.

如果我真的会想在实施自己的解决方案?我是否服用过多使用风险 com.android.camera.action.CROP ?此外,在某些设备上,它开辟了谷歌+剪裁照片,后来崩溃了。

Should I really be thinking on implementing my own solution? Am I taking too much a risk by using com.android.camera.action.CROP? Moreover, in some devices, it opens up google + crop photo which crashes later.

最后,有没有打开的库在那里我可以使用,将完成同样的事情,而且可以安全地在任何Android设备上使用?

Finally, are there any open libraries out there I could use that would accomplish the same thing, and be safe to use on any android device?

推荐答案

我不想回答我的问题,但在这里它是:

I hate to answer my own question, but here it is:

https://github.com/lvillani/android-cropimage

这是源$ C ​​$ C到库中。只要它包含的项目中,你将不必担心设备没有它了。

This is the source code to the library. Just include it inside your project and you won't have to worry about devices not having it anymore.

这篇关于com.android.camera.action.CROP替代?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆