본문 바로가기
728x90

전체 글99

삼성 헬스(Samsung Health) 운동 데이터가 헬스 커넥트(Health Connect)로 안 넘어갈 때 해결 방법 앱 권한 모두 허용했는데 헬스 커넥트에서는 계속 데이터 없음이 떴다. 권한 삭제 했다가 다시 부여해도 똑같다. 헬스 커넥트로 데이터가 넘어가지 않아서 다른 운동 관련 앱과 헬스 커넥트를 연결해도 삼성헬스 데이터 연동이 안 된다. 아래 경로를 통해 삼성 헬스에서 측정한 운동 기록을 삼성 계정에 동기화 모바일 삼성 헬스(Samsung Health) > 상단 점 3개 더보기 > 설정 > 삼성 계정과 동기화 > 사용 중 ON > 지금 동기화 동기화가 완료될 때까지 잠시 기다려준다. 동기화가 완료되면 마지막 동기화 시간이 현재 시간으로 업데이트된다. 동기화 후 바로 적용이 안 되거나 조금 시간이 걸릴 수도 있어서 다음날까지 시간을 두고 봐줘도 좋을 것 같다. 동기화를 완료한 이후에도 지속적인 문제 발.. 2023. 10. 12.
[Android] Jetpack Compose Chart - vico 사용하기 graph를 그리기 위해 제일 먼저 뜨는 vico를 사용해 보았다. https://github.com/patrykandpatrick/vico GitHub - patrykandpatrick/vico: A light and extensible chart library for Android. A light and extensible chart library for Android. Contribute to patrykandpatrick/vico development by creating an account on GitHub. github.com build.gradle.kts(:app) minSdk가 최소 16(뷰 시스템의 경우) 또는 최소 21(Jetpack Compose의 경우)로 설정되어 있는지 확인 코드 .. 2023. 9. 20.
[Android Jetpack Compose UI] Composable Text() 함수 사용법 ✏️ Text() 함수 : Text.kt에 정의 @Composable fun Text( text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: Tex.. 2023. 9. 8.
[jQuery] JSON 데이터 정렬해주는 사이트 JSON 데이터를 정렬해 주는 사이트는 많지만 개인적으로 http://json.parser.online.fr/ 과 https://codebeautify.org/ 이걸 많이 사용한다. http://json.parser.online.fr/ Json Parser Online json.parser.online.fr 이 사이트는 정말 Json만 정렬할 때 사용하면 좋다. https://codebeautify.org/ Code Beautify and Code Formatter For Developers - to Beautify, Validate, Minify, JSON, XML, JavaScript, CSS, HTML, Excel and mor Free Online Tools like Code Beautifiers.. 2023. 7. 25.
git stash 사용법 여러 명이서 같은 git Repositorie에서 작업을 한다. 내가 git에 최종적으로 push를 하고 다음 작업을 하려고 branch를 생성했다. 내가 작업하는 중간에 동료가 git push를 해서 나는 최신 소스코드 한 단계 아래에 있다. 이때 git pull을 하면 충돌이 날 것이다. git stash를 해서 잠깐 다른데 저장을 한 다음에 pull을 받고 다시 branch를 생성한 후 다시 저장한 것을 불러오면 된다. 🤔 git stash 란? - 새로운 stash를 스택에 만들어하던 작업을 임시 저장 터미널에서 git stash -h 로 사용법(도움말)을 볼 수 있다. (-h는 help의 약자이다.) git stash -h : git stash를 어떻게 쓰는지 설명해 주는 help 명령어 git.. 2023. 7. 5.
LocalizeStringEvent 인스턴스 사용하기 Unity Localization을 이용하여 다국어 지원을 만들 수 있다. 나는 ScriptableObject에 Localization을 적용해서 만드는 중에 막힌 부분이 있었다. 기존에 TextMeshProUGUI로 사용했던 것을 [SerializeField] private TextMeshProUGUI taskName; or public TextMeshProUGUI taskName; LocalizeStringEvent로 바꿔서 사용하는데 [SerializeField] private LocalizeStringEvent localizedTaskName; or public LocalizeStringEvent localizedTaskName; (여기서 private는 생략해도 된다.) 그냥 TextMeshPr.. 2023. 6. 15.
Unity Package Manager (UPM) 창의 경로 Window > Package Manager 2023. 6. 14.
[Unity] CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. 📝 Unity에서 만든 프로그램을 안드로이드에 빌드하면서 이런 에러가 떴다. CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. 1. 지금 테스트하려고 하는 단말기에 이미 설치된 버전이랑 맞지 않아서 발생 2. 현재 핸드폰의 용량 부족 3. etc. 1. 핸드폰에 있는 앱을 지우고 다시 컴파일한다. 2. 핸드폰 용량을 정리 후 빌드한다. 3. [다른 .. 2023. 4. 18.
728x90