Comments (4)
This isn't my library but I've raised a few pull requests on it recently so have become familiar with it. Hopefully I can help. Please can you provide the following information:
- What is the value of filePath?
- Using a breakpoint at the line "e -> showToast(R.string.iamutkarshtiwari_github_io_ananas_load_error)", what is value of e?
from ananas.
Hi I had the same issue. I used the below method to return the correct file path from the URI and load in to the intent
public String getImageFilePath(Uri uri) {
File file = new File(uri.getPath());
String[] filePath = file.getPath().split(":");
String image_id = filePath[filePath.length - 1];
Cursor cursor = getContentResolver().query(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI, null, MediaStore.Images.Media._ID + " = ? ", new String[]{image_id}, null);
if (cursor != null) {
cursor.moveToFirst();
String imagePath = cursor.getString(cursor.getColumnIndex(MediaStore.Images.Media.DATA));
cursor.close();
return imagePath;
}
return null;
}
I hope this helps as it drove me up the wall
from ananas.
@yatinjulka95 @joemerritt I'd appreciate if you could share a log for the error so that we can resolve this from the root.
from ananas.
This was fixed in this commit #94
Please feel free to re-open this ticket if the issue persists.
from ananas.
Related Issues (20)
- Edit Image fetched from server HOT 1
- When I try to convert this project into kotlin and improt project into existing project using data binding HOT 1
- Change Text Size HOT 1
- ImageEditorIntentBuilder cant find symbol HOT 1
- Please add invert photo (flip) HOT 1
- App crash if big size image is provided HOT 4
- Text option not working HOT 2
- Error inflating class com.theartofdev.edmodo.cropper.CropImageView
- NullPointerException occur
- how to add only filter lib in project
- com.rahat.editorapp E/TAG: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter outputPath HOT 1
- Getting crash in Android 11(R) during selecting album HOT 2
- getting issue while add lib in kotlin project HOT 2
- upload image issue HOT 1
- Image not loading on First run of the app HOT 1
- Change Image Background Feature HOT 3
- Canvas: trying to draw too large(115200000bytes) bitmap. HOT 1
- Failed to resolve: com.github.iamutkarshtiwari:Ananas:1.2.6 HOT 1
- Image from Camera HOT 1
- Issue with withEditorTitle() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ananas.