본문 바로가기

전체 글310

날씨 앱 개발2] The Weather Underground Offline 문제 해결 날씨 앱 개발] The Weather Underground API 받기 다시~ https://www.wunderground.com/ Local Weather Forecast, News and Conditions | Weather Underground © Copyright TWC Product and Technology LLC 2014, 2022 www.wunderground.com 회원가입하고 API Key.. odomm.tistory.com 에 이어서 ,, Api키도 만들었는데 Device가 offline이다. api문서대로 받은 키 넣고 postman에서 send도 안돼서 찾아봤더니 근처에 있는 PWS(Personal Weather Station) station을 등록하는 거다.. https://ww.. 2022. 4. 28.
Android] Debug / Release SHA1 키 확인하기 Debug용 Android Studio Gradle → 프로젝트 선택 → signingReport 클릭 바로 SHA1 키 확인 가능 Release용 1. cmd로 자바 설치된 경로 확인하기 // cmd에서 cd, dir 활용 C:\Program Files\Java\jdk-13.0.2\bin 2. 안드로이드 스튜디오 -> build -> 앱의 .jks 경로 확인하기 3. cmd에서 java 경로에서 keytool list -v -keystore ".jks경로" 입력하고 키스토어 비번 입력하면 SHA1키 확인가능. 2022. 4. 26.
Android] 안드로이드 12 이상 앱 출시할때 / 'android:exported' property set. You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported' property set. >> 다 있는데 android:exported 항목이 없다 This file can't be installed on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported >> 그래서 안드로이드 12 이상에서는 설치가 안된다. 앱 타겟버전을 12로 올리면서 문제가 발생했다. 친절하.. 2022. 4. 24.
날씨 앱 개발1] The Weather Underground API 받기 다시~ https://www.wunderground.com/ Local Weather Forecast, News and Conditions | Weather Underground © Copyright TWC Product and Technology LLC 2014, 2022 www.wunderground.com 회원가입하고 API Key받으려면 무슨 station이 있어야한다고 나온다. 그래서 Add New Device 해주면 키를 받을 수 있다. https://docs.google.com/document/d/13HTLgJDpsb39deFzk_YCQ5GoGoZCO_cRYzIxbwvgJLI/edit Weather Company Data | API Common Usage Guide Weather Compan.. 2022. 4. 22.
Kotlin] 비트연산 /16진수 / 시프트연산 / and / or / shift Log.d("===", 0x01.toInt().toString()) // 1 Log.d("===", 0x11.toInt().toString()) // 17 Log.d("===", 0x0A.toInt().toString()) // 10 16진수 0x01은 2진수로 변환시 00000001 And 연산 : 둘다 1일때 1 // 둘다 true 일때 true Or 연산 : 둘 중 하나가 1이면 1 // 둘 중 하나가 true면 true 시프트 연산 : 비트를 왼쪽이나 오른쪽으로 옮기는 연산 왼쪽으로 한번 할 때마다 *2 1 2 == 6 https://blog.naver.com/PostView.nhn?blogId=yuyyulee&logNo=221079465686&categoryNo=10&parentCategoryN.. 2022. 4. 13.
Git] Commit과 Push 차이 Commit : 로컬 저장소 업데이트 Push : 원격 저장소 업데이트 Add 하고 Commit 하고 push ~ https://rateye.tistory.com/1916 2022. 4. 13.