일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- array
- 자바스크립트
- GoogleMaps
- TextView
- button
- npm
- 리액트
- Linux
- RecyclerView
- fragment
- Javscript
- TypeScript
- JS
- scrollview
- Java
- JavaScript
- 안드로이드
- Android
- nodejs
- 랜덤번호
- 오버라이딩
- Kotlin
- React
- 코틀린
- 스프링부트
- 랜덤넘버
- 구글맵스
- stylesheet
- Hook
- SpringBoot
- Today
- Total
목록카메라 (2)
타닥타닥 개발자의 일상
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bXCAWj/btruW9OtCTN/rWYfh8BfljnxsK10hn42fk/img.png)
폴더 및 파일구성 코딩 하기 전 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 { ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dasuy9/btrtmfvJSiV/QeyK65ebunQUNueEgpUjz1/img.png)
파일 경로 및 폴더 위치 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..