[Android] Failed to resolve: multidex-instrumentation
Failed to resolve: multidex-instrumentation gradle 버전 업데이트 후 발생하는 오류다. 매번 업데이트 할 때마다 뭔가 다른 이슈들이 나타난다. dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs')...
미세먼지에 갖힌 서울!! 외부 공기 유입을 위한 환풍기를 만들기(DIY) 위해 HEPA필터와 환풍기를 주문하였다.
아침 출근 후 10시쯤 팀 단체로 커피타임!! 엘레베이터를 타고 33층에 올라기기 위해 복도로 나갔다. 복도에서 바라본 풍경은 뿌옇다. 미세먼지일까요? 안개일까요? 질문을 던졌는데, 안개라고 대답한 팀장님!!...
안드로이드(Android) 절전모드 설정 화면 호출 intent
절전모드 여부 체크 하기 PowerManager pm = getSystemService(Context.POWER_SERVICE); boolean isPowsersaveMode = pm.isPowerSaveMode(); 절전모드 설정 화면 호출하기 //절전모드 셋팅 화면 호출 Intent bIntent=new Intent(Settings.ACTION_BATTERY_SAVER_SETTINGS); startActivity(bIntent); 스크린샷은 ...
[Android]proguard-rules.pro 파일 정보
혹시 필요하신 분 참고 하세요. #Caused by java.lang.RuntimeException: Parcel android.os.Parcel@41f53ba0: Unmarshalling unknown type code -573513 at offset 248-keepclassmembers class * implements android.os.Parcelable { static **...
[Android] build.gradle 설정 정보
현재 마켓에 등록된 앱의 build.gradle 설정 정보이다. 혹시 도움이 될까 올려본다. apply plugin: 'com.android.application'apply plugin: 'io.fabric'android { compileSdkVersion 26 //API 25 (Android 7.1) //buildToolsVersion '26.0.2' useLibrary...
[Android 13] 알림 권한 허용 구현방법(POST_NOTIFICATIONS, areNotificationsEnabled(), 알림 설정창 호출 방법)
안드로이드 13 부터는 알림 메세지를 보냈을 때 사용자가 거부 또는 허용할 수 있도록 권한 허용을 요구해야한다. 포그라운드 서비스의 동작이 필수적으로 필요한 앱이라면 무조건 권한 부여를 받아야만...
[android : kotlin] 코틀린 Notification MediaStyle 사용시 SeekBar 를 사용자가 사용할 수 있게 하는 방법
안드로이드 10부터 MediaStyle의 Notificaiotn(알림)을 사용할 때 SeekBar( 탐색 막대)가 표시됩니다. 그렇다면 단순이 플레이가 어디까지 되고 있는지 확인용으로 사용하는 것 뿐만 아니라 사용자가 SeekBar를 조절할 수...
[MS-SQL] PIVOT(피봇) 기본 및 심화(동적 쿼리 생성)
피봇(PIVOT)은 질의한 데이터에 대한 행의 집합을 열로 변환시켜 보여줄 때 사용하게 됩니다. 보통의 경우 통계 데이터를 추출하는 쿼리를 작성할 때 많이 사용되지요. 반대로 UNPIVOT은 열을...
[android : kotlin] 코틀린 물음표 null 처리 방법 ?: , !! , as?사용 예제(엘비스 연산자) null 처리 방법에 대한 처리
코틀린은 기본적으로 값이 null이 아니다. 기본적으로 NotNull이다. Nullable 표현에만 ‘?’가 사용된다. 아래 코드 스니펫에 대한 코드를 실행해 보면 temp 변수가 null임으로 오류가 발생하고 어떻게 처리해야하는지...
안드로이드(Android) 앱 권한 화면으로 이동시키는 방법
휴대폰 운영체제가 마시멜로 이상 버전(안드로이드 6.0 MarshMellow)의 일 경우(@TargetApi(Build.VERSION_CODES.M)) 사용자에게 권한을 요청하기 위해 권한 허용을 위한 팝업창을 노출한다. 하지만 사용자가 “다시 보지 않기”를 체크 할 경우...