-
[Android] 전화번호 가지고 전화 앱 열기Android 2021. 8. 27. 09:38반응형
val intent = Intent(Intent.ACTION_DIAL, Uri.parse("tel:01012345678")) startActivity(intent)
전화를 직접 거는게 아니라서 퍼미션은 필요없음
반응형'Android' 카테고리의 다른 글
[Android] remove or hide Notification time (0) 2022.08.09 null cannot be cast to non-null type (0) 2022.06.27 [Android] view layout width, height change 변경 (0) 2021.08.19 java.lang.NullPointerException: null cannot be cast to non-null type android.view.ViewGroup (0) 2021.08.19 [Android] viewPager 스와이프 막기 (0) 2021.08.19