본문 바로가기

Android Studio18

[Android, Kotlin] 안드로이드 어플 출시까지 한 걸음 부터(5), Google PlayStore에 출시 진행하기 Play Console PlayStore에 첫 출시를 할 예정이라서 개발자 ID를 만들어야 했습니다. Google Play Console | Google Play Console 앱 및 게임이 성장할 수 있도록 사용자에게 도달하고 사용자 참여를 유도하는 데 도움이 될 도구, 프로그램, 통계를 이용하세요. play.google.com 들어가서 Google 계정에 연동되는 개발자 ID를 만들었습니다. (약간의 돈이 들어갑니다.) 해당 개발자 ID에 Google Play Console를 들어가서 이번에 제작한 "나만의 타이머"라는 앱을 만들었습니다. 해당 앱에 대한 정책과 콘텐츠에 대하여 설정하는 공간에 필요한 부분들을 설정해주었습니다. 특히 여기서 개인정보처리방침을 제작해야하는데 저는 아래 사이트를 이용해서 .. 2022. 10. 7.
[Android, Kotlin] Background에서 진동 울리기 개발을 하는 도중에 App이 Background에서 작업을 진행하다가 완료하면 진동이 울리도록 작성하였었습니다. 하지만 앱을 켜둔 상태에서만 진동이 울리고 Background 상태에서는 울리지 않는 것을 확인하였습니다. 이 문제에 대해 해결한 방법을 정리하였습니다. Vibrator 우선 진동을 울리기 위해 현재 Activity에 Vibrator를 선언하기. //저는 Fragment에서 선언하였기 때문에 requireActivity()를 사용하였습니다. val vibrator = requireActivity().getSystemService(Context.VIBRATOR_SERVICE) as Vibrator Android Develops에서 Vibrator를 살펴보면 Vibrator | Android De.. 2022. 10. 6.
[Android, Kotlin] Notification Click시 실행 중인 App 띄우기(intent Setting) 타이머를 진행중에 Notification을 띄운 후 타이머가 종료되면 없어지도록 하였습니다. 하지만 타이머가 진행중에 BackGround에 있을 때 PendingIntent를 이용해서 다시 돌아오도록 하였지만 돌아오는 Activity가 새롭게 실행되는 것을 확인하였습니다. 제가 원하는 것은 현재 BackGround에서 실행 중인 타이머 그대로 돌아오는 것을 원하였습니다. 이 문제에 대해 해결한 방법을 정리하였습니다. Intent Android Develops에서 Intent를 살펴보면 Intent | Android Developers android.net.wifi.hotspot2.omadm developer.android.com Task에서는 Activity는 Stack(LIFO)에 형태로 보관 및 관리.. 2022. 10. 3.
[Android, Kotlin] 안드로이드 어플 출시까지 한 걸음 부터(4-4), 어플리케이션 기능 만들기(SettingActivity) GitHub - rafi0101/Android-Room-Database-Backup: Simple tool to backup and restore your room database in Android Simple tool to backup and restore your room database in Android - GitHub - rafi0101/Android-Room-Database-Backup: Simple tool to backup and restore your room database in Android github.com Room DB BackUp에 관련 구현하기 위해서 위와 같은 라이브러리를 사용하였습니다. SettingActivity 문의 하기 : Intent를 이용하여 메일 관련 화면으로.. 2022. 10. 3.
[Android, Kotlin] 안드로이드 어플 출시까지 한 걸음 부터(4-3), 어플리케이션 기능 만들기(DetailActivity - Chart, ProfileActivity) GitHub - PhilJay/MPAndroidChart: A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubb A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations. - GitHub - PhilJay/MPAndroidChart:... github.com Chart에 관련 구현하기 위해서 위와 같은 라이브러리를 사용하였습니다. DetailActivity - Ch.. 2022. 10. 2.
[Android, Kotlin] 앱 강제종료시 Notification없애기(Service) 타이머를 진행중에 Notification을 띄운 후 타이머가 종료되면 없어지도록 하였습니다. 하지만 앱을 강제종료를 시킬 때 Notification이 사라지지 않아서 onDestory()에서 Notifiaction을 없어지도록 설정하였지만 Notification이 없어지지 않는 현상을 겪게 되었습니다. 정보를 찾아보고 해결한 방법을 정리하였습니다. Service Android Develops에서 Service를 살펴보면 Service | Android Developers android.net.wifi.hotspot2.omadm developer.android.com A facility for the application to tell the system about something it wants to .. 2022. 10. 2.