본문 바로가기

Development

(16)
[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_..
[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 ..
[Android] Show an icon in Actionbar. It's possible to show an icon in Actionbar with the following code. getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setIcon(R.drawable.ic_launcher);
[Android] Convert asset and drawable to URI. It's required to convert local resources like asset and drawable to URI string. How to convert them? Asset String imageUri = "assets://image.png"; Drawable String imageUri = "drawable://" + R.drawable.image;
[Android App] FlashLite - A free flash light app This posting introduces an application called FlashLite for Android. This is the link for the application on Google Play Store. https://play.google.com/store/apps/details?id=com.kyumpany.flashlite FlashLite - 무료 손전등 플래쉬앱 - Google Play 앱 FlashLite는 단순하고 가벼운 플래쉬앱입니다. play.google.com The application is designed to be easily used for anyone.
[Android App] AAID (Google Advertising ID) - Get your Google Advertising ID This posting introduces an application for Android called AAID. This is the link for the application on Google Play Store. https://play.google.com/store/apps/details?id=com.kyumpany.aaid AAID - 구글 광고 ID 확인 - Google Play 앱 안드로이드 장치의 AAID (구글 광고 ID) 확인을 위해 사용하세요. 손쉽게 AAID를 확인할 수 있으며, 간편하게 AAID 복사와 공유가 가능합니다. AAID 정보 (출처 : https://support.google.com/googleplay/android-developer/answer/6048248?hl=ko..
[Android App] My IP Address - Check your IP address This posting introduces an application for Android called My IP Address. This is the link for the application on Google Play Store. https://play.google.com/store/apps/details?id=com.kyumpany.myipaddress My IP Address - IP 주소 확인 - Google Play 앱 안드로이드 디바이스의 IP 주소를 확인하고 싶으신가요? My IP Address 앱을 통해 안드로이드 장치의 IP 주소를 확인할 수 있습니다. 앱 내에서 쉽게 IP 주소를 복사, 공유하거나 갱신할 수 있습니다. play.google.com This app provides wi..
[Android] RecyclerView - java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c041c7 VFED.V... ........ 0,0-1080,1450 #7f080058 app:id/common_list_re.. Error log 더보기 java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c041c7 VFED.V... ........ 0,0-1080,1450 #7f080058 app:id/common_list_recycler_view} java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c0..