Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
它似乎com.android.camera.action.CROP不可靠,因为它是一个内部 API,并非在所有设备上都可用。但是,我发现这个库非常实用。它在我的 Galaxy Nexus 上运行良好。
com.android.camera.action.CROP
我真的应该考虑实施自己的解决方案吗?我使用 是否冒了太大的风险com.android.camera.action.CROP?此外,在某些设备中,它会打开稍后崩溃的 google + 裁剪照片。
最后,有没有我可以使用的开放库来完成同样的事情,并且可以安全地在任何安卓设备上使用?
我讨厌回答我自己的问题,但这里是:
https://github.com/lvillani/android-cropimage
这是库的源代码。只需将其包含在您的项目中,您就不必再担心设备没有它了。