Notice
Recent Posts
Recent Comments
Link
«   2025/10   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

🌱 dreaming DiNO

[Android Studio] 외부 브라우저가 아닌, 웹뷰로 브라우저 띄우기 본문

Android/Android Studio

[Android Studio] 외부 브라우저가 아닌, 웹뷰로 브라우저 띄우기

MK_____ 2021. 11. 3. 23:09

Manifest.xml : 외부 인터넷 권한 추가

activity_main.xml : 외부 브라우저가 아닌 앱에서 보여줄꺼니까 WebView 추가

 

MainActivity.java

button 클릭 시, textView에 적혀있는 string 값을 가져와 외부 인터넷을 webView로 보여주겠다