본문 바로가기

전체 글

(50)
CentOS에서 JDK 8 설치하기 설치 리스트 확인 # yum list java*jdk-devel Last metadata expiration check: 0:02:05 ago on Wed 15 Apr 2020 10:20:00 AM KST. Available Packages java-1.8.0-openjdk-devel.x86_64 1:1.8.0.242.b08-0.el8_1 AppStream java-11-openjdk-devel.x86_64 1:11.0.6.10-0.el8_1 AppStream Open JDk 1.8.0 설치 # yum install java-1.8.0-openjdk-devel.x86_64 Last metadata expiration check: 0:03:51 ago on Wed 15 Apr 2020 10:20:00 AM..
[Android] Set programatically color to the status bar in Android. This posting shows how to set color to the status bar in Android. Status bar is provided by Android System UI and provides information about the system. It's the red colored area in the picture below. Set the color you want with the folollowing code. It's not supported in the version that's lower than Lollipop. public void setStatusBarColor(int color) { if (Build.VERSION.SDK_INT < Build.VERSION_..
[안드로이드] Status bar에 컬러 설정 Android의 status bar에 컬러 설정하는 방법에 대해 알아보도록 하겠습니다. Status bar는 System UI에서 각종 정보를 제공하는 영역입니다. 아래 그림에서 빨간 테두리 영역입니다. 아래와 같은 method를 구현하여 인자로 color을 설정하면 됩니다. 단, Lollipop 미만 SDK에서는 지원되지 않으므로 return 코드를 삽입하였습니다. public void setStatusBarColor(int color) { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { return; } final Window window = getWindow(); window.clearFlags(WindowManager.LayoutParam..
[안드로이드] 코드 난독화를 위해 R8 적용하기 코드 난독화의 목적은 아래와 같습니다. 앱 바이너리를 decompile 하더라도 코드 정보의 논리적 해독 불가 코드의 용량 감소 Method signature가 단순화 됩니다. R8을 적용하면 코드 난독화를 아주 쉽게 적용할 수 있습니다. 1. gradle.properties 수정 android.enableR8=true android.enableR8.fullMode=true 2. app/build.gradle 수정 buildTypes { debug { debuggable true minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules...
[안드로이드] Android Dropbox Service 활용하기 Android system에 DropBoxManagerService라는 service가 있습니다. Dropbox service의 목적은 안드로이드 시스템 동작 중 각종 warning이나 error 이벤트 취합이 목적입니다. Dropbox의 이벤트가 저장되는 위치는 아래와 같으며, 이벤트 단위로 정보 file로 저장이 됩니다. /data/system/dropbox DropBoxManagerService의 각종 로그들이 저장됩니다. Strict mode violation Low memory ANR Crasdh WTF (Fatal failures) Watchdog BootReceiver BatteryService Kernel log ETC Dropbox 사용법입니다. adb shell dumpsys dropb..
[안드로이드] Google Play Store 리뷰 지연 구글 내부 사정으로 Play Store 앱 리뷰가 7일 이상 걸릴거라고 공지가 되었습니다.
[Android App] Device ID This posting introduces an application named Device ID. You can confirm several IDs for your Android device. It's available on Google Play Store/ https://play.google.com/store/apps/details?id=com.kyumpany.deviceid Device ID - Android 장치의 각종 ID를 확인하세요. - Google Play 앱 안드로이드 디바이스가 제공하는 각종 ID 값을 확인할 수 있습니다. 기능 - 모델 - 하드웨어 시리얼 넘버 - 안드로이드 ID - 전화번호 - IMEI - SIM 가입자 ID - SIM 카드 시리얼 넘버 - 외부 IP address ..
[안드로이드앱] Device ID 오늘 소개해드릴 앱은 Device ID라는 앱입니다. 안드로이드 장치의 각종 ID 값을 확인할 수 있습니다. Play Store에서 다운받으실 수 있습니다. https://play.google.com/store/apps/details?id=com.kyumpany.deviceid Device ID - Android 장치의 각종 ID를 확인하세요. - Google Play 앱 안드로이드 디바이스가 제공하는 각종 ID 값을 확인할 수 있습니다. 기능 - 모델 - 하드웨어 시리얼 넘버 - 안드로이드 ID - 전화번호 - IMEI - SIM 가입자 ID - SIM 카드 시리얼 넘버 - 외부 IP address - 내부 IP address - Wi-Fi MAC 주소 - Bluetooth MAC 주소 - Finger..