How to Convert Any Website to Android App in Android Studio | Android Tutorials | The Penguin Coders

  Рет қаралды 73,520

Penguin Coders

Penguin Coders

Күн бұрын

With this video tutorial, learn how to convert any website(WordPress, blogger) to the Android app using Android Studio. This tutorial describes the creation of an Android app using your mobile website.
It focuses on WebView to create a mobile app for your website.
Also, you will learn about handling the back button issue in Android when navigating through the app, and opening all links in-app using a WebViewClient.
After this tutorial, a simple Android app can be created for your responsive website, which will be similar to popular webView apps such as Quora.
Code for the application - github.com/msindev/Penguin-Co...
Android Beginner Tutorial Series - • Android Tutorials - Co...
Video Contents -
00:00 - Introduction
01:14 - Quora app as WebView
02:35 - Project Setup
03:30 - Layout(XML)
04:46 - JAVA Code
06:42 - Handle Back Button Press
09:10 - Handle Link Clicks in App
15:20 - Android Manifest Permissions
16:55 - Add App Icon
18:00 - App Demo
Get more apps by Penguin Coders on Play Store - play.google.com/store/apps/de...
NewsWrap Android App by The Penguin Coders - play.google.com/store/apps/de...
Follow Penguin Coders on Social Media -
Twitter - / penguin_coders
KZfaq - / @penguincoders
Follow me on Social Media -
Twitter - / msindev
LinkedIn - / msindev
Github - github.com/msindev

Пікірлер: 397
@ashadhakad9259
@ashadhakad9259 3 жыл бұрын
Finally no clickbait and fully detailed explanation thank you soo much!!
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Wow! Thanks for your appreciation!
@keyurshah6298
@keyurshah6298 4 жыл бұрын
The tutorial I was searching to customise my website to a mobile view😍. Crystal clear instructions! Thank you!!
@PenguinCoders
@PenguinCoders 4 жыл бұрын
Glad we could help you out. Reach out for any assistance on your projects!!
@writerofTelugu
@writerofTelugu 3 жыл бұрын
Man please tell me how to download code
@bbtv601
@bbtv601 3 ай бұрын
Very clear and straight to the needed information. I hope most tutorials are like this.
@thehananbhat
@thehananbhat 4 жыл бұрын
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 😁🔥
@PenguinCoders
@PenguinCoders 4 жыл бұрын
Thanks for your appreciation. We are glad if we could help in your projects. Stay tuned for more content.
@writerofTelugu
@writerofTelugu 3 жыл бұрын
Can you help.me in making app
@rodneyhubert1473
@rodneyhubert1473 5 ай бұрын
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.
@kyonandkaise
@kyonandkaise Жыл бұрын
Simple, clear and effective guide. You deserve more subs. I did my part by subscribing.
@umeshmysoreshivaraju26
@umeshmysoreshivaraju26 3 жыл бұрын
This video has come very clear, step by step.. excellent...
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thank you!!
@media.islamicityTV
@media.islamicityTV 2 жыл бұрын
6:30 well done !! Thank You very much ! Detail & Usefull !
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Glad it was helpful!
@NatarajanGanesan
@NatarajanGanesan Жыл бұрын
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.
@PenguinCoders
@PenguinCoders Жыл бұрын
Thanks for sharing your thoughts!
@NatarajanGanesan
@NatarajanGanesan Жыл бұрын
Your video has been the one I paused second by second and worked on my Android Studio. Excellent tutorial.
@clandestineclaro8669
@clandestineclaro8669 3 жыл бұрын
This is so perfect! Hats off to you...
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thank you!
@maheshjatwa9671
@maheshjatwa9671 3 жыл бұрын
Thank you bro your coding is perfect. not like other fake videos
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Happy to help
@benedict9010
@benedict9010 2 жыл бұрын
Thank you...really helpful and to the point tutorial.
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Glad it was helpful!
@vijaypanday7290
@vijaypanday7290 Жыл бұрын
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
@JC_yt01
@JC_yt01 3 жыл бұрын
So helpful, thank you!
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thank you.
@kojaram3465
@kojaram3465 3 жыл бұрын
You have got one loyal subscribe bro 💯,. Hats off to you
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thanks a lot!
@kamalkhaja9508
@kamalkhaja9508 3 жыл бұрын
Very clear and useful presentation, I appreciate
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Glad it was helpful!
@capybaratech377
@capybaratech377 2 жыл бұрын
Thank you for this awesome lesson. God bless you
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Glad it was helpful!
@rishindramanikatiyar98
@rishindramanikatiyar98 4 жыл бұрын
Awesome content! Keep going..
@PenguinCoders
@PenguinCoders 4 жыл бұрын
Thanks a ton!
@aishanivallabhaneni
@aishanivallabhaneni 2 жыл бұрын
Thankyou so much, it was so clear
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Glad it helped!
@agaminisula9240
@agaminisula9240 3 жыл бұрын
very helpful. thank you so much.
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thank you!
@pawannane1540
@pawannane1540 3 жыл бұрын
Very Userful Tutorial! 👍👌
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Glad it was helpful!
@Zoli5
@Zoli5 2 жыл бұрын
Thank you for the help!
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Happy to help!
@abiceabi1171
@abiceabi1171 3 жыл бұрын
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.. ❤️
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thanks a lot Abice for your comments. I will definitely work on the suggestions you provided here. Keep learning ! Thank you!
@growwithusofficial9006
@growwithusofficial9006 2 жыл бұрын
Thanks, good video
@PenguinCoders
@PenguinCoders Жыл бұрын
Glad it helped
@RajKumar-wt9cp
@RajKumar-wt9cp 2 жыл бұрын
Super sir...keep teaching
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Thank you, I will
@raifahmedrazy6625
@raifahmedrazy6625 2 жыл бұрын
Very Very helpful Thankx
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Thank you!
@osandarathnayaka9002
@osandarathnayaka9002 3 жыл бұрын
thanks for the tutorial
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thank you!
@ProjectAryawarta
@ProjectAryawarta Жыл бұрын
My website is allowing CORS only for itself or few urls. Will it work in that case?
@vijitkumawat2874
@vijitkumawat2874 2 жыл бұрын
Thanks a lot for this nice tutorial
@PenguinCoders
@PenguinCoders 2 жыл бұрын
You are most welcome
@debonmati2050
@debonmati2050 3 жыл бұрын
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!
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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
@mourtalladiop8649
@mourtalladiop8649 3 жыл бұрын
A Great thanks You have got one loyal subscribe bro
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thanks a lot!
@surajmurtadak
@surajmurtadak 3 жыл бұрын
thanks brother 🙏🏻❤️
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Thank you!
@SkillUpPaji
@SkillUpPaji 2 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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.
@mohammedasif9246
@mohammedasif9246 4 жыл бұрын
Thanks bro 😍😍
@PenguinCoders
@PenguinCoders 4 жыл бұрын
Glad it helped !
@hotfox0
@hotfox0 Жыл бұрын
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?
@PenguinCoders
@PenguinCoders Жыл бұрын
Thanks it was helpful. I am not very sure about zooming of content in the webview.
@hotfox0
@hotfox0 Жыл бұрын
@@PenguinCoders webSettings.setBuiltInZoomControls(true);
@SuhasGokhaleSangli
@SuhasGokhaleSangli 2 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 2 жыл бұрын
The downloaad mechanism needs to be added through a downloadListener. Please refer this Stack Overflow answer for implementation details - stackoverflow.com/a/65241843/8702952
@user-rm2ui2tu2g
@user-rm2ui2tu2g Ай бұрын
hello. do u know how to create permission for camera access?
@nayeemkhan6135
@nayeemkhan6135 3 жыл бұрын
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??
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, you can launch this app in Play Store. All the best!
@myworld1740
@myworld1740 3 жыл бұрын
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!
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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.
@kidus3651
@kidus3651 3 жыл бұрын
Tnx bro !!
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Glad you liked it!
@dikshitrishijain8943
@dikshitrishijain8943 Жыл бұрын
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...
@PenguinCoders
@PenguinCoders Жыл бұрын
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.
@ZdravkoOpaltchenov
@ZdravkoOpaltchenov 11 ай бұрын
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?
@jinkyamore2771
@jinkyamore2771 2 жыл бұрын
Does the share button of website works in this format . I mean if website has functionability of share link doea it work here.
@PenguinCoders
@PenguinCoders 2 жыл бұрын
I am not sure about this. Need to have a look into this.
@pravingamit3525
@pravingamit3525 3 жыл бұрын
Saved my life 👍
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Didn't knew lives are dependent on it 😁. Jokes apart, glad you liked it! Thank you!
@pravingamit3525
@pravingamit3525 3 жыл бұрын
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
@darshanthapa2038
@darshanthapa2038 3 жыл бұрын
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...
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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!
@darshanthapa2038
@darshanthapa2038 3 жыл бұрын
@@PenguinCoders can u show me the procedure please for enabling javascript flags for webView
@darshanthapa2038
@darshanthapa2038 3 жыл бұрын
public abstract void setJavaScriptEnabled (boolean flag)
@PenguinCoders
@PenguinCoders 3 жыл бұрын
So you can use webView.setJavascriptEnabled(true)
@darshanthapa2038
@darshanthapa2038 3 жыл бұрын
@@PenguinCoders Here is the solution if found out... mywebview.clearCache(true); anyway thanks for the response
@citenik10
@citenik10 Жыл бұрын
Simple, clear and effective👍 , but when i click a link its redirect me to my web browser not on the app :)
@maxlefou
@maxlefou 2 жыл бұрын
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...
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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.
@maxlefou
@maxlefou 2 жыл бұрын
@@PenguinCoders After some researches I found out that Cordova is exactly the thing: making android apps using html/css/js :)
@PenguinCoders
@PenguinCoders 2 жыл бұрын
@@maxlefou Yes, Cordova is one such platform like React Native and Ionic, which I told you above.
@LVLFITFACTORY
@LVLFITFACTORY 3 жыл бұрын
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 ??
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Could you mind sharing anything specific which didn't work? Or maybe share a link of the screenshot of your Android console here?
@LVLFITFACTORY
@LVLFITFACTORY 3 жыл бұрын
What email I can send you the screen
@LVLFITFACTORY
@LVLFITFACTORY 3 жыл бұрын
Penguin Coders www.loom.com/share/8d7e5c99e6754da9b41c7551d4564934
@PenguinCoders
@PenguinCoders 3 жыл бұрын
You can mail me at mohit(at)penguincoders.net
@lakshmanank72
@lakshmanank72 2 жыл бұрын
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.
@PenguinCoders
@PenguinCoders 2 жыл бұрын
You can use this.getSupportedActionBar().hide() to hide the top bar. Use it in onCreate method of your app.
@best4tech86
@best4tech86 3 жыл бұрын
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
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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!
@johnsunnyjohnsunny4296
@johnsunnyjohnsunny4296 2 жыл бұрын
sir, it's a great work sir ..can I know how to remove the webview header in the app
@PenguinCoders
@PenguinCoders 2 жыл бұрын
You can write this.supportActionBar.hide() in the main activity which will remove the header.
@jpllego8291
@jpllego8291 2 жыл бұрын
Hi! Can you also convert un-published website / just localhost website??
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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.
@Javed_CreatiVerse
@Javed_CreatiVerse 2 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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.
@olu_herodotus
@olu_herodotus 2 жыл бұрын
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
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Try to enable javascript on the webview and try again.
@samsunggalaxyfanboy7670
@samsunggalaxyfanboy7670 2 жыл бұрын
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.
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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
@manasmitra5341
@manasmitra5341 Жыл бұрын
There is a magenta bar at the top of the screen showing the app name. How can this bar be removed?
@diegodelgadillo8919
@diegodelgadillo8919 3 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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.
@diegodelgadillo8919
@diegodelgadillo8919 3 жыл бұрын
@@PenguinCoders I can not find any examples, maybe you have one you can share with me ? please
@Raghvendra3434
@Raghvendra3434 2 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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.
@Raghvendra3434
@Raghvendra3434 2 жыл бұрын
@@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?
@Raghvendra3434
@Raghvendra3434 2 жыл бұрын
@@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.
@olaniawoifeloluwa577
@olaniawoifeloluwa577 3 жыл бұрын
Can this work for my WordPress listing website, will it be able to upload pictures from mobile
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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.
@FootColic
@FootColic Жыл бұрын
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
@percival2856
@percival2856 3 жыл бұрын
Hey, can i make an app which enables download pdf as well as show pdf(online loading without downloading) without going outside the app.
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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!
@percival2856
@percival2856 3 жыл бұрын
@@PenguinCoders thanks🙏
@ngendamuliwana5134
@ngendamuliwana5134 3 жыл бұрын
Yes you can I HV a sample code for that
@fakhirchaudhry2531
@fakhirchaudhry2531 2 жыл бұрын
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
@PenguinCoders 2 жыл бұрын
Yes, if duplicate error resources is coming, either rename your new icons or delete older ones.
@fakhirchaudhry2531
@fakhirchaudhry2531 2 жыл бұрын
@@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?
@manuellandeira4805
@manuellandeira4805 3 жыл бұрын
i need some links on my app open externally how i do that? only certains links not all
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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.
@fastlabs6684
@fastlabs6684 3 жыл бұрын
crytall clear!! I wish tutorial webview with dark mode...
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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.
@fastlabs6684
@fastlabs6684 3 жыл бұрын
@@PenguinCodersthx for the suggest, so I revised the wish how about webview with upload with camera action?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes that could be possible. However I haven't worked on this feature, will let you know if I find something related to it.
@fastlabs6684
@fastlabs6684 3 жыл бұрын
@@PenguinCoders thank u
@moathqaqaa7357
@moathqaqaa7357 3 жыл бұрын
Hi i did the same and it worked great thanks, but the navigation buttons are not working, any suggestions?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
It might be due to some DOM issues. Try this - webView.getSettings().setDomStorageEnabled(true);
@Amitverma-mb4tu
@Amitverma-mb4tu Жыл бұрын
How to read localStorage that we have in Chrome browser ?
@Zakirhossain-sk3nz
@Zakirhossain-sk3nz 3 жыл бұрын
If it is my own website then Can I upload this type of web view apps in playstore ?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, it can be uploaded to Play Store.
@programmingstudios2115
@programmingstudios2115 2 жыл бұрын
sir can u tell how to add nav bar like quora like you showed in video
@PenguinCoders
@PenguinCoders 2 жыл бұрын
You can add the navbar as a layout in the activity_main.xml file. Webview will be then just another element in the layout.
@davidboygenius6843
@davidboygenius6843 2 жыл бұрын
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.
@PenguinCoders
@PenguinCoders 2 жыл бұрын
It could be due to javascript not enabled properly. Please look at different javascript enablement commands and use whichever you find to work.
@LamaCrew
@LamaCrew 2 жыл бұрын
Yes!
@PenguinCoders
@PenguinCoders 2 жыл бұрын
Thank you!
@pakistanigodam5149
@pakistanigodam5149 3 жыл бұрын
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.
@PenguinCoders
@PenguinCoders 3 жыл бұрын
I have not looked into this topic. Will check and let you know about this issue.
@manishkumar-lq4jc
@manishkumar-lq4jc 3 жыл бұрын
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 🙏
@PenguinCoders
@PenguinCoders 3 жыл бұрын
I'll have a look and find the solution for you. Thank you!
@aitzazshah7281
@aitzazshah7281 Жыл бұрын
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.
@PenguinCoders
@PenguinCoders Жыл бұрын
I'll have a look.
@aitzazshah7281
@aitzazshah7281 Жыл бұрын
@@PenguinCoders Thanks
@ecommerceethiopia2675
@ecommerceethiopia2675 3 жыл бұрын
please make a video on the same video on how to add refresh button or swipe down to refresh on the app
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Sure. I'll try to make a seperate tutorial on SwipeRefreshLayout which is used for swipe to refresh behaviour.
@happeningvlogs3358
@happeningvlogs3358 3 жыл бұрын
Can we do it for Django website also ?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, webView can handle Django websites too!
@supriya2013
@supriya2013 Жыл бұрын
How to add a video into splash screen ?
@abaaexpress6628
@abaaexpress6628 3 жыл бұрын
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
@PenguinCoders 3 жыл бұрын
Give me the website link and I'll check it out. I'll respond in some time.
@abaaexpress6628
@abaaexpress6628 3 жыл бұрын
@@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
@MrBillakuldeep
@MrBillakuldeep 3 жыл бұрын
How can we use geolocation and upload file function in a webview
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Please refer these Stackoverflow answers for the same - stackoverflow.com/questions/5329662/android-webview-geolocation stackoverflow.com/questions/5907369/file-upload-in-webview
@lalremtluangapautu7650
@lalremtluangapautu7650 3 жыл бұрын
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..
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, you have to send them a signed APK. Generate a signed APK from Android Studio, and send them that file.
@ImageforgeAsia
@ImageforgeAsia 2 жыл бұрын
Great tutorial! For some reason after I make the app, my phone is telling me the app is infected? What could be the reason?
@PenguinCoders
@PenguinCoders 2 жыл бұрын
I don't know about this issue. Could you post a screenshot and send link here to look into the problem.
@ImageforgeAsia
@ImageforgeAsia 2 жыл бұрын
@@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.
@khoderkurdy4458
@khoderkurdy4458 3 жыл бұрын
Is the database linked also ? Or we should link the database ?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
This app does not have any database. If you have databases to work locally on Android, I suggest not going with this method. Thank you!
@huetra9606
@huetra9606 3 жыл бұрын
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
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Please check the LogCat to find the exact error.
@swarajjakanoor3821
@swarajjakanoor3821 3 жыл бұрын
Same issue can u guide us please bro
@frigoservis3847
@frigoservis3847 3 жыл бұрын
iam bak end developer, help )) echo 'ajax post not working, how enabled dinamic content? thanks.. ';
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Hi, I am not exactly sure about the problem. But try to enable different webView.getSettings() functions to True. setDomStorageEnabled to True. It might help.
@MrAPOD
@MrAPOD 2 жыл бұрын
Application just crashing and what about signing the app, so I can upload it to google play?
@PenguinCoders
@PenguinCoders 2 жыл бұрын
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.
@aadilkaisar9422
@aadilkaisar9422 3 жыл бұрын
do i have to edit the codes what u have provided
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, you have to change the website link in the code. And if you want to further change anything please do as your wish.
@thaole667
@thaole667 3 жыл бұрын
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
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, it will.work!
@thaole667
@thaole667 3 жыл бұрын
@@PenguinCoders i will try, it is kind of you
@thaole667
@thaole667 3 жыл бұрын
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
@akash_deep
@akash_deep 4 жыл бұрын
Hey, admin will u design my website to apps with some extra basic feature,I am college student and I have interest in blog, apps, youtube.
@PenguinCoders
@PenguinCoders 4 жыл бұрын
Hey Akash, while it may not be possible for me to design the app for you, I can guide you on that. If you have interest in blogs and apps, this would be a good opportunity to learn and make an app on your own, which would also enhance your programming skills which would definitely help you in your career. Keep Coding, Keep Learning :)
@abhishekkumarsao2659
@abhishekkumarsao2659 3 жыл бұрын
@SuppressLint("SetJavaScriptEnabled") error shows illegal start of type
@PenguinCoders
@PenguinCoders 3 жыл бұрын
It might be a simple syntax error. Please check if you missed any semicolon or anything like that.
@savvasmirazanasvili9770
@savvasmirazanasvili9770 3 жыл бұрын
If i do that is my app be offline (work with out wifi )????
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Hi, webview only works to load a URL. You cannot have a local cache through a webview.
@Nathan-zc1qs
@Nathan-zc1qs Жыл бұрын
Does this work on ios
@effy2092
@effy2092 3 жыл бұрын
Hi, why do some plugins not working properly in WebView app?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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.
@cehpraveen
@cehpraveen 3 жыл бұрын
Please Sir can u make video of implement banner and interstitial ads in this code
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Ya, I have plan to make a sperate video for Admob ads integration. Will be uploading that soon. Thanks!
@umeshmysoreshivaraju26
@umeshmysoreshivaraju26 3 жыл бұрын
Please help with any reliable tool which can be used to convert a Asp.net website to ANDROID APP.
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Can you tell the website which you want to plan to make an app of?
@ttpyaunggyi9478
@ttpyaunggyi9478 3 жыл бұрын
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
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Add Internet permission in Android Manifest file
@lonewolfcoding5208
@lonewolfcoding5208 3 жыл бұрын
pls how to store data locally using javascript/assets folder of android studio pls i need it on my project in school thanks
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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/
@adeptstylesalon7920
@adeptstylesalon7920 3 жыл бұрын
Can you I use this to convert and put this apk on play store
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, you can put it on Play Store
@adeptstylesalon7920
@adeptstylesalon7920 3 жыл бұрын
@@PenguinCoders do u have this codes on a website that I can copy and paste in android studio. ? Please
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes, the code is on GitHub, you can find that on the video's description.
@jehdeiahgreen3644
@jehdeiahgreen3644 3 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Please share the code link on Github or anywhere else, I can help you then.
@ismailvittal
@ismailvittal 3 жыл бұрын
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 ?
@ismailvittal
@ismailvittal 3 жыл бұрын
Worked with this method : kzfaq.info/get/bejne/gch8Zrugmr24f3U.html
@PenguinCoders
@PenguinCoders 3 жыл бұрын
Yes it might be due to emulator issue. Glad you found the solution too.
@anishagupta1504
@anishagupta1504 3 жыл бұрын
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
@PenguinCoders
@PenguinCoders 3 жыл бұрын
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!
@kiranpandit3309
@kiranpandit3309 3 жыл бұрын
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?
@PenguinCoders
@PenguinCoders 3 жыл бұрын
You can make custom menu options for those features. Adding a design won't be that difficult. Embed the Webview in some layout.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 119 М.
We Built an App in 24 Hours [No Code]
11:56
Raw Startup
Рет қаралды 419 М.
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 12 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 16 МЛН
How To Create WebView App In Android Studio
8:22
Ghost Together
Рет қаралды 64 М.
How To Create A Mobile App for Your E-commerce Website
34:26
Website Learners
Рет қаралды 904 М.
The perfect imperfection of Google's Material You
15:47
David Imel
Рет қаралды 425 М.
I built a $5 chat app with Pocketbase & Svelte. Will it scale?
13:34
Turn Your Old Phone Into a Handheld Emulation Gaming Console
27:40
Hacker101 - JavaScript for Hackers (Created by @STOKfredrik)
24:17
One Click Convert Web App to Mobile Application
9:16
Adam Khoury
Рет қаралды 89 М.
How I Coded An Entire Website Using ChatGPT
18:22
Nick White
Рет қаралды 1,9 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН