일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Java
- 안드로이드
- React
- 랜덤넘버
- scrollview
- Linux
- 오버라이딩
- RecyclerView
- 코틀린
- Javscript
- TextView
- array
- Android
- stylesheet
- button
- 랜덤번호
- Kotlin
- npm
- JavaScript
- 자바스크립트
- JS
- 구글맵스
- nodejs
- SpringBoot
- 스프링부트
- Hook
- fragment
- 리액트
- TypeScript
- GoogleMaps
- Today
- Total
목록카메라 (2)
타닥타닥 개발자의 일상
폴더 및 파일구성 코딩 하기 전 AndroidManifest.xml / build.gradle 파일을 수정해 사전 설정을 완료해야한다. 사전설정 AndroidManifest.xml build.gradle(:app) plugins { id 'com.android.application' id 'kotlin-android' } android { compileSdk 32 defaultConfig { applicationId "com.example.mydocument" minSdk 21 targetSdk 32 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { ..
파일 경로 및 폴더 위치 AndroidManifest.xml 기존의 AndroidManifest에 아래의 부분을 적용하였다. 적용한 전체코드 activity_main.xml MainActivity.kt package com.example.camera import android.Manifest import android.app.Activity import android.content.ContentValues import android.content.Intent import android.content.pm.PackageManager import android.graphics.Bitmap import android.graphics.Camera import android.net.Uri import androi..