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

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 397

  • @ashadhakad9259
    @ashadhakad9259 3 года назад +9

    Finally no clickbait and fully detailed explanation thank you soo much!!

  • @keyurshah6298
    @keyurshah6298 4 года назад +9

    The tutorial I was searching to customise my website to a mobile view😍. Crystal clear instructions! Thank you!!

    • @PenguinCoders
      @PenguinCoders  4 года назад +3

      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 месяца назад +1

    Very clear and straight to the needed information. I hope most tutorials are like this.

  • @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.

  • @hotfox0
    @hotfox0 Год назад +1

    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);

  • @thehananbhat
    @thehananbhat 4 года назад +2

    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 года назад +1

      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

  • @media.islamicityTV
    @media.islamicityTV 2 года назад +1

    6:30 well done !! Thank You very much ! Detail & Usefull !

  • @abiceabi1171
    @abiceabi1171 3 года назад +1

    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 года назад +1

      Thanks a lot Abice for your comments. I will definitely work on the suggestions you provided here. Keep learning ! Thank you!

  • @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.

  • @kojaram3465
    @kojaram3465 3 года назад +1

    You have got one loyal subscribe bro 💯,. Hats off to you

  • @umeshmysoreshivaraju26
    @umeshmysoreshivaraju26 3 года назад

    This video has come very clear, step by step.. excellent...

  • @SkillUpPaji
    @SkillUpPaji 2 года назад +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.

  • @maheshjatwa9671
    @maheshjatwa9671 3 года назад

    Thank you bro your coding is perfect. not like other fake videos

  • @best4tech86
    @best4tech86 3 года назад +2

    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 года назад +1

      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!

  • @myworld1740
    @myworld1740 3 года назад +1

    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.

  • @Javed_CreatiVerse
    @Javed_CreatiVerse 2 года назад +1

    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.

  • @debonmati2050
    @debonmati2050 3 года назад +1

    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

  • @huetra9606
    @huetra9606 3 года назад +1

    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

  • @percival2856
    @percival2856 4 года назад +2

    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  4 года назад +1

      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 4 года назад

      @@PenguinCoders thanks🙏

    • @ngendamuliwana5134
      @ngendamuliwana5134 3 года назад

      Yes you can I HV a sample code for that

  • @ZdravkoOpaltchenov
    @ZdravkoOpaltchenov Год назад

    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?

  • @darshanthapa2038
    @darshanthapa2038 3 года назад +1

    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

  • @clandestineclaro8669
    @clandestineclaro8669 3 года назад

    This is so perfect! Hats off to you...

  • @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.

  • @benedict9010
    @benedict9010 2 года назад

    Thank you...really helpful and to the point tutorial.

  • @raifahmedrazy6625
    @raifahmedrazy6625 2 года назад +1

    Very Very helpful Thankx

  • @kamalkhaja9508
    @kamalkhaja9508 3 года назад

    Very clear and useful presentation, I appreciate

  • @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

  • @ecommerceethiopia2675
    @ecommerceethiopia2675 3 года назад +1

    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.

  • @philosopher1a
    @philosopher1a Год назад +1

    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

    • @PenguinCoders
      @PenguinCoders  Год назад

      Yes I believe some APIs have changed now.

  • @citenik10
    @citenik10 Год назад

    Simple, clear and effective👍 , but when i click a link its redirect me to my web browser not on the app :)

  • @capybaratech377
    @capybaratech377 2 года назад

    Thank you for this awesome lesson. God bless you

  • @aitzazshah7281
    @aitzazshah7281 Год назад +1

    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.

  • @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!

  • @manuellandeira4805
    @manuellandeira4805 3 года назад +1

    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.

  • @aishanivallabhaneni
    @aishanivallabhaneni 2 года назад

    Thankyou so much, it was so clear

  • @JC_yt01
    @JC_yt01 3 года назад

    So helpful, thank you!

  • @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

  • @growwithusofficial9006
    @growwithusofficial9006 2 года назад

    Thanks, good video

  • @pawannane1540
    @pawannane1540 3 года назад

    Very Userful Tutorial! 👍👌

  • @manasmitra5341
    @manasmitra5341 Год назад

    There is a magenta bar at the top of the screen showing the app name. How can this bar be removed?

  • @RajKumar-wt9cp
    @RajKumar-wt9cp 2 года назад

    Super sir...keep teaching

  • @agaminisula9240
    @agaminisula9240 3 года назад

    very helpful. thank you so much.

  • @ProjectAryawarta
    @ProjectAryawarta Год назад

    My website is allowing CORS only for itself or few urls. Will it work in that case?

  • @NlenKipgen
    @NlenKipgen 3 года назад +1

    Are you sure i thought quora and all use JSON rest API parsing? Or maybe i might be wrong.

    • @PenguinCoders
      @PenguinCoders  3 года назад +1

      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!

    • @NlenKipgen
      @NlenKipgen 3 года назад

      @@PenguinCoders thank you for the explanation... Can make a video on that too?

  • @user-rm2ui2tu2g
    @user-rm2ui2tu2g Месяц назад

    hello. do u know how to create permission for camera access?

  • @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

  • @satishksharma
    @satishksharma 3 года назад +1

    mailto: & tel: type link not working in webview. Please make the video on it.

    • @PenguinCoders
      @PenguinCoders  3 года назад

      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.

    • @satishksharma
      @satishksharma 3 года назад +1

      @@PenguinCoders Thank to reply. I try the link instructions that you have shared.

  • @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.

  • @rishindramanikatiyar98
    @rishindramanikatiyar98 4 года назад

    Awesome content! Keep going..

  • @arin_dewangan
    @arin_dewangan 3 года назад +1

    how can i remove the title bar

    • @PenguinCoders
      @PenguinCoders  3 года назад

      You can use getSupportActionBar().hide() in the Main Activity to remove the title bar.

  • @Zoli5
    @Zoli5 3 года назад

    Thank you for the help!

  • @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);

  • @SRDEditsofficial
    @SRDEditsofficial 3 года назад +1

    File download supported or not?

    • @PenguinCoders
      @PenguinCoders  3 года назад +1

      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

    • @SRDEditsofficial
      @SRDEditsofficial 3 года назад

      @@PenguinCoders ok thanks bro

  • @supriya2013
    @supriya2013 Год назад

    How to add a video into splash screen ?

  • @vijitkumawat2874
    @vijitkumawat2874 3 года назад

    Thanks a lot for this nice tutorial

  • @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

  • @adeptstylesalon7920
    @adeptstylesalon7920 3 года назад +1

    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.

  • @Amitverma-mb4tu
    @Amitverma-mb4tu Год назад

    How to read localStorage that we have in Chrome browser ?

  • @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.

  • @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 года назад +1

      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.

  • @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.

  • @DharmaSthapana
    @DharmaSthapana Год назад

    Pdf files are not downloading

  • @apod-gaming
    @apod-gaming 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.

  • @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

  • @pravingamit3525
    @pravingamit3525 3 года назад

    Saved my life 👍

    • @PenguinCoders
      @PenguinCoders  3 года назад +1

      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

  • @mourtalladiop8649
    @mourtalladiop8649 3 года назад

    A Great thanks You have got one loyal subscribe bro

  • @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.

  • @olu_herodotus
    @olu_herodotus 2 года назад

    Please why is my 'activity' showing warning in the code line. Please help.

    • @PenguinCoders
      @PenguinCoders  2 года назад

      Can you share the warning? I will be better able to help you out.

  • @osandarathnayaka9002
    @osandarathnayaka9002 3 года назад

    thanks for the tutorial

  • @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?

  • @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.

  • @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.

  • @surajmurtadak
    @surajmurtadak 3 года назад

    thanks brother 🙏🏻❤️

  • @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 года назад +1

      It could be due to javascript not enabled properly. Please look at different javascript enablement commands and use whichever you find to work.

  • @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.

  • @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 года назад +1

      You can make custom menu options for those features. Adding a design won't be that difficult. Embed the Webview in some layout.

  • @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.

  • @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 : ruclips.net/video/KbL3Xo5WTOA/видео.html

    • @PenguinCoders
      @PenguinCoders  3 года назад +1

      Yes it might be due to emulator issue. Glad you found the solution too.

  • @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

  • @sonumichael6936
    @sonumichael6936 2 года назад

    I have made app but contact and mail system not working

    • @PenguinCoders
      @PenguinCoders  2 года назад

      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

  • @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 года назад +1

      You can use this.getSupportedActionBar().hide() to hide the top bar. Use it in onCreate method of your app.

  • @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!

  • @alishsworld4265
    @alishsworld4265 3 года назад

    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.

    • @PenguinCoders
      @PenguinCoders  3 года назад

      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.

    • @alishsworld4265
      @alishsworld4265 3 года назад

      @@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.

    • @PenguinCoders
      @PenguinCoders  3 года назад

      Sure!

    • @alishsworld4265
      @alishsworld4265 3 года назад

      @@PenguinCoders stackoverflow.com/questions/68112403/prelaoder-not-going-after-webview-is-loaded-android-app i have psated my code here please suggest.

  • @mohammedasif9246
    @mohammedasif9246 4 года назад

    Thanks bro 😍😍

  • @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

  • @LamaCrew
    @LamaCrew 2 года назад

    Yes!

  • @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.

  • @fastlabs6684
    @fastlabs6684 3 года назад

    crytall clear!! I wish tutorial webview with dark mode...

    • @PenguinCoders
      @PenguinCoders  3 года назад +1

      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 года назад +1

      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

  • @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.

  • @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.

  • @piyushkumarpal
    @piyushkumarpal 3 года назад

    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??

    • @PenguinCoders
      @PenguinCoders  3 года назад

      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.

    • @crazy_vibes2238
      @crazy_vibes2238 6 месяцев назад

      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

  • @vivekkhillar7657
    @vivekkhillar7657 3 года назад

    but sir here choose button will not working here

    • @PenguinCoders
      @PenguinCoders  3 года назад

      Make DOM and Javascript enabled in your code for webViewClient

  • @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 года назад +1

      Add Internet permission in Android Manifest file

  • @nitin-787
    @nitin-787 2 года назад

    Sir app is perfect but there is margin inside app on both side how to fix it

    • @PenguinCoders
      @PenguinCoders  2 года назад +1

      Please post a screenshot or share your code, I'll able to help you out then.

    • @nitin-787
      @nitin-787 2 года назад

      @@PenguinCoders where?

  • @mayurvishnoi06
    @mayurvishnoi06 3 года назад

    Bro i am getting an error while logging in using google.....Error 403 disallowed useragent....what should i do?

    • @PenguinCoders
      @PenguinCoders  3 года назад

      WebView is not allowed to make an OAuth request, so I recommend you use ChromeCustomTab for your application

  • @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!

  • @brennox
    @brennox 3 года назад

    i came here because i want to build an android app from website that would also use a chrome extension. is that possible?

    • @PenguinCoders
      @PenguinCoders  3 года назад

      I am not sure about the chrome extension. If you could explain your need, I'll be better able to help you out.

    • @brennox
      @brennox 3 года назад

      @@PenguinCoders ty for your answer but i realized that its very hard to do with how little experience i have so far...

  • @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

  • @jpllego8291
    @jpllego8291 2 года назад

    Hi! Can you also convert un-published website / just localhost website??

    • @PenguinCoders
      @PenguinCoders  2 года назад +1

      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.