how to create webview app in android studio

preview_player
Показать описание
how to create webview app in android studio

#androidstudio
#androidstudiotutorialforbeginners
#androidstudiosourcecode
#programmingknowledge
#programmingtechno

How to create web view app in android studio
Start android studio
Open new project ( create app name, package name)
Select webview
Set id for webview in attributes
Hear your url

Your web view app is ready but if you want
If you want to back option in app than select webview back option
Click on ctrl + O and search on back and select “onback”
Рекомендации по теме
Комментарии
Автор

Hi thank you for the video, java or kotlin?
I picked kotlin and now I have a problem I don't know if anybody can solve this one. I want to auto fill a html textbox through the webview with kotlin
I can load the website no problem but I cannot automatically fill the text box, I tried the three lines below but it does not fill anything I just view the website thats it.
val username = "Jack"
1) = '$username';")
2) x = = '$username';")
3) { = '$username'; ;})()");

Or is it just better to go back to Java and completely abandon kotlin because it is sooo simple but annoying?
any help would be appreciated thanks.

ancientengineer
Автор

This only loads google.com, why other sites are not loading

oandetechnologies