There are many image cropping tools that can be implemented in Android, but the only problem is that they only crop out square or rectangular parts on an image. So, this example will show my implementation of an image cropping tool where it crops out non-rectangular images.
Link to blog: Android Image Cropping Example
Link to blog: Changing Template Instructions
####Import into Eclipse/ADT(Android Development Tool)
- File --> Import
- Select "Existing Android Code Into Workspace" and click "Next"
- Click on "Browse" on the top right
- Navigate to where this project have been downloaded to
- Select the "Android" folder and click "Open"
- Select "Finish" and the project should appear in your "Package Explorer"
Copyright (C) 2013 James Choi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.