![](/img/trans.png)
[英]Crop and rotate a captured picture Xamarin.Android & Xamarin.iOS
[英]Portable Crop Image Activity for Xamarin.Android (Monodroid / Mono for Android)
我正在尋找在我的Xamarin.Android
應用程序中使用的便攜式作物圖像活動。 類似於用Java編寫的代碼: https : //github.com/lvillani/android-cropimage 。
我認為這對於那些未實現默認com.android.camera.action.CROP
意向操作的Android設備是必要的。
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.
}
最后,是否可以使用任何開放庫來實現所呈現的行為?
是的,只有一個(免責聲明:作者在這里)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.