I want to make a custom activity where I pass bitmap and crop image is it possible I used image cropper dependency but I want toolbar and button design according to my own design please give me any idea or hint if you know
HAPPY NEW YEAR 2022 bro you have done i am very happy this is what I want god blesses you today I am subscribing channel that is TECH PROJECTS an Android Expert
I just found out if you press the mobile buck button while choosing an image the app will crash. I have researched a bit but cant solve this, anyone know how to do it?
@@Google_Engineer actually bro i made a wallpaper application when i click on set wallpaper wallpaper set successfully but the set in zoom way i want to fit the wallpaper as FitXy and i try lots of stack flow codes but not working and solution
if user click on exit button during cropping image it will show blank screen .To Avoid such experience ,please add else condition and move to your Destination screen . if (resultCode==RESULT_OK && requestCode==UCrop.REQUEST_CROP){ final Uri resulturi=UCrop.getOutput(data); Intent returnintent=new Intent(); returnintent.putExtra("Result",resulturi + ""); setResult(-1,returnintent); finish(); } else if (resultCode==UCrop.RESULT_ERROR){ final Throwable croperror=UCrop.getError(data); } else { Intent intent=new Intent(ImageCroperActivity.this, SignUpScreen.class); startActivity(intent); finish(); }
its unnecessary to start a new activity since it will ruin user experience, you just need to have one finish() at the last line if(...) else if(...) finish();
Thank you so much
I was struggling with this from a long time
Thanks Thanks Thanks Thanks Thanks
I want to make a custom activity where I pass bitmap and crop image is it possible I used image cropper dependency but I want toolbar and button design according to my own design please give me any idea or hint if you know
First and the best Tutorall project on RUclips xD
One video for me about
(Filters and effect for video editing)
Plz I am from Nepal 🇳🇵🇳🇵
HAPPY NEW YEAR 2022 bro you have done i am very happy this is what I want god blesses you today I am subscribing channel that is TECH PROJECTS an Android Expert
Hey How can i put it on firebase storage? I cant seem to find the Uri source since its on another activity, how do i pass it to my main activity
Great Job guy. a word "thank you "from me - a very far place in the world (Viet Nam)
kindly provide the link to crop image using camera video..I can't find it in ur channel
Yes, please provide the link to crop the image using camera.
If I want draw options also then what to do for that
Thank you for this!
awesome video!!!
Thank you.. Finally a good tutorial.
Welcome 🤗
Love from India 😏
Great content! 🚀
I just found out if you press the mobile buck button while choosing an image the app will crash. I have researched a bit but cant solve this, anyone know how to do it?
do you have the repository? thanks
how can I use this plugin in jetpack compose?
On Back Button Press from Gallery the application gets crash..
is it working android 11 & 12 version.
It worked thank u
When I inserted the activity in manifest file it is giving error . What is the solution?
I have the same problem
Sir How to set onclick listerner for exit image in imager croper acitvity
Bhai kotlin with Android ka vi kuch series lao
It Works! Thank you🎉
Sir please make video on whatsapp clone app
I'm unable to get image in MainActivity
Not able to import ucrop Library 😢,plz help
capture image from camera save to recyclerview with option like edit delete
tq bro
image download kare save in album
You are showing old code which is not more working. Only old Android versions can use this way. So is in the end useless.
how can you made??
bhai source code bhi dedia kar please
🤣🤣🤣 i hate others 3rd class Libraries.... I will make my own Gallery img picker with own style and with crop image.. 🙂
can i get that libraries
@@smartstudio4147 learn about FileProvider Class and some others classes like Bitmap, Canvas, Graphics, Async,
@@Google_Engineer actually bro i made a wallpaper application when i click on set wallpaper wallpaper set successfully but the set in zoom way i want to fit the wallpaper as FitXy and i try lots of stack flow codes but not working and solution
@@smartstudio4147 Use Bitmap Class Or Use imageView. SetScaleType(ImageView.ScaleType. CENTER_CROP)
I have failed to resolve: com.theartofdev.edmodo:android-image-cropper:2.8.+ how can I solve this problem
That's not the right dependency
if user click on exit button during cropping image it will show blank screen .To Avoid such experience ,please add else condition and move to your Destination screen .
if (resultCode==RESULT_OK && requestCode==UCrop.REQUEST_CROP){
final Uri resulturi=UCrop.getOutput(data);
Intent returnintent=new Intent();
returnintent.putExtra("Result",resulturi + "");
setResult(-1,returnintent);
finish();
}
else if (resultCode==UCrop.RESULT_ERROR){
final Throwable croperror=UCrop.getError(data);
}
else {
Intent intent=new Intent(ImageCroperActivity.this, SignUpScreen.class);
startActivity(intent);
finish();
}
its unnecessary to start a new activity since it will ruin user experience, you just need to have one finish() at the last line
if(...)
else if(...)
finish();