मैंने पाया कि बिल्ट-इन एंड्रॉयड फसल हैंडलर। (Com.android.camera.action.CROP) का उपयोग कर आयतों काटने के लिए संभव है।
intent.putExtra("outputX", 200); //Set this to define the max size of the output bitmap
intent.putExtra("outputY", 200); //Set this to define the max size of the output bitmap
intent.putExtra("aspectX", 1); //Set this to define the X aspect ratio of the shape
intent.putExtra("aspectY", 1); //Set this to define the Y aspect ratio of the shape
aspectX और aspectY स्थापना जब आप उनमें से एक के लिए कदम आकार के दोनों ओर ले जाने के लिए एंड्रॉयड के लिए बाध्य करेगा: फसल आयतों करने के लिए आप उदाहरण के निम्नलिखित मानकों है कि मैं पहले से पारित कर दिया दूर करने के लिए की जरूरत है। उन पंक्तियों पर टिप्पणी करें और आप आकार को स्थानांतरित करने के लिए स्वतंत्र होंगे।
यह एक गुच्छा, धन्यवाद मदद की! +1 – Jimmy
मैं इसका उपयोग कर रहा हूं। लेकिन अभी भी फसल क्षेत्र वर्ग में दिखाया गया है .. – lintu