본문 바로가기
728x90

Category76

[Android] HashMap vs ArrayMap 비교 https://mashup-android.vercel.app/mashup-11th/seonggyu/arraymapsparsearray/array_map_sparse_array/ HashMap vs ArrayMap, SparseArray | 매쉬업 안드로이드 개발자 안드로이드만의 메모리 절약 데이터 구조 mashup-android.vercel.app 2022. 11. 14.
[Android] APK Push 할 때 read only 오류 메시지 대응 방법 https://android.stackexchange.com/questions/110927/how-to-mount-system-rewritable-or-read-only-rw-ro How to mount /system rewritable or read-only? (RW/RO) How can I mount the /system directory rewritable or read-only on my Android phone? android.stackexchange.com 2022. 10. 31.
[Android] 연결된 USB의 UUID 정보 구해오기 파일 Path 정보 중 USB의 루트 디렉토리 이름을 구해와야 하는 일이 생겼다. VolumeLabel 이라고 하던데, 가져오는 방법은 다음과 같은 방법으로 구해올 수 있다. public String getUsbUUIDName(Context context){ StorageManager storage = (StorageManager) context.getSystemService(STORAGE_SERVICE); List volumes = storage.getStorageVolumes(); for (StorageVolume volume : volumes) { if (albumName.equals(volume.getUuid())){ return volume.getUuid(); } } return null; } .. 2022. 10. 6.
[Android] call stack 로그 추출 방법 https://codechacha.com/ko/android-get-stack-trace/ Android - Call Stack 출력하는 방법 App(Java, Kotlin)에서 Call Stack을 출력하는 방법을 소개합니다. Log를 이용하여 다음과 같이 Call Stack을 출력할 수 있습니다. try-catch를 사용할 때, Exception이 발생하면 Call stack을 출력하여 디버깅이 필 codechacha.com 2022. 8. 30.
728x90