How to Capture Image With Camera in Android Studio | CaptureImage | Android Coding

preview_player
Показать описание
Capture Image Tutorial : In This Video, You Will Learn How to Take a Picture with Camera in Android Studio.

All File :

Table Of Content :
0:23 - Project Creation
0:40 - XML Code
1:33 - Java Code
4:52 - Output

Presented By : Android Coding
Background Music By : NoCopyrightSounds

Download Apk Link :

All My App Links :

Enjoy & Stay Connected With Us!

#CaptureImage #AndroidTutorial #12H1r
Комментарии
Автор

Its work broo thanks... it am recommended that use if(resultcode== Activity.RESULT_OK && requestCode== 100){} otherwise when cancel camera crash the application

rancreation
Автор

I got stuck at the startActivityForResult(cameraIntent, IMAGE_CAPTURE_CODE); because it says that startActivityForResult is deprecated. Can you help on updating this code?

Domuh
Автор

protected void onActivityResult(int requestCode int resultCode @Nullable Intent data) say that parameters are wrong, any solution?

albertperellacanelles
Автор

I am having an issue at 3:55 because the "onActivityResult" method is asking for a "Super.onActivityResult" to work. Which means that the line you suppressed needs to stay with my code and I don't understand why.
Can you please help me?

jeromepoire
Автор

Came for the tutorial, stayed for the music 😎

erikbrandt
Автор

Great Video, how do I get the file location of that image? has it been saved?

thenonlyani
Автор

super!! It works on my app!! Huge appreciation !!!

linlyu
Автор

YOU ARE BOSS KEEP WORKING YOU WILL GO HIGHER AND HIGHER

OpGamerz-qzyz
Автор

I tried this code but why I was get an error at onActivityResult method. It was showing me that overriding method should call super. onActivityResult but i had seen in the video you deleted that line then why I was getting that error. I am new into this please help me if you know the answer.

Amor-tv
Автор

Sir does it save the pic we took after we close and open app?!

woonie
Автор

My protected Void onActivitryresult is error...how to solve the error

vk_creation_bgm
Автор

I tried this video and the video of connecting the gallery and it worked fine but when i'm trying to combine the code together, my app is crashing. PLEASE HELP!!!

TinyGirl_Lifts
Автор

Great Video...unfortunately my app is crushing whenever I go back to the Main Activity without capturing an image...
Its saying something about Attempting to invoke virtual method "android.os.Bundle Intent.getExtras()" on null object reference..

What could be the problem?
Plus my IDE doesn't allow me to delete the super.onActivityResult()

rodrickngonyoku
Автор

may I ask for the source code ?
The image did not appear on ImageView

okhass
Автор

Why the photo is not saved on the device, tried many codes on android 10 and cannot save the photo taken on the phone

juanva
Автор

the images are saved as horizontal orientation, how do I change the orientation of the camera?

maxigherra
Автор

I always like this tutorial nice..., . Helpful

sandipkamble
Автор

How to open gallery and crop image with this ? please

zakblacki
Автор

can you please help me with going on to the second activity?
using if-else statement please help me.

kshitijchavan
Автор

Thank you so much, , your tutorials are the best. :')

ashwatirao
visit shbcf.ru