由网友(劳资就这么个范)分享简介:我要寻找一个便携式作物形象的活动我的 Xamarin.Android 应用程序中使用。类似的东西这一个用Java编写的: https://github.com/lvillani/android-cropimage。 I am looking for a portable crop image activity to...
我要寻找一个便携式作物形象的活动我的 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)
cropimage-xamarin
相关推荐
最新文章