본문 바로가기
[android] Pie (9) 의 Power management [android] Pie (9) 의 Power management https://developer.android.com/about/versions/pie/power -Android 9 (API 28) 에서는 전원 관리를 위한 새로운 feature 가 추가되었다.이 전원 관리 기능은 2가지 카테고리로 나뉜다. 1. App standby buckets 시스템이 단말의 CPU, 배터리 등의 리소스 사용을 유저의 사용 패턴에 의해 제한한다. 2. Battery saver 개선 Battery saver 가 켜져 있을 때 시스템이 모든 앱에 대해 제한을 건다. 이건 기존에 있던 기능인데, Pie(9) 에서 개선되었다. * App Standby Buckets -얼마나 최근에 얼마나 자주 앱이 사용되었는지에 대한 유저.. 2019. 7. 29.
[Android] 8.1 Feature and APIs (API Level 27) [Android] 8.1 Feature and APIs (API Level 27) https://developer.android.com/about/versions/oreo/android-8.1 * Android Oreo ( Go Edition ) -Android GO 는 온라인을 접하기 시작하는 사람들을 위한 안드로이드 경험을 최적화한 첫 시도이다.안드로이드 8.1 부터, 우리는 안드로이드를 진입 장벽이 적은 우수한 플랫폼으로 만들기로 했다.GO edition 에는 다음과 같은 설정이 들어간다. 1. 메모리 최적화 : 1GB 이하의 단말에서도 앱이 잘 돌아가도록 메모리 사용에 대한 개선이 있었다.2. 유기적인 타겟 옵션 : 구글 플레이를 통해 low-RAM 단말을 target 할 수도 있는 새로운 하드웨.. 2019. 7. 22.
[android] 앱 권한 모니터란? [android] 앱 권한 모니터란? https://soundlly.github.io/2017/10/20/samsung-app-permission-monitor/ -Android 7.1.1 (NOS) 에 등장 -앱 별로 사용되는 권한을 시스템 레벨에서 추적하고 사용자에게 주기적으로 알려줌. -접근방법 : 설정 -> 잠금화면 및 보안 -> 앱 권한 모니터 -할 수 있는 기능 앱 권한 모니터 On/Off 앱 별 권한 모니터 On/Off 앱의 권한 별 모니터 On/Off 권한 사용 기록 (우상단 메뉴, 혹은 상단 버튼) -모든 단말에 있는 것은 아니고, 몇몇 단말에만 있다고 한다.노트8 단말은 직접 확인했고, S8+ Oreo 에도 있다는 얘기가 있다.필자 단말은 갤럭시 S10 POS 인데, 해당 기능은 없다... 2019. 6. 17.
[android] Bundled Notification Tutorial -Bundled Notification 은 Android Wear 의 Stacking Notification 과 비슷한 맥락이다.Notification 이 하나의 Title 밑에 List 형태로 붙어서 나온다.그리고 이 녀석을 클릭하면, Notification 이 확장되서 개개별 Notification 으로 나뉘어 나온다. -Bundled Notification 은 Nougat 부터 사용 가능하다.Nougat 이전 버전에서는 아래와 같이 나온다. -Bundled Notification 의 핵심은 “Group” 이라는 녀석과 “GroupSummary” 이란 녀석이다.private Notification buildNotification(Message message, String groupKey){ retur.. 2018. 3. 2.
[android] Messaging Style Notification Tutorial https://blog.stylingandroid.com/nougat-messaging-style-notifications/ -Bundled Notification 이란 녀석은 Notification 들을 각각 만들고, Notification framework 를 사용하여 grouping 을 하는 개념이라면,Messaging Style Notification 은 Notification 하나에 여러 Message 를 담는 것을 의미한다. -Messaging Style Notification 은 Nougat 부터 사용 가능하다. -NotificationCompay.MessagingStyle messagingStyle = buildMessageList(messages);Notification notificat.. 2018. 3. 1.
[android] Direct Reply Tutorial https://blog.stylingandroid.com/nougat-direct-reply/ -Direct Reply 는 Notification 으로부터 App Launch 없이 바로 답장을 보내는 기능이다.Message App 에 한정되지 않고 모든 앱이 사용 가능하다. -Direct Reply 는 Android N Nougat 버전에 한해 사용 가능하다. -Direct Reply 의 키는, Notification 을 만들 때 remoteInput 을 추가하는 것이다.// notification 생성private static final String REPLY_KEY = “reply”;private static final String REPLY_LABEL = “Input reply”; // Action.. 2018. 2. 28.
[iOS Study] 병렬 프로그래밍 가이드 ( dispatch queue ) [iOS Study] 병렬 프로그래밍 가이드 ( dispatch queue ) https://developer.apple.com/library/ios/documentation/General/Conceptual/ConcurrencyProgrammingGuide/OperationQueues/OperationQueues.html#//apple_ref/doc/uid/TP40008091-CH102-SW1 About Dispatch Queues -모든 dispatch queue 는 FIFO 이다. -다음의 dispatch queue 가 있다. serial concurrent main dispatch queue -serial queue ( private dispatch queue ) 는 한번에 하나의 task 만 수.. 2018. 2. 1.
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] Notification 에 meta data 를 추가하자 https://plus.google.com/+AndroidDevelopers/posts/7QBWvNXs2mD -기존 안드로이드의 Notification 은 importance 와 timestamp 만 보고 ordering 을 했다. -Android 5.0 ( LOS ) 부터는 ordering 을 결정하는 데 영향을 미치는 meta data 들이 추가되었다. -ordering 에 영향을 미치는 녀석 중 하나는 addPerson 을 통한 사람의 추가이다. -addPerson 은 CONTENT_LOOKUP_URI, tel:, mailto: 이 셋 중의 하나의 scheme 을 Uri 형태로 받는다. 이 정보를 기반으로 연락처 정보를 찾는다.이 찾은 결과는 not found, match found, starred.. 2017. 8. 24.
반응형