对于Xamarin.Android便携式裁切图像的活动(Monodroid /单声道为Android) [英] Portable Crop Image Activity for Xamarin.Android (Monodroid / Mono for Android)
问题描述
我要寻找一个便携式作物形象的活动我的 Xamarin.Android
应用程序中使用。类似的东西这一个用Java编写的: https://github.com/lvillani/android-cropimage。
I am looking for a portable crop image activity to use inside my Xamarin.Android
application. Something similar to this one written in Java: https://github.com/lvillani/android-cropimage.
我觉得这是必要的那些不具有 com.android.camera.action.CROP
意图的行动实现的默认的Android设备。
I think this is necessary for those Android devices which do not have the default com.android.camera.action.CROP
intent action implemented.
try {
// Call the standard crop action intent (the user device may not support it).
Intent cropIntent = new Intent ("com.android.camera.action.CROP");
...
Activity.StartActivityForResult(cropIntent, ...);
} catch (ActivityNotFoundException ex) {
// Call a custom portable crop image activity here.
}
最后,在那里,我可以用它来实现presented行为,任何打开的库?
Finally, are there any open libraries which I could use to implement the presented behaviour?
推荐答案
是的,有一个(免责声明:笔者在这里)
Yes, there is one (disclaimer: author here)
这篇关于对于Xamarin.Android便携式裁切图像的活动(Monodroid /单声道为Android)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!