Very invaluable app. Follow every second of the video closely and make sure the prompts show up when you type in the commands. It worked for my site. This is the first time I have ever built an app successfully for a site. An explanation while the commands are being typed helps you understand the purpose of each step. Now to build an APK and happily pass it around :) Congrats.
Everything worked perfect for me! Many thanks for valuable tutorial that saved me many hours of learning all those details. I built my first application just repeating the actions from the video, so it was literally plug-n-play. Now the only issue is that the content could not be zoomed-in as in ordinary mobile browser. How this action could be enabled?
Simplicity of the content and easy to follow instructions! This is what any beginner aspires for... You have it all :) Really glad to see the tutorial videos coming every week. This channel is just getting better and better. You make it all look easy, great job PenguinCoders! Way to go 😁🔥
Really it helped me to learn android studio 😁 , very clear explanations. In other video , they wont tell the reasons. Usually i wont comment and like a video. i got impressed by your coding... My Biggest Request " There are lot of video to describe how to make whatsapp sticker Application. But there is no video to customise our app with more styles and colours , splash image, put options... Please make a tutorial video for that.. ❤️
Hi Mohit - First off, I'd like to thank you for the fantastic video. I was developing a similar app; however, I got stuck with one thing. My website has one page where users upload images for background verification. I couldn't find a way to allow the application to access the media files and upload them on the website. Do you have any idea about this?
Hi, glad it was helpful for you to learn from this video. I don't have any idea on uploading files as of now, will check and let you know if I find something.
just one question why don't you convert you website in to app which you teach us here if so where is app link in play store i am afraid its not safe to put admob ads on converted website to app?? answer plz
Hi, it's a genuine question though. My website is a very old one and I haven't updated it since long, so didn't thought of making an app of the website. About the Admob issue, I haven't seen any policy regarding webview based apps. Please let me know if there is such policy, I will surely update the viewers about it then. If possible, could you link a reference here. Thank you for the genuine concerns. Highly appreciate that!
Hi ! i love the way you teach ..just completed creating an app with the help of your video just need your assistance sir,I just want to delete that sticky app name on the top of the home screen,please help me out.. Thank you!
You can do so by adding this line, getSupportActionBar().hide() in Main activity. Just google out this syntax and you'll find the solution, if any problem occurs.
Ah, if it were this simple. However, you can clone the github repo for the code and have it working directly in your Android Studio. Import project from VCS in Android Studio. The code link is in description of the video.
Excellent tutorial! It has helped me a lot. I have a problem that you may know how to fix... I am creating an app that references through an url a Google Form. In this form there is a file upload field, which does not work in the app (the file selector does not display). I have been looking about user permissions, and I have added in the manifest the external_storage related ones as well as the camera one, but it the image and files selector are still not working. Thanks!
It is a bit difficult implementing that through a webView. However you can try this stackoverflow answers from here - stackoverflow.com/questions/5907369/file-upload-in-webview
I did according to your tutorial and built APK, successfully installed apk in my device. But when i click icon of app, app can't be open (open white screen and close immediately). I used java sdk and android studio latest version. Please help me, thank you
Opening PDF is not a problem which you can solve for the WebView. You can either use Google PDF viewer by passing pdf url to it, else a PDF is always downloaded and opened through System default app. PDF opening capacity has to be built in the website, which you are going to open through the app. Hope it solves your query!
Hello The Penguin Coders, for me everything is ok as shown in the tutorial (only this was a problem :) ) I found that once the app is started and web page is loaded there is no refresh, so when i change something in the webpage its not present in the app, i found only cache clear will refresh the data. Is it possible to make another tutorial for example how to add a button for refresh in the top blue line where the app name is or any other approach?
Penguin Coders u are awesome.... need few suggestion regarding the cache clear since contents in app did not show real-time updates as in webpage... and what about the push notification after publishing new articles...
Please enable javascript flags for webView and you'll be able to update it in real time. Regarding push notiifcations, you can use Firebase Push Notifications Service which is free and easy to implement. Have a look at its official documentation and you'll be able to add it to your app. Thank you!
Thanks for making such fantastic videsos.... I have a suggestion for you... you could teach to make apps using flutter. Flutter can make android, ios, windows, macos and pwa all at once...
Hi Dikshit, thanks for suggesting. I will be making videos in Kotlin and now in Ionic as well, which is Angular based and we can make Web/Android/iOS apps with it.
Important note you have to know which version of Android studio YOU have AND which this help videos are using or else the code may NOT work .. I am using Chip Monk and its insane
Thank you for the tutorial. When I launch the app, it opens successfully as an app showing homepage but when I click on any link or page, then it opens in browser not in the app. What to do? Secondly when I write the line "WebView.setWebViewClient(client);" the app crashes. When I remove that code the app opens successfully but with the above mentioned issue. Please help @Penguincoders.
Tqs to share ur experience and its really usefull to me and onemore thing can i launch this app in playstore may i know its possible becuz user can get this app easily. waiting for ur fruitful rply??
Thanks for a very detailed tutorial. I have a question , my website offers some pDFs that a user can download , now when I covert my web site to an App will this PDF download functionality will be preserved or else?
The downloaad mechanism needs to be added through a downloadListener. Please refer this Stack Overflow answer for implementation details - stackoverflow.com/a/65241843/8702952
Hey Lenn, Quora and some apps which include Instagram are a hybrid application with some parts being webView and others being a native component. Though they might not use webView as directly as is done here, they use web components. Hope it explains. Thank you!
Not working copy from site even watch your videos and add some 2 points that are not in script still not working,I think the issue is package name please tell me how to name the package . i see errors while building apk
Please refer to this stackoverflow answer, you will have the solution. stackoverflow.com/questions/4338305/android-webview-tel-links-show-web-page-not-found Please use tel and mailto conditions as appropriate for your use case. Thank you! Reply back if you need help.
thanks for this tutorial. I'd love to see a tutorial that explains how to build an android app using only html/css/js in the offline way. I'm not sure it's possible though...
Thank you! Making an android app just using html/css/js might not be possible alone, but you can explore ReactNative and Ionic frameworks which are JS based frameworks to build mobile apps.
You can do so by adding a download listener to the webView. Check out some of the solutions mentioned here- stackoverflow.com/questions/10069050/download-file-inside-webview
If my website need to open a popup to downlobad something (it has a timer from 15 till 0, when it gets to 0 you can download the item) do I better open the popup in a we browser for example chrome or should it open it in the same app? and how to I do any of those options?
You can do it anyways.It depends on how you want the user experience to be. One good option would be to use Chrome Custom Tab to use Chrome in app, without leaving the app.
Very useful video, I must say. Bro, can you also tell how to remove the top ribbon which prints app name while running this app via apk file. I just want to view as full screen without any ribbons on any side. Also, is there a way to add "refresh" function when on top of the page, and dragging screen down to go more upside?
You can use getSupportActionBar().hide() to remove the top bar in MainActivity.java file. For adding a refresh button, please look into implementation of SwipeRefreshLayout which will solve your problem.
@@PenguinCoders Hello thanks for replying. I tried doing both things but its not working and giving some error now. I'm not a coder, please can you help me?
@@PenguinCoders I ask for a big request if you could make a more video for implementing both features. Please let us feel fully satisfied with the app we are getting from your teaching.
Please check in your Logcat. You will find the exact error, which can be used to debug why the error is occurring. You can sign it in any of the 2 key types available. I have a dedicated video coming up on uploading apps to Play Store.
Hello, thanks for all the content!! Very good... I try do it following all the steps but the app didn’t work. There something to do that I work in Mac ??
Thank you for this great video. I followed complete steps but when I tried to launch the app on my mobile an error appeared stating, "Duplicate Resources", in the mipmap folder inside ic_launcher.png. It is an issue with the icons, do I need to delete the icons present by default?
@@PenguinCoders Thank you for your reply, after changing the name at the time of creating icon the issue got resolved but another problem occurred. After successful launch of app, the homepage opens as an app but when I click on any page or button the next link opens in the mobile browser, why it is not opening in the app?
Please Help... i can install to my phone using USB from laptop when I run android studio...But I send my installe app to others,not possible to install with error message 'Not install App'...Any idea pliss..
Hello, thank you for your good work. Please after converting my website into an app. My website logo wasn't showing on the app. Please is there any solution to this
I have converted my wordpress website to android webview.. Everything is working fine but when I click on call link it's not opening on phone.. And the other this is when I can clicking on wordpress share button it's not opening on whatsapp.. Can you please help me with this please?
A webView has some security restrictions which does not allow it to work as a fully functional browser, hence some limitations are there on a webView based app.
I followed all your instructions and double checked the code, however I am getting a white blank page and after some time webview shows "Webpage not available" message. Could you please let me know if this is specific to device/emulator ?
Please refer these Stackoverflow answers for the same - stackoverflow.com/questions/5329662/android-webview-geolocation stackoverflow.com/questions/5907369/file-upload-in-webview
Mail and Contact use different protocols than http, so it will require additional configs - You can use this StackOverflow answer - stackoverflow.com/a/26758457/8702952
hi, thx for very useful video. can you tell me how to remove the top header of the app. because my website already has one header. now its look like two headers one by one. so i don't need top bar.
My app works fine, i have added a preloaader from another tutorial, it loads before the webview, but problem is even webview is loaded preloader seems still visible, how to do, i searched RUclips also, but no certain code.
After the webView has loaded, you can hide the preloader by doing a .setVisibility(View.GONE), which will hide the preloader. You will need a callback function, which can tell that the webView has been loaded.
@@PenguinCoders stackoverflow.com/questions/68112403/prelaoder-not-going-after-webview-is-loaded-android-app i have psated my code here please suggest.
great video. but can you please help me with the intent function. I want my app to redirect phone numbers to dialer app and maps to google maps. please help me with this.
You can use custom intents by parsing the URL and using different apps to open it. Here is one Stackoverflow answer which talks about this method - stackoverflow.com/questions/40734768/mailto-does-not-working-in-android-webview
Please I need a help. I have a web_loader activity. I created a different class and call it WebViewsetting.java class. I extends it with activity.. Then I put some webview setting codes in apply a method call apply_setting But when I call the method in the loader activity, my app keeps crashing.. please I need help. Please what should I do?
The webView will be displaying the website in full screen, so if you want a dark mode, you need to do that on the website itself. For custom components if you are implementing in your app, that could be made in dark mode by using themes.xml for night mode.
Sir what about mail function that in website but it cannot redirect to gmail or other email service.....and as well as call..... Your video is so helpful thank you so much but plz sir resolve my issue 🙏
Hello, thank you so much for this. It worked for some of my simple websites but it didn't work for my Woocommerce website. I keep getting the error net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH. I need your help seriously to rectify this.
@@PenguinCoders Oh Thanks. Your response was really quick. The error was from the emulator I was using. Probably using an outdated browser... Kindly point me to a video tutorial showing how to add push notifications and Bottom navigation to the webview app. Thanks a lot
A localhost website would only work on a local system. So not possible. One simple rule - If it opens in browser, you can put the URL in webView and it will work.
Finally no clickbait and fully detailed explanation thank you soo much!!
Wow! Thanks for your appreciation!
The tutorial I was searching to customise my website to a mobile view😍. Crystal clear instructions! Thank you!!
Glad we could help you out. Reach out for any assistance on your projects!!
Man please tell me how to download code
Very clear and straight to the needed information. I hope most tutorials are like this.
Very invaluable app. Follow every second of the video closely and make sure the prompts show up when you type in the commands. It worked for my site. This is the first time I have ever built an app successfully for a site.
An explanation while the commands are being typed helps you understand the purpose of each step.
Now to build an APK and happily pass it around :)
Congrats.
Thanks for sharing your thoughts!
Your video has been the one I paused second by second and worked on my Android Studio. Excellent tutorial.
Everything worked perfect for me! Many thanks for valuable tutorial that saved me many hours of learning all those details.
I built my first application just repeating the actions from the video, so it was literally plug-n-play.
Now the only issue is that the content could not be zoomed-in as in ordinary mobile browser.
How this action could be enabled?
Thanks it was helpful. I am not very sure about zooming of content in the webview.
@@PenguinCoders webSettings.setBuiltInZoomControls(true);
Simplicity of the content and easy to follow instructions! This is what any beginner aspires for... You have it all :)
Really glad to see the tutorial videos coming every week. This channel is just getting better and better. You make it all look easy, great job PenguinCoders! Way to go 😁🔥
Thanks for your appreciation. We are glad if we could help in your projects. Stay tuned for more content.
Can you help.me in making app
6:30 well done !! Thank You very much ! Detail & Usefull !
Glad it was helpful!
Really it helped me to learn android studio 😁 , very clear explanations. In other video , they wont tell the reasons. Usually i wont comment and like a video. i got impressed by your coding...
My Biggest Request " There are lot of video to describe how to make whatsapp sticker Application. But there is no video to customise our app with more styles and colours , splash image, put options... Please make a tutorial video for that.. ❤️
Thanks a lot Abice for your comments. I will definitely work on the suggestions you provided here. Keep learning ! Thank you!
Thank you for the tutorial. It is a little out of date, but put me on the right track and a few adjustments worked perfect.
Simple, clear and effective guide. You deserve more subs. I did my part by subscribing.
You have got one loyal subscribe bro 💯,. Hats off to you
Thanks a lot!
This video has come very clear, step by step.. excellent...
Thank you!!
Hi Mohit - First off, I'd like to thank you for the fantastic video. I was developing a similar app; however, I got stuck with one thing. My website has one page where users upload images for background verification. I couldn't find a way to allow the application to access the media files and upload them on the website. Do you have any idea about this?
Hi, glad it was helpful for you to learn from this video. I don't have any idea on uploading files as of now, will check and let you know if I find something.
Thank you bro your coding is perfect. not like other fake videos
Happy to help
just one question why don't you convert you website in to app which you teach us here if so where is app link in play store i am afraid its not safe to put admob ads on converted website to app?? answer plz
Hi, it's a genuine question though. My website is a very old one and I haven't updated it since long, so didn't thought of making an app of the website.
About the Admob issue, I haven't seen any policy regarding webview based apps. Please let me know if there is such policy, I will surely update the viewers about it then. If possible, could you link a reference here.
Thank you for the genuine concerns. Highly appreciate that!
Hi !
i love the way you teach ..just completed creating an app with the help of your video
just need your assistance sir,I just want to delete that sticky app name on the top of the home screen,please help me out..
Thank you!
You can do so by adding this line, getSupportActionBar().hide() in Main activity. Just google out this syntax and you'll find the solution, if any problem occurs.
Fantastic explanation. But I am not a developer. For people like me, can I request for a notepad with the codes I can just copy and paste?
Ah, if it were this simple. However, you can clone the github repo for the code and have it working directly in your Android Studio. Import project from VCS in Android Studio. The code link is in description of the video.
Excellent tutorial! It has helped me a lot.
I have a problem that you may know how to fix... I am creating an app that references through an url a Google Form. In this form there is a file upload field, which does not work in the app (the file selector does not display). I have been looking about user permissions, and I have added in the manifest the external_storage related ones as well as the camera one, but it the image and files selector are still not working.
Thanks!
It is a bit difficult implementing that through a webView. However you can try this stackoverflow answers from here - stackoverflow.com/questions/5907369/file-upload-in-webview
I did according to your tutorial and built APK, successfully installed apk in my device. But when i click icon of app, app can't be open (open white screen and close immediately). I used java sdk and android studio latest version. Please help me, thank you
Please check the LogCat to find the exact error.
Same issue can u guide us please bro
Hey, can i make an app which enables download pdf as well as show pdf(online loading without downloading) without going outside the app.
Opening PDF is not a problem which you can solve for the WebView. You can either use Google PDF viewer by passing pdf url to it, else a PDF is always downloaded and opened through System default app.
PDF opening capacity has to be built in the website, which you are going to open through the app.
Hope it solves your query!
@@PenguinCoders thanks🙏
Yes you can I HV a sample code for that
Hello The Penguin Coders, for me everything is ok as shown in the tutorial (only this was a problem :) )
I found that once the app is started and web page is loaded there is no refresh, so when i change something in the webpage its not present in the app, i found only cache clear will refresh the data. Is it possible to make another tutorial for example how to add a button for refresh in the top blue line where the app name is or any other approach?
Penguin Coders u are awesome.... need few suggestion regarding the cache clear since contents in app did not show real-time updates as in webpage... and what about the push notification after publishing new articles...
Please enable javascript flags for webView and you'll be able to update it in real time. Regarding push notiifcations, you can use Firebase Push Notifications Service which is free and easy to implement. Have a look at its official documentation and you'll be able to add it to your app. Thank you!
@@PenguinCoders can u show me the procedure please for enabling javascript flags for webView
public abstract void setJavaScriptEnabled (boolean flag)
So you can use webView.setJavascriptEnabled(true)
@@PenguinCoders Here is the solution if found out...
mywebview.clearCache(true);
anyway thanks for the response
This is so perfect! Hats off to you...
Thank you!
Thanks for making such fantastic videsos.... I have a suggestion for you... you could teach to make apps using flutter. Flutter can make android, ios, windows, macos and pwa all at once...
Hi Dikshit, thanks for suggesting. I will be making videos in Kotlin and now in Ionic as well, which is Angular based and we can make Web/Android/iOS apps with it.
Thank you...really helpful and to the point tutorial.
Glad it was helpful!
Very Very helpful Thankx
Thank you!
Very clear and useful presentation, I appreciate
Glad it was helpful!
Thank you for this tutorial! Is there a way to make a video play on full-screen? And how do you make the app go to landscape mode? Thank you again
please make a video on the same video on how to add refresh button or swipe down to refresh on the app
Sure. I'll try to make a seperate tutorial on SwipeRefreshLayout which is used for swipe to refresh behaviour.
Important note you have to know which version of Android studio YOU have AND which this help videos are using or else the code may NOT work .. I am using Chip Monk and its insane
Yes I believe some APIs have changed now.
Simple, clear and effective👍 , but when i click a link its redirect me to my web browser not on the app :)
Thank you for this awesome lesson. God bless you
Glad it was helpful!
Thank you for the tutorial.
When I launch the app, it opens successfully as an app showing homepage but when I click on any link or page, then it opens in browser not in the app. What to do?
Secondly when I write the line "WebView.setWebViewClient(client);" the app crashes.
When I remove that code the app opens successfully but with the above mentioned issue.
Please help @Penguincoders.
I'll have a look.
@@PenguinCoders Thanks
Tqs to share ur experience and its really usefull to me and onemore thing can i launch this app in playstore may i know its possible becuz user can get this app easily. waiting for ur fruitful rply??
Yes, you can launch this app in Play Store. All the best!
i need some links on my app open externally how i do that? only certains links not all
You can use this - stackoverflow.com/a/60599551 , filter out the URLs which you want to open by browser and use it in your webView.
Thankyou so much, it was so clear
Glad it helped!
So helpful, thank you!
Thank you.
Thanks for a very detailed tutorial.
I have a question , my website offers some pDFs that a user can download , now when I covert my web site to an App will this PDF download functionality will be preserved or else?
The downloaad mechanism needs to be added through a downloadListener. Please refer this Stack Overflow answer for implementation details - stackoverflow.com/a/65241843/8702952
Thanks, good video
Glad it helped
Very Userful Tutorial! 👍👌
Glad it was helpful!
There is a magenta bar at the top of the screen showing the app name. How can this bar be removed?
Super sir...keep teaching
Thank you, I will
very helpful. thank you so much.
Thank you!
My website is allowing CORS only for itself or few urls. Will it work in that case?
Are you sure i thought quora and all use JSON rest API parsing? Or maybe i might be wrong.
Hey Lenn, Quora and some apps which include Instagram are a hybrid application with some parts being webView and others being a native component. Though they might not use webView as directly as is done here, they use web components. Hope it explains.
Thank you!
@@PenguinCoders thank you for the explanation... Can make a video on that too?
hello. do u know how to create permission for camera access?
Not working copy from site even watch your videos and add some 2 points that are not in script still not working,I think the issue is package name please tell me how to name the package . i see errors while building apk
mailto: & tel: type link not working in webview. Please make the video on it.
Please refer to this stackoverflow answer, you will have the solution. stackoverflow.com/questions/4338305/android-webview-tel-links-show-web-page-not-found
Please use tel and mailto conditions as appropriate for your use case.
Thank you! Reply back if you need help.
@@PenguinCoders Thank to reply. I try the link instructions that you have shared.
thanks for this tutorial.
I'd love to see a tutorial that explains how to build an android app using only html/css/js in the offline way. I'm not sure it's possible though...
Thank you!
Making an android app just using html/css/js might not be possible alone, but you can explore ReactNative and Ionic frameworks which are JS based frameworks to build mobile apps.
@@PenguinCoders After some researches I found out that Cordova is exactly the thing: making android apps using html/css/js :)
@@maxlefou Yes, Cordova is one such platform like React Native and Ionic, which I told you above.
Awesome content! Keep going..
Thanks a ton!
how can i remove the title bar
You can use getSupportActionBar().hide() in the Main Activity to remove the title bar.
Thank you for the help!
Happy to help!
Hi i did the same and it worked great thanks, but the navigation buttons are not working, any suggestions?
It might be due to some DOM issues. Try this - webView.getSettings().setDomStorageEnabled(true);
File download supported or not?
You can do so by adding a download listener to the webView. Check out some of the solutions mentioned here- stackoverflow.com/questions/10069050/download-file-inside-webview
@@PenguinCoders ok thanks bro
How to add a video into splash screen ?
Thanks a lot for this nice tutorial
You are most welcome
If my website need to open a popup to downlobad something (it has a timer from 15 till 0, when it gets to 0 you can download the item) do I better open the popup in a we browser for example chrome or should it open it in the same app? and how to I do any of those options?
You can do it anyways.It depends on how you want the user experience to be. One good option would be to use Chrome Custom Tab to use Chrome in app, without leaving the app.
@@PenguinCoders I can not find any examples, maybe you have one you can share with me ? please
Can you I use this to convert and put this apk on play store
Yes, you can put it on Play Store
@@PenguinCoders do u have this codes on a website that I can copy and paste in android studio. ? Please
Yes, the code is on GitHub, you can find that on the video's description.
How to read localStorage that we have in Chrome browser ?
Great tutorial! For some reason after I make the app, my phone is telling me the app is infected? What could be the reason?
I don't know about this issue. Could you post a screenshot and send link here to look into the problem.
@@PenguinCoders It's ok, I found out that with Huawei phones, if you dont register them through the app store they will register as virus infected.
Very useful video, I must say.
Bro, can you also tell how to remove the top ribbon which prints app name while running this app via apk file.
I just want to view as full screen without any ribbons on any side.
Also, is there a way to add "refresh" function when on top of the page, and dragging screen down to go more upside?
You can use getSupportActionBar().hide() to remove the top bar in MainActivity.java file. For adding a refresh button, please look into implementation of SwipeRefreshLayout which will solve your problem.
@@PenguinCoders Hello thanks for replying.
I tried doing both things but its not working and giving some error now.
I'm not a coder, please can you help me?
@@PenguinCoders I ask for a big request if you could make a more video for implementing both features. Please let us feel fully satisfied with the app we are getting from your teaching.
sir, it's a great work sir ..can I know how to remove the webview header in the app
You can write this.supportActionBar.hide() in the main activity which will remove the header.
Pdf files are not downloading
Application just crashing and what about signing the app, so I can upload it to google play?
Please check in your Logcat. You will find the exact error, which can be used to debug why the error is occurring.
You can sign it in any of the 2 key types available. I have a dedicated video coming up on uploading apps to Play Store.
Hello, thanks for all the content!! Very good...
I try do it following all the steps but the app didn’t work. There something to do that I work in Mac ??
Could you mind sharing anything specific which didn't work? Or maybe share a link of the screenshot of your Android console here?
What email I can send you the screen
Penguin Coders
www.loom.com/share/8d7e5c99e6754da9b41c7551d4564934
You can mail me at mohit(at)penguincoders.net
Saved my life 👍
Didn't knew lives are dependent on it 😁. Jokes apart, glad you liked it! Thank you!
I m having college project about Animal o pedia(info about animals App.) but I don't know much about android studio that's why
A Great thanks You have got one loyal subscribe bro
Thanks a lot!
Does the share button of website works in this format . I mean if website has functionability of share link doea it work here.
I am not sure about this. Need to have a look into this.
Please why is my 'activity' showing warning in the code line. Please help.
Can you share the warning? I will be better able to help you out.
thanks for the tutorial
Thank you!
Thank you for this great video. I followed complete steps but when I tried to launch the app on my mobile an error appeared stating, "Duplicate Resources", in the mipmap folder inside ic_launcher.png. It is an issue with the icons, do I need to delete the icons present by default?
Yes, if duplicate error resources is coming, either rename your new icons or delete older ones.
@@PenguinCoders Thank you for your reply, after changing the name at the time of creating icon the issue got resolved but another problem occurred. After successful launch of app, the homepage opens as an app but when I click on any page or button the next link opens in the mobile browser, why it is not opening in the app?
Please Help... i can install to my phone using USB from laptop when I run android studio...But I send my installe app to others,not possible to install with error message 'Not install App'...Any idea pliss..
Yes, you have to send them a signed APK. Generate a signed APK from Android Studio, and send them that file.
Hello, thank you for your good work. Please after converting my website into an app. My website logo wasn't showing on the app. Please is there any solution to this
Try to enable javascript on the webview and try again.
thanks brother 🙏🏻❤️
Thank you!
Would this work for a WordPress social community site? I followed the steps and all I get is a blank view on the app...my site doesn't show at all.
It could be due to javascript not enabled properly. Please look at different javascript enablement commands and use whichever you find to work.
@SuppressLint("SetJavaScriptEnabled") error shows illegal start of type
It might be a simple syntax error. Please check if you missed any semicolon or anything like that.
I have converted my wordpress website to android webview.. Everything is working fine but when I click on call link it's not opening on phone.. And the other this is when I can clicking on wordpress share button it's not opening on whatsapp.. Can you please help me with this please?
You can make custom menu options for those features. Adding a design won't be that difficult. Embed the Webview in some layout.
Hi, why do some plugins not working properly in WebView app?
A webView has some security restrictions which does not allow it to work as a fully functional browser, hence some limitations are there on a webView based app.
I followed all your instructions and double checked the code, however I am getting a white blank page and after some time webview shows "Webpage not available" message. Could you please let me know if this is specific to device/emulator ?
Worked with this method : ruclips.net/video/KbL3Xo5WTOA/видео.html
Yes it might be due to emulator issue. Glad you found the solution too.
How can we use geolocation and upload file function in a webview
Please refer these Stackoverflow answers for the same - stackoverflow.com/questions/5329662/android-webview-geolocation
stackoverflow.com/questions/5907369/file-upload-in-webview
I have made app but contact and mail system not working
Mail and Contact use different protocols than http, so it will require additional configs - You can use this StackOverflow answer - stackoverflow.com/a/26758457/8702952
hi, thx for very useful video. can you tell me how to remove the top header of the app. because my website already has one header. now its look like two headers one by one. so i don't need top bar.
You can use this.getSupportedActionBar().hide() to hide the top bar. Use it in onCreate method of your app.
i am getting an error on the emulator , which says , The webpage at xyz could not be loaded because: net::ERR_NAME_NOT_RESOLVED . please help
It could be due to wrong website name. Please check again by opening the site on browser, and let me know if the error gets resolved. Thank you!
My app works fine, i have added a preloaader from another tutorial, it loads before the webview, but problem is even webview is loaded preloader seems still visible, how to do, i searched RUclips also, but no certain code.
After the webView has loaded, you can hide the preloader by doing a .setVisibility(View.GONE), which will hide the preloader. You will need a callback function, which can tell that the webView has been loaded.
@@PenguinCoders I will paste my code on GitHub, may be you can check from there what and where this needs to be added, will post link here.
Sure!
@@PenguinCoders stackoverflow.com/questions/68112403/prelaoder-not-going-after-webview-is-loaded-android-app i have psated my code here please suggest.
Thanks bro 😍😍
Glad it helped !
great video.
but can you please help me with the intent function.
I want my app to redirect phone numbers to dialer app and maps to google maps.
please help me with this.
You can use custom intents by parsing the URL and using different apps to open it. Here is one Stackoverflow answer which talks about this method - stackoverflow.com/questions/40734768/mailto-does-not-working-in-android-webview
Yes!
Thank you!
Please I need a help.
I have a web_loader activity.
I created a different class and call it WebViewsetting.java class.
I extends it with activity..
Then I put some webview setting codes in apply a method call apply_setting
But when I call the method in the loader activity, my app keeps crashing.. please I need help.
Please what should I do?
Please share the code link on Github or anywhere else, I can help you then.
crytall clear!! I wish tutorial webview with dark mode...
The webView will be displaying the website in full screen, so if you want a dark mode, you need to do that on the website itself. For custom components if you are implementing in your app, that could be made in dark mode by using themes.xml for night mode.
@@PenguinCodersthx for the suggest, so I revised the wish how about webview with upload with camera action?
Yes that could be possible. However I haven't worked on this feature, will let you know if I find something related to it.
@@PenguinCoders thank u
Will the hyperlink work on this app? I made one app from another video but when i click on the WhatsApp button it gets crashed.
I have not looked into this topic. Will check and let you know about this issue.
Can this work for my WordPress listing website, will it be able to upload pictures from mobile
You need to modify the code a bit, search google for 'uploading files to webView' Android, you will get some solutions! If not, I am there to help.
What if I build an app of any website (which is not mine) and I post it to playstore with ad feature..will it work??
Yes it will work, but it is not recommended if you do not have rights for the website, the original owner might ask you to remove your app.
So what if we change the content of the site to other content and based on other locality for example, is it also possible to do that?@@PenguinCoders
but sir here choose button will not working here
Make DOM and Javascript enabled in your code for webViewClient
I done 'app' as u said in video.But Why i can't get internet access from app? Guide me how to fix it please
Add Internet permission in Android Manifest file
Sir app is perfect but there is margin inside app on both side how to fix it
Please post a screenshot or share your code, I'll able to help you out then.
@@PenguinCoders where?
Bro i am getting an error while logging in using google.....Error 403 disallowed useragent....what should i do?
WebView is not allowed to make an OAuth request, so I recommend you use ChromeCustomTab for your application
Sir what about mail function that in website but it cannot redirect to gmail or other email service.....and as well as call.....
Your video is so helpful thank you so much but plz sir resolve my issue 🙏
I'll have a look and find the solution for you. Thank you!
i came here because i want to build an android app from website that would also use a chrome extension. is that possible?
I am not sure about the chrome extension. If you could explain your need, I'll be better able to help you out.
@@PenguinCoders ty for your answer but i realized that its very hard to do with how little experience i have so far...
Hello, thank you so much for this. It worked for some of my simple websites but it didn't work for my Woocommerce website. I keep getting the error net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH. I need your help seriously to rectify this.
Give me the website link and I'll check it out. I'll respond in some time.
@@PenguinCoders Oh Thanks. Your response was really quick. The error was from the emulator I was using. Probably using an outdated browser...
Kindly point me to a video tutorial showing how to add push notifications and Bottom navigation to the webview app. Thanks a lot
Hi! Can you also convert un-published website / just localhost website??
A localhost website would only work on a local system. So not possible. One simple rule - If it opens in browser, you can put the URL in webView and it will work.