전체 글
-
StringResGenerator (for.Android, iOS)Python 2022. 5. 6. 06:53
https://github.com/DNights/StringResGenerator GitHub - DNights/StringResGenerator: This project automatically creates string resources for Android and ios by reading excel fi This project automatically creates string resources for Android and ios by reading excel files in Google Drive. - GitHub - DNights/StringResGenerator: This project automatically creates string reso... github.com 구글 드라이브에 등록..
-
Google I/O 2022Conference 2022. 5. 5. 21:01
https://io.google/2022/ Google I/O 2022 I/O: Live From Shoreline. Join Online May 11-12, 2022. io.google 구글 I/0 2022 가 시작되었습니다. Google Keynote (Google I/O ‘22) https://youtu.be/nP-nMZpLM1A Developer Keynote (Google I/O '22) https://youtu.be/qBkyU1TJKDg Google I/O Adventure 비대면 사용자들을 위한 Google I/O Adventure 를 제공하여 전세계 사람들과 같이 Google I/O를 참여할 수 있도록 지원하여 주었습니다. 게더타운과 비슷한 형태입니다. Google I/O에서 학습하기를 모..
-
Github 프로필 꾸미기DevOps/Github 2022. 4. 25. 23:09
github에 자신의 아이디와 동일한 repository 를 생성시 프로필을 만들 수 있습니다. 만들어 두면 차후에 이력서로 사용하거나 이력을 설명하기에 매우 좋습니다. 위의 스크린샷 처럼 깃허브 캐릭터가 뜨면서 특별한 저장소라며 public으로 README를 초기화하고 시작하라고 안내가 뜹니다. 저는 이미 생성을 하여서 이미 존재하는 repository 라고 표기되고 있습니다. repository 가 생성된 후에는 README.md에 markdown으로 작성하려 프로필을 쓸 수 있습니다. 자신의 github에 접속하면 위와 같이 README 에작성한 내용이 바로 표기됩니다. https://github.com/DNights DNights - Overview I'm android developer. DNi..
-
Jetpack Compose Modifier.onFocusChanged에서 animateScrollTo 가 작동안되는 문제Android 2022. 4. 7. 17:21
기존에 TextField 에서 onFocusChanged 가 될때 animateScrollTo를 하는 기능이 있었는데 compose 버전을 1.0.5 에서 1.1.1 로 업데이트하면서 작동이 안되는 문제가 발생하였습니다. 해당문제에 대해서 테스트를 하다보니 animateScrollTo 가 아닌 scrollTo 를 사용하면 정상적으로 스크롤 이동이 가능하여 에니메이션 관련으로 검색중에 해당문제에 대한 힌트를 아래 이슈에서 찾을 수 있었습니다. https://issuetracker.google.com/issues/212982472 Google Issue Tracker issuetracker.google.com 해당현상은 onFocusChanged 가 호출시 Focus내부 에니메이션이 실행되면서 animate..
-
'compileDebugJavaWithJavac' task (current target is 11) and 'kaptGenerateStubsDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.Android/Error 2022. 4. 6. 11:15
해당 경고는 compileOptions에 사용되는 java 버전과 kotlinOptions의 java 버전이 다를 경우 경고를 표시해 줍니다. 각 버전을 동일하게 맞추면 됩니다. Android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget='11' } ... } [참고링크] https://stackoverflow.com/questions/69079963/how-to-set-compilejava-task-11-and-compilekotlin-task-1-8-jvm-target-com
-
scrcpy - Android 디바이스를 PC화면공유Tools 2022. 3. 25. 19:42
재택근무가 되면서 회의나 화면공유로 앱의 실행을 보여주여야 할때 실제 디바이스의 화면을 PC화면으로 표시하여 공유해줄수 있는 오픈소스 프로젝트 입니다. https://github.com/Genymobile/scrcpy GitHub - Genymobile/scrcpy: Display and control your Android device Display and control your Android device. Contribute to Genymobile/scrcpy development by creating an account on GitHub. github.com 설치방법 및 사용법은 아래 README를 참고하시면 됩니다. [한국어 README] https://github.com/Genymobile/s..
-
맥 zsh 에서 bash_profile 적용이 안될때자유글 2022. 1. 21. 14:48
macOS 버전 10.15 인 ‘카탈리나’ 부터 기본 쉘 (Shell) 이 bash 에서 zsh (Z shell) 로 변경 되었습니다. BashSell 의 라이선스 문제일것으로 추측하고 있습니다. 맥 터미널에서 zsh쉘을 디폴트로 사용하다보니 bash_profile에 있는 환경변수들이 터미널 실행시 불러오지 못하는 문제가 있습니다. source ./bash_profile 매번 source 를 부르는것도 귀찮은 일이라서 해결책을 찾아보았습니다. vim ~/.zshrc 일단 .zshrc 파일을 vim로 들어갑니다. 아래의 코드를 복사한뒤 붙여넣고 저장합니다. if [ -f ~/.bash_profile ]; then . ~/.bash_profile fi 터미널을 종료 후 다시 실행하면 bash_profile의..
-
Null Coalescing Operator(with. databinding)Android 2022. 1. 5. 12:21
android databinding 에서 string에 대한 null 처리시 일반적으로 삼항연산자(ternary operator)로 사용해왔지만 찾아보니 Null 병합 연산자(Null Coalescing Operator)자가 있어서 해당 연산자로 변경하니 코드길이가 줄었습니다. 문법은 아래와 같습니다. 삼항연산자(ternary operator) android:text='@{item.title != null ? user.title : ""}' Null 병합 연산자(Null Coalescing Operator) android:text='@{item.title ?? ""}' [참고링크] https://stackoverflow.com/questions/36227194/data-binding-set-propert..
-
kotlinOptions useIR 의 의미는?Kotlin 2021. 12. 17. 12:33
이번에 Jetpack compose 를 공부하면서 build.gradle 에 kotlinOptions useIR 를 true로 설정하기에 해당 플레그가 무엇을 의미 하는지 확인하여 보았습니다. 해당 옵션을 알아보기 위해서 Kotlin Source code 의 컴파일 과정을 보자면 kotlin compiler은 크게 compiler frontend 와 compiler backend 로 나눠집니다. compiler frontend는 유효한 프로그램인지 확인하고 구문 및 문법 유효성 검사를 수행합니다. 그리고 중간 단계의 코드를 만들어 냅니다. compiler backend는 중간단계의 코드를 각각의 언어 맞도록 코드를 출력합니다. Kotlin/JS 는 JavaScript code Kotlin/Naitive ..
-
Modifier in Jetpack ComposeAndroid 2021. 12. 15. 10:24
Jetpack Compose란? Jetpack Compose는 기본 Android UI를 빌드하기 위한 최신 도구 키트입니다. 더 적은 코드와 더 빠른 개발 시간으로 아름답고 반응이 빠르고 유연한 UI를 쉽게 만들 수 있는 반응적이고 선언적인 프로그래밍 모델을 제공합니다. 블로그 긴 콘텐츠용 Jetpack Compose에 대한 레이아웃에서 Jetpack Compose의 주요 기능, 이점 및 작동 방식을 설명할 수 있습니다. Jetpack Compose를 소개하고 Jetpack Compose가 무엇이고 왜 중요한지 설명하는 것으로 시작할 수 있습니다. 그런 다음 구성 가능한 기능 및 구성 UI를 비롯한 핵심 구성요소와 이러한 구성요소가 개발자가 UI를 보다 효율적으로 빌드하는 데 어떻게 도움이 되는지 설명..