Unable to call cropping activity from my activity.
See original GitHub issuei followed all the instruction as you mention.
added dependancy in gradle file
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
Add CropImageActivity into your AndroidManifest.xml
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity" android:theme="@style/Base.Theme.AppCompat"/>
Now Calling method
private void startCropImageActivity(Uri imageUri) {
CropImage.activity(imageUri)
.setGuidelines(CropImageView.Guidelines.ON)
.setMultiTouchEnabled(true)
.start(this);
}
but no activity is starting. even i am not getting any error message.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Unable to continue after cropping a image in CropActivity
When you press the crop button and it comes back to the previous activity without crashing means it returns the data correctly, you...
Read more >Cropping Activities is Possible! : r/Strava - Reddit
On your mobile device, open the activity, and click the 3 dots in the top right corner, and select “crop activity”. It's very...
Read more >Activity Cropping on Mobile | A post by The Strava Club on ...
Now you can crop your activity right from the mobile app. Just tap into any activity you need to crop and then hit...
Read more >Soil compaction | UMN Extension
A well-structured soil holds and conducts the water, nutrients and air necessary for healthy plant root activity. What is compaction? Soil compaction occurs ......
Read more >The Art and Science of Agriculture | National Geographic Society
They could use this extra food when crops failed or trade it for other goods. Food surpluses allowed people to work at other...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i have resolved my issue beginCrop(Uri.fromFile(mFileTemp));
private void beginCrop(Uri source) { Uri destination = Uri.fromFile(new File(getCacheDir(), “cropped”)); Crop.of(source, destination).asSquare().start(this); }
case Crop.REQUEST_CROP: String path = Crop.getOutput(data).getPath(); Intent shareActivity = new Intent(getBaseContext(),NextActivity.class); shareActivity.putExtra(“ImageUri”, path); startActivity(shareActivity);
What is the problem??