You sir are a legend. I checked so many video's and stackoverflows, but there is almost no-one who is explaining why they do something and I find it really difficult to understand the documentation often. Now with copying your code and listening to what you said I was able to understand what was happening under the hood! Happy customer and happy employer now which == happy employee =)
@selimtanrverdi96392 жыл бұрын
PRABEESH R K, you are the best tutor in youtube!
@carrique104723 жыл бұрын
This is actually the only video that helped me after 4 days of trying to make this work. Thanks.
@MyBestDayy4 жыл бұрын
Thankyou the applications works, but my image is not getting saved in the folder, Is it supposed to be like that. And can you refer me a video or link from which I can email this Picture as an attachment in the same app.
@timothychau73434 жыл бұрын
Where did you get the name and authorities from at 4:12?
@sialeeMK4 жыл бұрын
4:10 in my Provider is not working in show in red color!
@manojkumarjayanthi4 жыл бұрын
Same problem
@xiuyuanwang8654 жыл бұрын
change name to "androidx.core.content.FileProvider" and it works
@srinikethsowmithri96334 жыл бұрын
sir is there any way to build a camera app that after captures shows the location of the image that is captured??
@mustafashaikh90756 жыл бұрын
can we take multiple photos and make slide to view all in display activity...???
@markkhor42476 жыл бұрын
Hi, I get rotated image after following the tutorial. Any idea how can we get it sorted out?
@josteveadekanbi96365 жыл бұрын
Same here
@olukayodepaul70706 жыл бұрын
Hello is it possible to upload this image using retrofit to the server?
@lidabraham54825 жыл бұрын
yes
@ashikks89035 жыл бұрын
Can I change the jpeg size by changing the image quality?
@provaspro17886 жыл бұрын
Hight quality in Camera? What about focus and white balance and all new camera functions?
@manjunathprogrammer82524 жыл бұрын
Can you tell me, how to auto capture images
@siddheshwarsarang26633 жыл бұрын
how can we save the captured image in next activity using listview
@quidpanic70955 жыл бұрын
I tried to run this on my phone huawei mate 2 pro ( no external storage) the photo is not being displayed. How can i fix this?
@quidpanic70955 жыл бұрын
I checked files under android - data -package-files -Pictures the picture is there but its not being loaded in the imageView. I tried this on the emulator instead of on my real phone on the emulator it works on real phone the photo is not being displayed in the imageView
@quidpanic70955 жыл бұрын
get this error: java.lang.RuntimeException: Canvas: trying to draw too large(159694848bytes) bitmap.
@Love4Hardstyle3 жыл бұрын
@@quidpanic7095 I think you need to add multiDexEnabled true & vectorDrawables.useSupportLibrary = true in your build.gradle
@aparnarajendran21365 жыл бұрын
sir, can you please tell me, Is there any way to display image in another page without creating that display image button.
@@adityarterse so, if I use this multiple times in an app, will it give memory error
@NeoMed_die_or_do5 жыл бұрын
@@adityarterse I need to save the image and open in some other activity, which is not immediately follows the camera intent activity
@StoryOfRitika5 жыл бұрын
@@adityarterse how to save this image into database using retrofit
@NeoMed_die_or_do5 жыл бұрын
@@StoryOfRitika thankyou, I saved into internal memory and retrieving from it, and uploaded a copy to firebasestorage
@diegovillegas90304 жыл бұрын
Hello dear PRABEESH R K thanks for the amaizing video, it works perfectly for me, I can take pictures. But I have a cuestion, when camera is openend automaticlly a temporary file is created even if the app does not take the photo the temporary file persist created, how can I avoid this or how can I know a picture was captured succesfully.. Thanks a lot.
@yutaitadori73183 жыл бұрын
I have one issue the image file which is supposed to be created before the camera starts is not created leading my app to crash how to fix this?
@aezazvahora74196 жыл бұрын
i need to how to tracking app code so please provide...sir
@Not-You-Tuber6 жыл бұрын
Sir I think, I need a small class about android provider.. Actually I don't get it perfectly what it does..
@daryllowey20435 жыл бұрын
I am sending the camera request from a page that is not the 'main_activity'. The image is saving fine to the files/Pictures directory, but on return, it is going back to the main_activity and not displaying in the imageview
@manojkumarjayanthi4 жыл бұрын
hi I am getting error here android:name="android.support.v4.content.FileProvider" android:authorities="com.example.android.fileprovider" content.FileProvider getting error here in android studio version 3.6.1
@mitchfeaver31074 жыл бұрын
android:name="androidx.core.content.FileProvider"
@RohitKumar-jp6wx4 жыл бұрын
@@mitchfeaver3107 Thanks !!
@sumansaexhibitions11164 жыл бұрын
is it working fine to you,bcz its giving error to me @Manok Kumar Jayanthi
@arundhaydnjeez99335 жыл бұрын
i am developing a safety App android project with 100+ buttons to take pictures for remedial actions.please give me some more ideas to take and save the images by using array..thanks
@sagarbsable6 жыл бұрын
great video thanks, but can you make video on select image from gallery as well as capture through camera and send it to server by converting it to string(Base64) or if you have better decoding methods please??
@sagarbsable6 жыл бұрын
Sir after getting image can we give edit option to crop image?
@MT4d616e6 жыл бұрын
Sir plz tell me that how can I use the emulator because it is not working and x86 is also installed but still there is the problem and when ever I run the app 3 errors prompt up 1)process finished with error code 1 2)x86currently requires hardware acceleration 3)quick boot/snapshots not supported on this machine. A CPU with EPT+UG features is currently needed SIR PLZ HELP I HAVE SEARCHED THE INTERNET FOR SOOOO LONG BUT STILL I M FACING THE SAME PROBLEM
@nikhiln98994 жыл бұрын
Hi thank you for your previous vedios i learnrt a lot from this vedios and i have an error in this capturing high quality photo in androudmanifest.Xml content.fileprovider error what is the solution?????
@hldev94374 жыл бұрын
i need the code source please
@shaktiranjan73456 жыл бұрын
Sir can we have a video on OCR please...
@papuholo99243 жыл бұрын
Here the app never use the provider.....
@ssdd99114 жыл бұрын
4:13 but my content.FileProvider is red
@pankajsharma21335 жыл бұрын
Provider tag is not getting closed
@adrianobelle12533 жыл бұрын
Thx men, you helped me a lot
@rahularora10795 жыл бұрын
Sir.. Please share the code to capture image nd upload to database.. Please reply ASAP.. Its urgent
@harshadamhatre43313 жыл бұрын
Not working if no memory card
@dharmendra47365 жыл бұрын
Sir Mai camera ke API Ko mobile phone ke main screen lock ke saath action karana chahta hu is baarey me kuch bataye sir please
@pravesh77246 жыл бұрын
it is not working in redmi note4 ,Sir If you solution please tell me, First time not getting image 2nd time it works,
@pravesh77246 жыл бұрын
i as understanding may be image rotate than destroy our activity
@shareofficial69473 жыл бұрын
camera not show help
@locosocio4 жыл бұрын
excellent, thank you for this good video, it works
@mikaelkolehmainen90985 жыл бұрын
Great Video!
@hayad20883 жыл бұрын
Thanks honey, but it doesn't save image in my phone
@mikaelkolehmainen90985 жыл бұрын
Yes!! It worked
@rockerman71413 жыл бұрын
not woking for me tho
@tonmoykhan71534 жыл бұрын
ThankYou So much Brother
@raphaelndwiga4 жыл бұрын
Nice. I like it
@arpitkumarjain13246 жыл бұрын
why you use this sir? When i add this in manifest file and I run this app in nougat version of mobile phone app force closes and said " android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode." so please help what to do when i ave image in database. Please reply me as early as possible sir
@PRABEESHRK6 жыл бұрын
I use maxsdkversion= 18 because in this example i save the image in private storage spece of the app. For android version 4. 3 and lower accessing the private storage space need storage permission. Thats why i use maxsdkversion with permission declaration. For android version Higher than 4. 3 by default app private space is not accessible by any other app. You got this error because you may access the public storage space. Public storage directory always needs storage permission on all android versions.