Camera Android Studio - How to Take Pictures And Use Them in Your Project

  Рет қаралды 31,424

tutorialsEU

tutorialsEU

Күн бұрын

Пікірлер: 39
@tutorialsEU
@tutorialsEU 3 жыл бұрын
🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS
@dgh25
@dgh25 2 жыл бұрын
WHO would use a THUMBNAIL after taking a pic? Why do ALL tutorials use thumbnail????????????????? HOW TO WORK WITH THE ACTUAL FILE?
@wareesha3734
@wareesha3734 2 жыл бұрын
exactly what i wanna know
@dgh25
@dgh25 2 жыл бұрын
@@wareesha3734 You need to use the built-in function createTempFile(), something like this: File storageDir = getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); File imageFile = File.createTempFile(imageName,".jpg",storageDir); currentImagePath = imageFile.getAbsolutePath(); (in the camera click event). Hope it helps.
@wareesha3734
@wareesha3734 2 жыл бұрын
@@dgh25 thankuu 👍
@ugurtemel5921
@ugurtemel5921 Жыл бұрын
You take 160x120 thumbnail photo. Please take full size image from camera. There is one way which is fileprovider. It seems it has been removed on new devices.
@sameerbvk1976
@sameerbvk1976 7 ай бұрын
need to use android.Manifest.permission.CAMERA . Please like this comment for better reach
@tomaszb9668
@tomaszb9668 3 жыл бұрын
@tutotialsEU But it's only a thumbnail not ful size picture
@mateuszorowski7925
@mateuszorowski7925 4 жыл бұрын
It's amazing how professional your videos are. Keep up the good work, Denis!
@tutorialsEU
@tutorialsEU 4 жыл бұрын
Thanks Mateusz :)
@nathann4291
@nathann4291 4 жыл бұрын
I follow you on Udemy, your teaching style is amazing 👌
@tutorialsEU
@tutorialsEU 4 жыл бұрын
I'm happy to have you as a student Nathan and wish you the best on your journey to becoming an android dev :)
@luthfieta
@luthfieta 3 жыл бұрын
Why my iv_image on function Activity Result did not detected ? Anyone have some issues?
@luthfieta
@luthfieta 3 жыл бұрын
Solved, thank youu sir
@Alejandro19991023
@Alejandro19991023 2 жыл бұрын
how you solve this
@bobita7373
@bobita7373 3 жыл бұрын
I was trying to make this work for the last 5 hours. Thank you so much!!
@chadarabit1398
@chadarabit1398 2 жыл бұрын
startActivityForResult is already deprecated right?
@harelabb-kb4fs
@harelabb-kb4fs Жыл бұрын
best tutorials, and the least Ind
@leosousa7404
@leosousa7404 3 жыл бұрын
No code in the description.
@subyk6046
@subyk6046 Жыл бұрын
Hi Denis, I bought your course on Udemy and now im doing HappyPlaceApp, but i have little problem. In course (like in this video) you use camera Intent for capture img, but camera capture only thumbnail, not full quality photo. Is some way to save full quality photo with camera Intent? Because now i made camera layout, made fragment with cameraX, save img to cache, made fragment custom dialog with preview and then after click on saving button move photo to app folder and close fragment. Its was lot of work, and its seems much easier, when it can be done with camera intent, but i cant figure out how store full quality photo, not just thumbnail. Thanks for advice! :)
@abhishekvishwakarma9045
@abhishekvishwakarma9045 4 жыл бұрын
Next android tutorial on firebase
@tutorialsEU
@tutorialsEU 4 жыл бұрын
this might be the 10k special ;)
@ahmedkoubaa1658
@ahmedkoubaa1658 2 жыл бұрын
why is only one camera opened and not dual (2 cameras from behind), so that a QR code cannot be recognized, for example
@theophilus494
@theophilus494 3 жыл бұрын
amazing tutorial. please can you do one that there will be thumbnails of images as you capture images with camera
@sanjogpanda2597
@sanjogpanda2597 4 жыл бұрын
Why is my Manifest.permission.CAMERA is showing error? It tells permission to be unresolved reference
@arbaktos
@arbaktos 3 жыл бұрын
add android before Manifest - worked for me
@arbaktos
@arbaktos 3 жыл бұрын
add android before Manifest - worked for me
@spirobel
@spirobel 3 жыл бұрын
great. show how to do for movie capture pleaaase :D thanks
@aqilahzaidi
@aqilahzaidi 3 жыл бұрын
can I ask? what if you close from the app, is the photo still there?
@coffeedude
@coffeedude Жыл бұрын
Why do you use 1 & 2 for camera_permission_code and camera_request_code? Are they just chosen arbitrarily?
@TheKay1024
@TheKay1024 Жыл бұрын
Yes, they are arbitrarily chosen values that are then e.g. used in callbacks like onActivityResult to check which request has resolved.
@palthdemon
@palthdemon 2 жыл бұрын
Thank you, man ♥
@mahmoudkab1436
@mahmoudkab1436 4 жыл бұрын
you are my hero
@sanjogpanda2597
@sanjogpanda2597 4 жыл бұрын
Loved it bro! Keep posting videos every week! Helps us a lot
@tutorialsEU
@tutorialsEU 4 жыл бұрын
Thanks Sanjog :)
@ravishankar2180
@ravishankar2180 3 жыл бұрын
Can you make a separate video with all camera X functionality implemented??
@subyk6046
@subyk6046 Жыл бұрын
Camerax have code example in documentation. :)
@danilotosic9296
@danilotosic9296 2 жыл бұрын
Manifest.permission doesnt exist???
@colindaniels1866
@colindaniels1866 Жыл бұрын
use android.manifest.permission
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 2 МЛН
The ONLY Correct Way to Load Initial Data In Your Android App?
12:27
Philipp Lackner
Рет қаралды 26 М.
Google Firebase Authentication Android Kotlin Tutorial
34:23
tutorialsEU
Рет қаралды 50 М.
Camera2 API | Previewing and Capturing image | Kotlin | android studio
20:35
Full Stack Developers will take over. This is why.
11:26
Ed Andersen
Рет қаралды 51 М.
5 quick animations to make your Compose app stand out
7:05
Android Developers
Рет қаралды 59 М.
How to Make an Android App for Beginners
19:18
Treehouse
Рет қаралды 6 МЛН
Build anything with v0 (3D games, interactive apps)
9:05
Vercel
Рет қаралды 101 М.