android 5

[Android] Bluetooth BLE 연동 가이드

// 2021. 05.04 에 작성된 가이드입니다. // targetSdkVersion 30 // 참고 : 끝에 full source code 가 있습니다. 급하신 분은 내려서 보시기 바랍니다. Bluetooth BLE Bluetooth BLE 은 Scan 시 다음과 같은 프로파일을 반환합니다. 어떤 디바이스인지 알 수 있게 함이죠. 프로파일 안에는 여러가지 Sercvice와 Service의 Characteristic 으로 나뉘어져 있습니다. 각각의 Charactaristic 은 Bluetooth 기기와의 주고 받을 수 있는 연결체가 됩니다. 이 Characteristic 을 통해서 정보를 정보를 가져올 것이니 기억해두기 바랍니다. 안드로이드에서의 Bluetooth 안드로이드에서 블루투스 BLE 로부터 ..

Android Story 2021.05.04

[Android] ViewPager2 Animation By RecyclerView

ViewPager Animation - ViewPager2는 ViewPager와 다르게 RecyclerView를 기반으로 만들어진 컴포넌트 이번 기사는 뷰페이저의 양쪽에 미리 볼 수 있는 페이지를 제공하고, 스와이프 제스쳐시에 넣을 수 있는 애니메이션에 대해서 알아보겠습니다. // 기본 환경 1) Android Studio Version : 4.0.1 2) app 단위 build.gradle // XML 1) res/layout/activity_main.xml : ViewPager2 를 넣어줍니다. 2) res/layout/list_item.xml : ViewPager2 안에 들어갈 아이템 레이아웃입니다. 3) res/values/dimens.xml : 사이즈 지정 // Activity 1) ViewPa..

Android Story 2020.11.02

[Android] Switch Custom

Android Switch Custom I have posted a custom switch that used just an 'ON', 'OFF' image. Lastly, I've learned about the usage of track and thumb. Then I’m updating the next version of customizing.So, I repost switch custom. 지난번 포스트에서 ON/OFF 통자 이미지를 통해서 커스터마이징을 하는 글을 올렸였다. 최신에 다시 접하면서 track과 thumb의 의미를 다시 알고 커스터마이징을 하는 방법을 다시 올리게 되었다. I would not update the result. It’s just the same as the previ..

Android Story 2019.01.15

[ Android ] 틴트(오버레이) 색상 지정하기

Lollipop 에서 비트맵에 틴트 칠하기 안드로이드 Lollipop 이상에서는 bitmap 마크업 언어를 통해서 비트맵에 틴트를 칠할 수 있다. 이 기능은 모든 drawable에서 동작하지는 않는다. 예를 들어 아래의 drawable_tint.xml와 같이 정의된 bitmap drawable에 다시 적용할 수 없다는 점이다. 틴트 res/drawable/drawable_tint/xml 틴트 모드 tint에 적절한 색상을 섞어 이미지에 색상을 오버레이 할 수 있다.tintMode 속성에 관해서는 다음과 같이 정의되어 있다. ConstantValueDescriptionadd10Combines the tint and drawable color and alpha channels, clamping the res..

Android Story 2017.03.28

[ Android ] FFMpeg 패키지 연동하기

// 본글은 여러 블로그를 참고하여 작성되었습니다. //// 작성 일자 : 2016.12.13 //// FFMPEG과 동영상 플레이어에 관한 기본 지식 : [ http://d2.naver.com/helloworld/8794 ] // || 개발 환경 || 1. OS : Ubuntu 16.04 ( VMware workstation 12 ) : https://www.ubuntu.com/download/desktop2. Android Studio 2.2.3 : https://developer.android.com/studio/index.html?hl=ko3. RAM 3GB ( VMware에서 돌아가기 위해서 충분한 RAM 이 필요 )4. Memory : 30GB ( VMware에서 돌아가기 위해서 충분한 메모리..

Android Story 2016.12.13
반응형