본문 바로가기
[ios] CallKit - CallDirectoryExtension [ios] CallKit - CallDirectoryExtension 참조 : https://developer.apple.com/reference/callkit -CallKit framework 는 VoIP 앱이 일반 전화를 쓰는 것처럼 UX 를 가져갈 수 있게 해준다.LockScreen 에서 incoming call 에 대한 view 를 보고 응답도 할 수 있다.VoIP 에서 Favorite 과 최근 통화 뷰도 다룰 수 있다. -CallKit 은 app extension 형태( CallDirectory )로 수신차단과 발신자 정보 표시(caller identification) 기능을 사용할 수도 있다. -CXCallDirectoryExtensionContext : NSExtensionContext - .. 2018. 2. 7.
Android O Background 실행 제한 Android O Background 실행 제한 https://developer.android.com/about/versions/oreo/background.html#services -앱이 Background 로 돌 때는 디바이스의 리소스를 사용한다. 예를 들면 RAM, CPU.이런것들이 리소스를 많이 사용하는 게임이나 비디오 시청 등에 방해가 된다.이를 개선하기 위해 Android 8.0 ( API 26 ) 부터는 background 작업에 대한 제한이 추가되었다. Overview -많은 안드로이드 앱과 서비스는 동시에 돌 수 있다.예를 들면 게임을 한 윈도우에서 하면서 다른 윈도우에서는 브라우징을 하고, 백그라운드에서는 음악도 재생할 수 있다.더 많은 앱들이 한번에 돌면서 시스템에 더 많은 부하가 생.. 2017. 10. 20.
[android] Doze 모드와 App standby 모드 + GCM High priority message [android] Doze 모드와 App standby 모드 + GCM High priority message https://developer.android.com/training/monitoring-device-state/doze-standby.html -MOS ( 6.0 ) 부터 등장 Doze 모드 -device 가 unplug 된 상태로 오랜 시간 움직여지지 않으면 screen 이 꺼지고, 이 상태에서 시간이 지나면 Doze(깜빡 잠이 들다, 졸다) 모드에 들어간다. -Doze mode 에서는 device 는 주기적으로 아주 짧은 시간동안 resume 되어 보통의 operation 들을 수행한다.이 resume time 에는 app sync 나 pending operation 을 수행하곤 한다. -.. 2017. 9. 17.
[android] M os Runtime Permission 에 대한 이야기 [android] M os Runtime Permission 에 대한 이야기 https://medium.com/ribot-labs/exploring-the-new-android-permissions-model-ba1d5d6c0610 Permission Group -permission 들이 groupping 이 된다. CalendarCameraMicrophonePhoneContactsLocationSensorsSMSStorage -위의 groupping 된 것들의 child 의 permission 을 얻을 때 group level 로 얻는다. -Calendar READ_CALENDAR WRITE_CALENDAR -Camera CAMERA -Contacts READ_CONTACTS WRITE_CONTACTS.. 2017. 8. 25.
[Android] Ok Google [Android] Ok Google # 안드로이드 단말의 화면이 켜져 있거나, 충전 중이면 "Ok Google" 이라고 외쳐보자. Ok Google 이라고 외치면 마이크 interface 가 나오고, 음성을 분석해서 원하는 정보를 찾아준다. # 이 Ok Google 은 KitKat 이상의 버전에서 작동을 한다. Google Search app version 3.5 이상이 필요하며, 해당 앱의 setting 에서 "Ok Google" detection 을 "From any screen" 으로 하면 된다. # 만약 더 높은 인식률을 갖게 하려면, Audio History 를 켜는 것이 좋다. Audio History 를 켜고 "Ok google" 을 3번 외치면, 조금 더 높은 인식률을 보여준다. 만약 단말.. 2016. 4. 9.
[Android] App Performance Tuning Video [Android] App Performance Tuning Video Key 1. Layout Depth 줄이기2. Overdraw 줄이기 3. UI Thread block 하지 않기 4. Garbage 만들지 않기 ( 쓸데없는 객체 생성 X ) How TraceView 로 확인하면서 Setting -> Developers options -> Show GPU overdraw빨간색은 수정이 필요하다. Method Profiling 이용 Android, app performance, developer options, GARBAGE, GC, Key, layout depth, method profiling, overdraw, setting, Show GPU overdraw, traceview, Tuning, u.. 2015. 12. 11.
[android] tv 앱 기본설정 [android] tv 앱 기본설정 - Intent-Filter 의 category 가 android.intent.category.LEANBACK_LAUNCHER 로 설정되어야 TV에서 아이콘이 나오게 된다. - style 의 경우 @style/Theme.Leanback 을 사용하거나 이것을 상속한 녀석을 사용해야 한다. @style/theme.leanback, Android, android.iintent.category.LEANBACK_LAUNCHER, basic setting, Category, intent-filter, setting, style, Theme, theme.leanback, tv app, tv 아이콘, tv 앱, [android] tv 앱 기본설정, 기본 설정, 안드로이드, 테마 2015. 12. 4.
[android] What's new in android Kitkat android, what is new in android Kitkat. 메모리 low ram device 인지 확인. boolean lowRam = ActivityManger.isLowRamDevice(); 앱의 메모리 사용을 한눈에 볼 수 있다. adb shell dumpsys procstats Process Stats 가 Setting 에 추가되었다. (단말)이것으로 메모리 사용량을 쉽게 볼 수 있다. 디자인 가이드 변경 Full-screen Immersive mode : status bar 와 software key 까지 제거. DecorView.setSystemUiVisibility( View.SYSTEM_UI_FLAG_IMMERSIVE or View.SYSTEM_UI_FLAG_IMMERSIVE_.. 2014. 1. 25.
[android] NavigationDrawer Tutorial android, NavigationDrawer Tutorial Layout You should use DrawerLayout to enable your app edge activated for open drawer automatically.Otherwise you have to implement drawer open touch event by yourself. You must keep in mind that FrameLayout that is responsible for drawer has to be come last.Because android draws xml declared layout from the bottom so that the drawer will be come most upper part.. 2013. 11. 28.
반응형