본문 바로가기

전체 글

(50)
Unifying Background Task Scheduling on Android 백그라운드 스케줄링이 필요한 시점에 사용되었던 GCMNetworkManager는 2020/11/1부로 Deprecate될 예정이며 WorkManager 사용을 권장한다. 아래는 그에 대한 설명과 WorkManager로 migration할 수 있는 guide가 있다. Posted by Caren Chang, Developer Programs Engineer Android users care a lot about the battery life on their phones. In particular, how your app schedules deferrable background tasks play an important role in battery life. To help you build more batt..
Android Studio 3.6 2월에 업데이트 된 Android Studio 3.6에 대한 내용 We are excited to announce the stable release of Android Studio 3.6 with a targeted set of features addressing quality in primarily code editing and debugging use cases. This is our first release after the end of Project Marble, which was focused on making the fundamental features and flows of the Integrated Development Environment (IDE) rock-solid. We learne..
Google Home 연동 Google Home 스피커를 활용하여 HW를 제어하기 위한 방법으로 Google Assistant & DialogFlow를 사용하는 방법이 있다. 만약 Google Home이나 Google Assistant의 Wakeup Word인 "OK! 구글"을 사용하지 않고 다른 Trigger Word을 사용하기위해서는 Snowboy(https://snowboy.kitt.ai/)를 사용하는 것도 방법일 수 있다. 비상업적으로의 사용은 무료이지만 상업적인 용도로는 아래와 같이 무료는 아닌 듯 하다. 여기에서는 Snowboy가 아닌 방법에 대해서 요약하였으며 Voice에 대한 해석은 Google Assitant가 담당하고 DialogFlow는 Google Assistant를 통해 전달받은 Text를 미리 정의한 In..
딥링크 (Deeplink) 딥링크는 특정 주소 혹은 값을 입력하면 앱이 실행되거나 앱 내 특정 화면으로 이동시키는 기능을 수행합니다. 즉, 딥링크가 사용되면 광고에 반응한 이용자는 앱이 바로 실행되어 특정 화면으로 이동하는 경험을 하게 됩니다. 혹은 앱 설치 후 실행하면 특정 화면으로 바로 이동하게 됩니다(지연된 딥링크). 따라서 광고를 운영하는 마케터 입장에서는 광고 성과 최적화를 위해 반드시 활용해야 하는 기능입니다. 딥링크는 크게 3가지 방식으로 구분됩니다. URI 스킴 방식 : 앱에 URI 스킴(scheme) 값을 등록하여 딥링크 사용 앱링크(App Link) : Android 제공 - 도메인 주소를 이용한 딥링크 사용 유니버셜 링크 (Universal Link) : iOS 제공 - 도메인 주소를 이용한 딥링크 사용 출처 ..
WebVTT https://github.com/sannies/mp4parser/blob/master/examples/src/main/java/com/googlecode/mp4parser/SubTitleExample.java sannies/mp4parser A Java API to read, write and create MP4 files. Contribute to sannies/mp4parser development by creating an account on GitHub. github.com
Google Cloud Messaging GCM이 현재는 FCM으로 업그레이드되었지만 아래 그림은 흐름에 대해서 너무 잘 설명을 해주고 있다.
Android MediaDrm 안드로이드 자체가 처음인 내가 Visual On Player를 Integration 해야하는데 SDK 문서의 DRM 부분이 너무 취약하여 일반적인 Player가 어떻게 DRM 처리를 하는지 나름대로 정리하면서 찾아봤다. 이번 프로젝트의 경우 Google의 Windvine DRM, MPEG-DASH, Multi-DRM Proxy Server를 사용하는데 여러가지 검색을 해 본 바로는 DRM으로 encryption된 동영상컨텐츠를 decryption하는 과정을 살펴보면 Player는 DRM License를 Multi-DRM Proxy서버를 통해서 얻어와야 하고 Player는 License를 CDM에 전달 CDM은 License안에 포함된 DRM Key로 decryption Player는 DRM HAL 부분을..
동영상 Frame의 종류 동영상을 이루는 Frame에는 총 3가지가 존재하며 I-Frame, P-Frame, B-Frame으로 나눈다. I-Frame (Intra Coded Frame)은 Main Frame이며 사용자가 볼 수 있는 전체 이미지라고 생각하면 된다. 동영상의 첫번째 Frame은 항상 I-Frame이다. P-Frame (Predicted Frame)은 이전 I-Frame을 기준으로 차이가 있는 부분의 Frame이며 I-Frame보다는 적은 용량을 가지지만 전송 오류에 민감하다. B-Frame (Bidirectional Frame, Bidirectionally Interpolated Frame)은 I-Frame, P-Frame을 모두 참조하는 Frame이다. I-Frame과 I-Frame의 묶음을 Group of Pi..