Great video. I tried getting a grasp of the new way with a few other places and documents but this so far has been the simplest. Very nicely and systematically explained.
this is the reason why I stopped developing for mobile devices. Every time you finished a project, half of the used methods are already deprecated. This is really not fun anymore. Apple and Google wasting so much of our livetime. It's more about time to bring out some new OS for mobile devices independent from this big companies.
Yeah, when I heard this, I was like what? Why don't they just have the old codes link to the new. Never make a new coding that renders the old useless. What about good old apps, that developers passed away. This is crummy on their part.
Hi, may I know what if we need multiple request_code? And I noticed that you didn't pass the CAMERA_ACTION_CODE while launching the activity result launcher.
nice tutorial..how would u integrate with crop image functionality...there are libraries but they seem to be not working in android 11 devices..is there any tutorial..pls point me in right direction..thx..
I just learned the old way earlier from the doc. Then here I am now looking at the new way that is longer than the old. Why they make it too long for just a simple task. 😅
Can you explain how to save the photo using gallery or camera into firebase storage and database with the new method? Also it seems like image picker libraries are based on the old method. That's a problem too
Great ! Video is helpful But would you please tell as how to get a good (real) quality for the captured photo ? with this code we get yet only a thumnail of the photo
hello, I'm not looking for one of my tutorials. tutorials on external SQLite with source code and lots of explanations to fully understand. I would like a tutorial to be able to add an image, delete or modify an image in an external db.sqlite database. after a second tutorial. this one would display 2 or 3 categories which is in a db.sqlite categories table and which would open sub categories which belong to 2 and 3 which will also be found on an external db.sqlite base and a one click afterwards to display sub categories. here are just 2 tutorials that allow me to move forward thank you in advance. En java language please thanks you . merci
hey... thanks for the nice tutorial.... But what if I want to save this captured image, with high quality and with a costume name into my tablet's gallery???
Hi, I'm glad you liked the tutorial. Currently, I don't have a video tutorial that covers that topic. You may refer to this Android doc on how to do it: developer.android.com/training/camera/photobasics
Hi, you can use Android Intent to pass the image between activities. You may refer to this answer: stackoverflow.com/questions/41312365/how-to-get-an-image-from-one-activity-to-another
HI !great video!. I am able to do the same and it works as long as there is no grand child Activity involved. Have you tried launching a child Activity and then from that child Activity launching another one ? I have tried it and the grandchild Activity always returns RESULT_CANCELED. If you find a solution please post here . I found some other solutions online but they don't really work,
Hey guys, I hope you liked this tutorial :)
Comment below on topics you want me to cover next.
How to update if there is a line on startforActivity?
Couldn't get my head around this until I came across your video. To the point and well presented! My thanks sir!
You're welcome 😃
Amazing! This is the best way I found on the internet to get an image. Well done mate!
Great video. I tried getting a grasp of the new way with a few other places and documents but this so far has been the simplest. Very nicely and systematically explained.
Thank you. I'm happy to hear that 😃
this is the reason why I stopped developing for mobile devices. Every time you finished a project, half of the used methods are already deprecated. This is really not fun anymore.
Apple and Google wasting so much of our livetime.
It's more about time to bring out some new OS for mobile devices independent from this big companies.
Yeah, when I heard this, I was like what? Why don't they just have the old codes link to the new. Never make a new coding that renders the old useless. What about good old apps, that developers passed away. This is crummy on their part.
Yes, I'm frustaring about deprecated start Activity result. Old code it's work fines.
@@ramaagusdwiputra1960 did u figure it out?
Hi, I don't understand where bundle.get("data") gets from, is it a context, and where does it come from?
Hi, may I know what if we need multiple request_code?
And I noticed that you didn't pass the CAMERA_ACTION_CODE while launching the activity result launcher.
nice tutorial, thank you so much. i hope i can see more useful video from your channel
Thank You So Much For Such Awesome Tutorial.. You're Amazing.. 😀
hey man, I would you like to thanks, this video was so nice and easy, thank you for all your explanation so clear.
You're welcome 😃
how to do this but in a fragment?
i dont want the activity screen
Can you show me any solution for onRequestPermissionsResult() is Deprecated on Fragment class ?
nice tutorial..how would u integrate with crop image functionality...there are libraries but they seem to be not working in android 11 devices..is there any tutorial..pls point me in right direction..thx..
Why after confirming an captured image from my app it will go crush? Plss reply
Hi sir. Can you make classification image use tensorflowlite ?
how do you perform that inside fragment.
please answer me if you read it will be a great help. Thanks .
Realy helpful, thank a lot
I just learned the old way earlier from the doc. Then here I am now looking at the new way that is longer than the old. Why they make it too long for just a simple task. 😅
Hi, exactly. Everyone kept on saying the same thing 🤣
Excellent video!!! It's perfect
Thanks for this tutorial ..
Can you explain how to save the photo using gallery or camera into firebase storage and database with the new method?
Also it seems like image picker libraries are based on the old method. That's a problem too
how can i get the uri of image ? itried many times but it shows null.
Did you found the solution?
How to import activityResultContracts?
Great ! Video is helpful
But would you please tell as how to get a good (real) quality for the captured photo ? with this code we get yet only a thumnail of the photo
this was the easiest explanation. thank you. one question: if I need the Uri where do I get it in your code?
Did you found the solution?
@@marcelopontesmachado hey, I didn't end up using a Uri I changed the approach of the app because I could not find a solution.
Could you make the same tutorial but with Explicet Intent please?
&&
Thank u for this fully explaniation in this great video 😊🇪🇬❤️
hello, I'm not looking for one of my tutorials. tutorials on external SQLite with source code and lots of explanations to fully understand. I would like a tutorial to be able to add an image, delete or modify an image in an external db.sqlite database. after a second tutorial. this one would display 2 or 3 categories which is in a db.sqlite categories table and which would open sub categories which belong to 2 and 3 which will also be found on an external db.sqlite base and a one click afterwards to display sub categories. here are just 2 tutorials that allow me to move forward thank you in advance.
En java language please thanks you . merci
Thank you! It works!!
But I need one more thing I use this for capturing image.In deprecated method I get the Uri but I dont know how to get it.
Did you found the solution?
How would i get the uri ? as i need to upload the image to firebase
Did you found the solution?
Thanks for the tutorial. One thing, the condition:
intent.resolveActivity(getPackageManager()) != null
Can return null on android 11
thanks a lot for this tutorial
You're welcome 😃
hey... thanks for the nice tutorial.... But what if I want to save this captured image, with high quality and with a costume name into my tablet's gallery???
Hi, I'm glad you liked the tutorial. Currently, I don't have a video tutorial that covers that topic. You may refer to this Android doc on how to do it: developer.android.com/training/camera/photobasics
Can you please tell me how to fetch the same image to another activity image view?
Hi, you can use Android Intent to pass the image between activities. You may refer to this answer: stackoverflow.com/questions/41312365/how-to-get-an-image-from-one-activity-to-another
Thanks it was helpful. Can you cover jetpack for java like how to use it and dependency injection.
Hi, I'm glad that you liked the tutorial, and thank you for the topic suggestion.
How to use in facebook login?
Thanks it was useful
Bro, this one is still working?
thanks a very very lot
Thank you
git link please
Here is the link to the full code: www.codingdemos.com/android-onactivityresult-is-deprecated-now-what/
better not to use this new API cause you will loose results with "don't keep activities" enabled
HI !great video!. I am able to do the same and it works as long as there is no grand child Activity involved. Have you tried launching a child Activity and then from that child Activity launching another one ? I have tried it and the grandchild Activity always returns RESULT_CANCELED. If you find a solution please post here . I found some other solutions online but they don't really work,
Hi, I'm glad that you liked the video.
No, I haven't tried that.
Please provide your email if possible
Hi, you may contact me through this form: www.codingdemos.com/contact-us