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.
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.. ❤️
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.
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!
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.
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!
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?
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.
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?
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
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
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.
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
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.
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
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!
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.
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.
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
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??
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!
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?
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.
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.
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.
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.
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.
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.
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
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 ??
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 TH-cam 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.
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
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
Please refer these Stackoverflow answers for the same - stackoverflow.com/questions/5329662/android-webview-geolocation stackoverflow.com/questions/5907369/file-upload-in-webview
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..
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?
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 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?
I HAVE TO DESIGN FRONT END FOR APP...CAN U GUIDE I SKETCH PAGES IN LUNACY THEN HOW I CAN CONVERT IT IN ANDROID KINDLY IF U HAVE KNOWLEDGE ABOUT IT PLZ GUIDE MA
Hey, I have not used Lunacy so I am not sure. You can see tutorials for converting Sketch to XML on TH-cam, but the most efficient method is to learn to code XML. It is not that difficult and will improve your design as well. Thank you!
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.
@@PenguinCoders solved it, it was due to old gradle libs, updated the gradles in debug amd issues were gone. Although a tutorial on how to add preloaader before the webview loads will be useful.
Can i download your code from githup, open it by android studio and replace your website link by my website, then build app? if i do that I don't know whether it will work or not
dear mr penguin, with your code, i build apk successfully but can't upload image via app. Can you fix it? or make a vidieo guide people importing, editing your source code in android studio and build it? best wishes for you
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.
6:30 well done !! Thank You very much ! Detail & Usefull !
Glad it was helpful!
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.
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
This video has come very clear, step by step.. excellent...
Thank you!!
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!
You have got one loyal subscribe bro 💯,. Hats off to you
Thanks a lot!
Simple, clear and effective guide. You deserve more subs. I did my part by subscribing.
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.
Thank you bro your coding is perfect. not like other fake videos
Happy to help
Very Very helpful Thankx
Thank you!
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
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.
Super sir...keep teaching
Thank you, I will
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!
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?
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
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.
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);
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
Simple, clear and effective👍 , but when i click a link its redirect me to my web browser not on the app :)
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
Thank you...really helpful and to the point tutorial.
Glad it was helpful!
hello. do u know how to create permission for camera access?
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
Very clear and useful presentation, I appreciate
Glad it was helpful!
Thank you for this awesome lesson. God bless you
Glad it was helpful!
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.
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.
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
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.
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.
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.
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.
Thankyou so much, it was so clear
Glad it helped!
Very Userful Tutorial! 👍👌
Glad it was helpful!
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
My website is allowing CORS only for itself or few urls. Will it work in that case?
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);
Thanks, good video
Glad it helped
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.
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.
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
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!
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.
sir can u tell how to add nav bar like quora like you showed in video
You can add the navbar as a layout in the activity_main.xml file. Webview will be then just another element in the layout.
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?
Sir how to download pdf by print button from website in webview???
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?
Awesome content! Keep going..
Thanks a ton!
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.
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
There is a magenta bar at the top of the screen showing the app name. How can this bar be removed?
Thanks a lot for this nice tutorial
You are most welcome
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.
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.
very helpful. thank you so much.
Thank you!
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.
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.
A Great thanks You have got one loyal subscribe bro
Thanks a lot!
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.
So helpful, thank you!
Thank you.
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.
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.
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.
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
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 TH-cam 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.
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...
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!
@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.
pls how to store data locally using javascript/assets folder of android studio
pls i need it on my project in school thanks
You can use this using assets and raw folder. A good point to start learning about this is here - www.geeksforgeeks.org/assets-folder-in-android/
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
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
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 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
How to read localStorage that we have in Chrome browser ?
Do you have a similar video for ios apple apps
No, I don't have one.
Thanks for letting me know👍
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!
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.
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.
Thank you for the help!
Happy to help!
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?
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.
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 : th-cam.com/video/KbL3Xo5WTOA/w-d-xo.html
Yes it might be due to emulator issue. Glad you found the solution too.
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.
I HAVE TO DESIGN FRONT END FOR APP...CAN U GUIDE I SKETCH PAGES IN LUNACY THEN HOW I CAN CONVERT IT IN ANDROID KINDLY IF U HAVE KNOWLEDGE ABOUT IT PLZ GUIDE MA
Hey, I have not used Lunacy so I am not sure. You can see tutorials for converting Sketch to XML on TH-cam, but the most efficient method is to learn to code XML. It is not that difficult and will improve your design as well. Thank you!
@@PenguinCoders okay thank u
thanks for the tutorial
Thank you!
How to add a video into splash screen ?
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
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
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
how can i remove the title bar
You can use getSupportActionBar().hide() in the Main Activity to remove the title bar.
App not installed error coming, i have copied same code, even tried with your website url as well.
Please send a screenshot of the logcat here, I'll let you know.
@@PenguinCoders solved it, it was due to old gradle libs, updated the gradles in debug amd issues were gone. Although a tutorial on how to add preloaader before the webview loads will be useful.
There is an easy way to do this. See on stackoverflow for now, you'll be able to implement that easily.
Can i download your code from githup, open it by android studio and replace your website link by my website, then build app? if i do that I don't know whether it will work or not
Yes, it will.work!
@@PenguinCoders i will try, it is kind of you
dear mr penguin, with your code, i build apk successfully but can't upload image via app. Can you fix it? or make a vidieo guide people importing, editing your source code in android studio and build it? best wishes for you
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.
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