How to create a WebView in Android Studio Tutorial (Kotlin 2020)

How to create a WebView in Android Studio Tutorial (Kotlin 2020)

Indently

4 года назад

28,286 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

The Accelarition
The Accelarition - 11.05.2023 14:15

olmuyor bu kodlar

Ответить
Kesav Guru
Kesav Guru - 12.01.2023 21:24

Thanks for the video very useful 😀👍

Ответить
DOOMNOTRON
DOOMNOTRON - 12.12.2022 10:57

How do you make it that it wont reload on rotate?

Ответить
Good and Perfect
Good and Perfect - 17.10.2022 18:48

Great tut. Kindly add source code please

Ответить
Robert Eriksson
Robert Eriksson - 13.09.2022 12:23

guide in super speed... well... lucky we can paus. :D

Ответить
i_g
i_g - 29.06.2022 15:14

Thanks it was very helpful ❤

Ответить
DaveR
DaveR - 16.05.2022 19:26

Thank you so much man! Out of context question: are you Italian?

Ответить
Tim Watts
Tim Watts - 09.03.2022 20:30

Mate: Really great tutorial - thanks for taking the time. I'm 54, been hacking on computers since 1979. Decided it's time to try android coding. Haven't got a clue, so your video was really useful. You can teach an old dog new tricks 😄 Now my simple web wrapper app works...

Ответить
devgrp9
devgrp9 - 05.03.2022 12:17

Have you got an email to we can contact you to quote on a simple webview app?

Ответить
Edward Chomba
Edward Chomba - 28.02.2022 20:00

fucking tutorial,not working.

Ответить
Utkal Banik
Utkal Banik - 27.01.2022 23:59

How to hide url when device is offline

Ответить
Tajgoldsoft_tj
Tajgoldsoft_tj - 19.01.2022 21:31

up to this point, everything is underlined in red in my code
-----------------------------------
Unresolved reference: wb_webView
Variable expected
Unresolved reference: wb_webView
Unresolved reference: loadUrl
Unresolved reference: settings
Variable expected
Unresolved reference: settings
Variable expected

Ответить
Tajgoldsoft_tj
Tajgoldsoft_tj - 19.01.2022 21:27

bro why don't working

Ответить
Aladura Agboola
Aladura Agboola - 14.01.2022 00:20

Thanks. God bless! I needed this for clarification.

Ответить
Ask Hemant
Ask Hemant - 11.01.2022 13:40

not useful.. not proper info

Ответить
Bektur Muratov
Bektur Muratov - 27.12.2021 10:01

Hello everyone, how to make sure that when he clicks on a phone number, he opens a call to the number?

Ответить
Eric Garcia
Eric Garcia - 13.12.2021 10:49

Great 👍 tutorial, Can you please make one with buttons

Ответить
Lê Minh Đức
Lê Minh Đức - 28.07.2021 16:33

Thank man !

Ответить
NGH goCc
NGH goCc - 15.07.2021 11:59

thnx

Ответить
::INITER::37::37::
::INITER::37::37:: - 11.06.2021 08:41

oh my gah thanks man very very usefull

Ответить
Arpit Gupta
Arpit Gupta - 08.05.2021 20:09

Hi I need a little help
I'm loading a web page where you can upload a picture from gallery
How can I access storage from web view to upload to the page?

Ответить
Bloos3rpent
Bloos3rpent - 19.03.2021 11:04

mine is crashing when the cangoback feature is added

Ответить
Bragheto
Bragheto - 12.01.2021 02:09

This is SOOOOOOOO useful! Thaks a lot!

Ответить
Rafael
Rafael - 08.12.2020 17:58

How to disable the refresh from the webview? I am running into "too many requests coming from your IP" messages

Ответить
Apurbo Kumar Anup
Apurbo Kumar Anup - 06.12.2020 22:46

how to call permission webview app

Ответить
Arjun Shinde
Arjun Shinde - 04.11.2020 16:14

wb_webView.webViewClient = WebViewClient()
This line gets red underlined in android studio. When hovered it says unresolved reference: wb_webView and when hovered over webViewClient it says expected variable. I am using API 27 as target device. i have copied your code but not working and giving error. Any solution for this.

Ответить
Seongjin Cheon
Seongjin Cheon - 17.10.2020 16:20

"wb_webView" is not coming up automatically. would you help me out here?

Ответить
Nikhil Kashid
Nikhil Kashid - 11.10.2020 17:24

how to handle that onbackpressed in fragments?

Ответить
Archana Sadula
Archana Sadula - 27.09.2020 20:24

It is not clear, I am not able to see

Ответить
Yoga Nanda Saputra
Yoga Nanda Saputra - 04.09.2020 17:33

Hey , how to use WebChromeClient? I just use this code to render my streaming website.
But i can't enable fullscreen button. I think WebChromeClient is the solution

Ответить
Muneeb Grgees
Muneeb Grgees - 24.08.2020 11:51

very nice tutorial , please how i can add Progress bar

Ответить
Yoga Nanda Saputra
Yoga Nanda Saputra - 14.08.2020 03:46

what emulator you use?

Ответить
Ancient Engineer
Ancient Engineer - 05.08.2020 15:44

Hi, thank you for the video, I have a Kotlin problem not sure if you can solve it. Basically I am trying to use webview in android studio. It works, it views the web page on the phone no problem. Now I tried to use javascript in Kotlin to fill in one text box and click a button, I done that with the following code line below. But this line of code only works inside the function called onPageFinished, and it does the job of filling in the text box and clicking the button BUT because the line uses webView.loadUrl, the page keeps reloading looping inside the onPageFinished and I tried placing this code everywhere in my MainActivity code and it only works inside onPageFinished..Is there any way I can remove webview.loadUrl and run the javascrip without reloading the page over and over?? any advice would be very very appreciated, Please, thank you.

webView.loadUrl("javascript:document.getElementById('TextId').value = '$username';" + "document.getElementById('BtnId').click();")

Ответить
Eurys Paredes
Eurys Paredes - 02.08.2020 01:58

so that the videos are put in full screen?

Ответить
Hariram Narayanan
Hariram Narayanan - 29.07.2020 04:33

Thank you so so much for making this video

Ответить
Lofi Studio
Lofi Studio - 19.07.2020 17:52

Nice

Ответить
Leandro Sistema VS
Leandro Sistema VS - 20.06.2020 15:34

message if there is no internet how is it added?

Ответить
Shivam Verma
Shivam Verma - 19.06.2020 12:55

Nice video

Ответить
Jasmanpreet Singh
Jasmanpreet Singh - 18.06.2020 17:57

Short and simple 👌🏻

Ответить
Karuni7
Karuni7 - 18.06.2020 16:34

This shit is almost as tite as a slack line

Ответить