-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use on Java. Could you give some sample #19
Comments
& https://developer.android.com/training/basics/intents/result#java A random sample app in java using ImagePicker: |
I'm sorry In Readme I see:
|
You're right. I need to edit the Readme. Thanks for addressing this. |
@ioviov Instead of |
@Drjacky I tried using Also in Readme you wrote |
@Drjacky I can't do Sync task : ( |
@ioviov Sorry, maven has an issue right now. It doesn't accept new uploads. |
It's ok |
Click on the link and check the HOW TO section:
Let me know if it works. |
Okay, forget the Jitpack. It's on maven now: https://repo1.maven.org/maven2/com/github/Drjacky/ImagePicker/2.1.7/ |
@Drjacky Well, it's ok But |
Could you create a sample project and attach it here? |
Ok, I will do it on next week (I'll try on Monday), thanks |
Hi! I tested with With you library when I tap on Thank you |
@ioviov You would need to define which one you want: ImagePicker.Companion.with(requireActivity())
.crop()
.cropOval()
.maxResultSize(512, 512, true)
.createIntentFromDialog((Function1) (new Function1() {
public Object invoke(Object var1) {
this.invoke((Intent) var1);
return Unit.INSTANCE;
}
public final void invoke(@NotNull Intent it) {
Intrinsics.checkNotNullParameter(it, "it");
galleryLauncher.launch(it);
}
})); P.S I've improved some other parts too. Good to check. |
@Drjacky A lot of thanks!!! It will be good that you write this full example, how to use library on Java in README, for another users
|
v2.1.8 released. |
Hi! A lot of thanks for your job!
I used before https://github.com/Dhaval2404/ImagePicker , but Google send a letter "We've detected that your app contains the requestLegacyExternalStorage flag in the manifest file of 1 or more of your app bundles or APKs."
And I found your comments and your library, so...
My old code was:
Could you please help me to change my code. I can't find an example on java how to use your library :(
Thanks!
The text was updated successfully, but these errors were encountered: