소프트웨어/안드로이드
[Android] 안드로이드 웹 주소 URL로 브라우저 실행하기
이로이로
2019. 9. 16. 12:32
How to launch web browser by web address URL in android
부연설명이 필요없으므로 코드로 땡.
Kotlin
val i = Intent(Intent.ACTION_VIEW)
i.data = Uri.parse("https://www.naver.com/")
startActivity(i)
Java
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("https://www.naver.com/"));
startActivity(i);