본문 바로가기
[android 10] android Q 기능과 API 들 [android 10] android Q 기능과 API 들 https://developer.android.com/about/versions/10/features 보안 강화 * 생체 인증 dialog 의 개선 -Android 10 에서는 통합 생체 인증 dialog 가 강화되었다.... * 내장된 DEX code 를 APK 에서 직접 수행한다. -platform 에 앱의 APK file 안에 embedded 된 DEX code 를 실행하도록 할 수 있다.이 option 은 공격자가 단말에서 locally compile 한 것으로 대체하는 공격을 막을 수 있다. -이 feature 를 enable 하면 앱 성능에 영향이 있을 수 있다. 왜냐하면 이 옵션이 on 되면 ART 는 앱이 시작할 때 AOT 로 co.. 2020. 3. 16.
[컨퍼런스] 드로아드 나이츠 (Droid Knights) 행사 참여! [컨퍼런스] 드로아드 나이츠 (Droid Knights) 행사 참여! 지난 4월 드로이드 나이츠를 방문했다. 장소는 코엑스 몰. 참가증. 회사 동료들은 드로이드 나이츠를 Droid Knights 가 아닌 Droid Nights 라고 해석해서..회사 퇴근하고 밤에 모이는 컨퍼런스 혹은 모임이라고 생각했지만...드로이드 "기사" 라는 의미. 개발자들이 주로 쓰고 있는 여러가지 기술과 컴포넌트들의 트랜드를 볼 수 있는 투표판. 결과에서는..생각보다도 AAC(Android Architecture Components) 를 쓰는 사람들이 많았고,생각보다도 DI(Dipendency Injection) lib 을 쓰는 사람들이 많았고,생각보다도 MVVM (Model, View, VIewModel) 을 쓰는 사람들이 많.. 2019. 6. 11.
2018 Jet Brains Day 후기를 2019년에 쓰기! 2018 Jet Brains Day 후기를 2019년에 쓰기! 2018 Jet Brains Day 후기를 2019년에 쓴다.어차피 내 블로그는 정보의 전파 목적도 있지만, "개인적 기록" 이라는 의미도 강하기 때문에...혹시라도 out-dated 된 이 소식이 별로라면 그냥 back 을 눌러주시면 되겠다. 장소는 세종대학교. "경품 추첨권" 과 "기념품 및 샌드위치" 교환권이 함꼐 붙어있는 입장권.경품은 맥북 프로였던 것으로 기억하는데... 나는 못 받았으므로 더 이상 언급 X기념품 및 샌드위치에서 기념품은 티셔츠, 그리고 샌드위치는 나름 괜찮은 퀄리티지만 양이 조금 적었던 샌드위치였다. 세션의 시작은 10시부터였고, 9시 10분쯤 도착한 나는 행사를 협찬한 부스들을 돌아다니며,여러 가지 기념품(?)들을.. 2019. 4. 16.
[Kotlin] findViewById shows "type inference failed..." [Kotlin] findViewById shows "type inference failed..." 위와 같은 에러가 나는 이유는 findViewById 가 Android O 부터 Kotlin 에서 아래와 같이 정의되었기 떄문이다.public T findViewById(int id) { ...} 그래서 일반적인 기존 방식이 아닌 아래 방식으로 사용해야 한다.findViewById(R.id.textView) findviewbyid, Kotlin, kotlin findviewbyid, type inference failed, [Kotlin] findViewById shows "type inference failed..." 2018. 10. 6.
[Kotlin] initializer 이야기 [Kotlin] initializer 이야기 https://medium.com/keepsafe-engineering/an-in-depth-look-at-kotlins-initializers-a0420fcbf546 -constructor, initializer 등이 있을 때 적용되는 순서를 아는 것이 좋다. 먼저 constructor 의 default argument 가 가장 먼저 적용된다.그 다음 property initializer 와 init block 이 수행된다. 이 때 수행 순서는 top-to-bottom 으로 정의된 순서대로 수행된다.그 다음에 constructor 가 수행된다. -open class Parent { private val a = println("Parent.a") constru.. 2018. 1. 19.
[Kotlin] Kotlin 의 숨겨진 비용 #3 [Kotlin] Kotlin 의 숨겨진 비용 #3 https://medium.com/@BladeCoder/exploring-kotlins-hidden-costs-part-3-3bf6e0dbf0a4 Delegated property -class Example{ var p: String by Delegate()} property 에 delegate 를 사용할 경우에 해당 delegate 는 operator function 인 getValue 와 setValue 를 구현해야 한다.해당 function 들은 object instance 와 property metadata 를 받는다. public final class Example{ @NonNull private final Delegate p$delegate =.. 2018. 1. 18.
[Kotlin] Kotlin 의 숨겨진 비용 #2 [Kotlin] Kotlin 의 숨겨진 비용 #2 https://medium.com/@BladeCoder/exploring-kotlins-hidden-costs-part-2-324a4a50b70 Local functions -local function 의 limit 은 inline 으로 정의될 수 없다는 것 ( 글 쓴 당시까지는, 현재버전에서 꼭 체크해보라 ).그리고 local function 을 가지고 있는 녀석도 inline 이 될 수 없다.fun someMth(a: Int): Int { fun sumSquare(b: Int) = (a+b) * (a+b) return sumSquare(1) + sumSqaure(2)} local function 은 Function object 로 바뀐다.public .. 2018. 1. 17.
[Kotlin] Kotlin 의 숨겨진 비용 #1 [Kotlin] Kotlin 의 숨겨진 비용 #1 https://medium.com/@BladeCoder/exploring-kotlins-hidden-costs-part-1-fbb9935d9b62 -“With great power comes great responsibility” 를 기억해야 한다.( 간단한 코드를 짜는 대신 대가가 있다는 얘기다 ) -Kotlin bytecode inspector 를 사용하면 Kotlin 코드가 어떻게 bytecode 로 변환되는지 볼 수 있다.Android studio plugin 으로 접할 수 있다.이를 보면 primitive type 의 boxing, code 에서 보이지 않는 기타 object 들의 instantiation, 그리고 각종 추가 method 들의 추.. 2018. 1. 16.
[Kotlin] 장점, 단점, 그리고 아쉬운 점 이야기 [Kotlin] 장점, 단점, 그리고 아쉬운 점 이야기 https://medium.com/keepsafe-engineering/lessons-from-converting-an-app-to-100-kotlin-68984a05dcb6https://medium.com/keepsafe-engineering/kotlin-the-good-the-bad-and-the-ugly-bf5f09b87e6f -위 링크의 글을 쓴 필자는 마켓에 출시된 Java 로 되어 있는 앱을 Kotlin 으로 전환했다.많은 사람들이 Kotlin lib 때문에 dex method limit 이 걸릴 것을 걱정하지만,실제 converting 후 proguard 적용시 method count 는 10% 줄어들고, code line 은 30% 줄.. 2018. 1. 15.
반응형