Great tutorial, only issue I have is that on OnRequestPermissionsResult() and onActivityResult() I can't remove the "super" in the beginning of the methods. If I add them no issue. Any thoughts on it?
Great video. I could recreate this on my moto G play (android 10). However, it says the function 'startActivityForResult' is deprecated. Is there any updated function for this?
Camera button is not working after this part of the video, please provide any solution. I had tried everything which was present in comment section, but still the camera button is not working in the end of the project.
@@shykatemam1529 Solved it. In case you need it. Just needed to add super.onActivityResult(requestCode, resultCode, data); Like this: @Override protected void onActivityResult (int requestCode, int resultCode, @Nullable Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == CAMERA_REQUEST_CODE) { Bitmap image = (Bitmap) data.getExtras().get("data"); selectedImage.setImageBitmap(image); } }
Thank you for your great tutorial! Somehow, the captured image does not show on the main screen, and instead, I still see the grid green screen for image view. Do you have any idea how I can solve this problem? Thanks in advance!
Not sure if anyone cares but if you're stoned like me atm you can stream pretty much all of the latest movies and series on instaflixxer. Have been watching with my brother these days xD
Sorry never said this to a free video publisher but this was not beginner friendly at all. I appreciate you tho for posing it keep it up
Good yar
Thank youuu, it's worked perfectly !!!
Informative video❤
thanks a lot, Very interesting & helpful video! buddy!
Great tutorial, only issue I have is that on OnRequestPermissionsResult() and onActivityResult() I can't remove the "super" in the beginning of the methods. If I add them no issue. Any thoughts on it?
Thanks for this tutorial. In 2022, startActivityForResult(camera, CAMERA_REQUEST_CODE);
startActivityForResult is deprecated. What is the work around?
this is the best thanks
i've tried this but when i get the image the resolution was 250 x 187, how can i get a original resolution?
Thank you so muuuuuuuuch
Thank you.
Thank You so much, it worked very well...
Thank You , very help full tutotial !!!
Neat and clean tutorial, keep it up!
All the best
Thanks
Great video. I could recreate this on my moto G play (android 10). However, it says the function 'startActivityForResult' is deprecated. Is there any updated function for this?
Helpfull !!
Sir,...is there a kotlin tutorial on this? thanks
Tnx. Very Helpful.
thank you ,but how can i store it in a local satabase please
Thank you, that great tutorial)
Glad you like it
Camera button is not working after this part of the video, please provide any solution. I had tried everything which was present in comment section, but still the camera button is not working in the end of the project.
with your code capture image through camera button is not responding pls help
bro thanks a lot this tutorial can u help me to send a code select image from gallery and send it to next activity
16:42 that "get"may produce NullPointerException.
Can we add gallery button option to any other app in mobile who is having only camera button
Can make the capture from photo to recycler view?
my "onActivityResult" stays red and gives a warning why??
I encountered the same problem too! Would greatly appreciate it if you share with me, how you resolved the issue!! Thanks a lot
could you solve it?
no
@@shykatemam1529 Solved it. In case you need it. Just needed to add super.onActivityResult(requestCode, resultCode, data);
Like this:
@Override
protected void onActivityResult (int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == CAMERA_REQUEST_CODE) {
Bitmap image = (Bitmap) data.getExtras().get("data");
selectedImage.setImageBitmap(image);
}
}
The method is deprecated in latest android version
Someone knows if this code still works in Android 10 and higher?
hello when i use selectedImage it shows an error to create local variable or something how can i solve this
Hello, can you use Sourcelabs to take a photo, with this code?
Startactivityforresult deprecated aarha hai please reply kare do din se solve nhi ho rha hai
How can i put the image on a list view or recycler view?
can we get a git hub linkfor this code
how can i get uri of that image ?
when i m clicking camera button but i m unable to open camera , i given all the permission in manifest file.Can you solve ?
Please share ur source code
@@SmallAcademy where?
Github
Did you get any error while opening the camera ?
@@SmallAcademy no
Hi sir, why is it when i try to put the uri the same as yours the app shutdown.
i want to capture image in full HD
checkout this documentation developer.android.com/guide/topics/media/camera
OnrequestPermissionsResult Deprecated
Where is part 2?
why i cant select startActivityForResult() ?
me too
Hi sir can u do it in fragment sir plssss....... 🙏
Thank you for your great tutorial! Somehow, the captured image does not show on the main screen, and instead, I still see the grid green screen for image view. Do you have any idea how I can solve this problem? Thanks in advance!
Not sure if anyone cares but if you're stoned like me atm you can stream pretty much all of the latest movies and series on instaflixxer. Have been watching with my brother these days xD
@Luke Ares Yup, I have been watching on instaflixxer for years myself :)
@Luke Ares yup, been using instaflixxer for years myself :D
This is not getting the image in android 11
what is CAMERA_PERM_CODE?
Thank you, sir, can you show us how to capture or get a high-quality image ?
Please watch all the video on this series.
How get to bitmap fullsize photo?
Who’s here form vanoss
Didn't worked! I don't know why Can`t open the camera and Gallery!
where is source code there are many folders
startActivityForresult deprecated function
how to get date and time of image capture
in kotlin?
my image size is very very small
You can change the sizes from imageview layout
@@SmallAcademy i have given match parent
scaleType="centerCrop" in imageView attributes
Thank you.