0

アプリケーション内で使用するポータブル トリミング画像アクティビティを探していXamarin.Androidます。Java で書かれたものに似たもの: https://github.com/lvilani/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.
}

最後に、提示された動作を実装するために使用できるオープン ライブラリはありますか?

4

1 に答える 1