How to Convert a Website into Android Application using Android Studio

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 643

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  8 років тому +29

    Click this to view Source code www.codebind.com/android-tutorials-and-examples/convert-website-android-application-using-android-studio/

    • @vanshanuraj8649
      @vanshanuraj8649 8 років тому +1

      Android studio 1.5.1 is installed in my system, everything is different with respect to this tutorial plz help me

    • @mansikeghrelunuske911
      @mansikeghrelunuske911 7 років тому

      not able to play youtube videos or any other videos with this script

    • @sunnych4572
      @sunnych4572 6 років тому

      i have a localhost website i dont have any domain yet. so my question is how can i convert my localhost website to android application is it possible? plz reply i have to make a semester project on website but i want to add application additionally

    • @AlexOTV
      @AlexOTV 6 років тому +1

      I'm getting an error where it says Casting 'findViewById(R.id.webView) to WebView' is redundant and I'm not sure how to change this.

    • @Wakizu
      @Wakizu 6 років тому

      another video to make it offline

  • @ifeoluwanigbadamosi3928
    @ifeoluwanigbadamosi3928 8 років тому +3

    Honestly i dont comment often,infact this is my first time but i can't help it.This man is so good...He makes me happy how he breaks down all this...I have been following all his videos..Few people can teach like this..He is the only one have seen teaching this accurate,honestly much respect for you

  • @Kadepavankumar
    @Kadepavankumar 7 років тому +7

    Hello Brother,
    I am facing problem at webView . can you please five me clarity about it?

  • @Tasso_Music
    @Tasso_Music 5 років тому +2

    In my case
    -webView is occuring incorrect .. Please help

  • @rad4u2robert
    @rad4u2robert 8 років тому +1

    Hi, thank you for sharing this. Two quick questions with regard to converting our WordPress site over to an Android app.
    1. Once we successfully publish the APK on Google Play and get the app working....will the updates we make to our WordPress site reflect in our Android app or will we have to keep generating new APK's and updating our Google Developer account with the new update to our Wordpress site?
    2. What are the steps involved in adding Push Notifications to this newly converted app using Firebase?
    Thank you!

    • @Nesyulett
      @Nesyulett Рік тому

      1. I think it'll be updating itself through the site.

  • @jesselehman8
    @jesselehman8 6 років тому +26

    Anyone else going to comments to see if it works?

    • @tiskolin
      @tiskolin 5 років тому +1

      Switch. To. Unity.

    • @fadeandbraid8321
      @fadeandbraid8321 5 років тому +3

      I'm only on You Tube for the comments

    • @spongecorpgames9250
      @spongecorpgames9250 5 років тому +1

      @@tiskolin Unity is a game engine, would be terrible practice to use that for an app such as this.

  • @deshan-nawanjana
    @deshan-nawanjana 3 роки тому

    I'm back here after few hours because I forgot to thank you. The video is amazing and just the thing I was looking for.

  • @martyschleiff5626
    @martyschleiff5626 4 роки тому +2

    I really appreciated your video. However, it would be nice if you could remake the same type of video using a newer version of Android Studio. For example, it was difficult to find the WebView widget in the palette(it's now under Widgets), and fill_parent is no longer an option in the Attributes, and I also got an error that it could not find the symbol R.id.webView. PLEASE make an updated version. Thanks.

  • @dinkannair9950
    @dinkannair9950 7 років тому +4

    when rotating the app its reloading to home page
    how can we fix that

  • @siddharthasharma9914
    @siddharthasharma9914 6 років тому +1

    What if I update some pages in my website will it be also updated on this mobile app also ??

  • @mudassirhashmiofficial
    @mudassirhashmiofficial 4 роки тому

    Q1 if we change from website then here it will change
    Q2 if we use php based website then this app will get value like website???
    please reply

  • @lack4n
    @lack4n 8 років тому +1

    hi.. nice tutorial. I have a query.. I converted one Web application into android using webview. The web app has login and logout options by default. Login and log out work perfectly. but when i reopen the app after logout it directly takes me to the Main page instead of asking me to re-login. Can you help me with this like once i click the logout in web app it should log me out and close the session.

  • @vrihanaditya
    @vrihanaditya 7 років тому

    Hi there needed some help. I'm working on building a project on building an like AirBnb. I wanted to know what Framework I should use? and I've also designed the entire app on Photoshop and made a prototype using Marvel. I'm now using Intel XDK to code the app, but I wanted to know if there is a way to import the Photoshop designs into XDK rather than Designing it from Scratch.

  • @vanshanuraj8649
    @vanshanuraj8649 8 років тому +5

    Android studio 1.5.1 is installed in my system, everything is different with respect to this tutorial plz help me

  • @technovedant
    @technovedant 7 років тому +3

    Converted Website into Android App and UA-cam Videos From my Website Doesn't go in full screen mode

  • @sharashchandraudupa5241
    @sharashchandraudupa5241 8 років тому +8

    Can anyone help I got an error (R.I'd.Webview)showing webview in red What I have to do to resolve this

    • @securitytard
      @securitytard 6 років тому +1

      having this same issue, any answer on that?

    • @emamulhasanemon4745
      @emamulhasanemon4745 6 років тому +2

      Double click on top of you webVIew

    • @sancaoang686
      @sancaoang686 6 років тому

      It's in activity_main.xml : look for the ID.

    • @alishashaw6812
      @alishashaw6812 6 років тому +1

      I am having the same problem!

    • @HeathBilbrey
      @HeathBilbrey 6 років тому +3

      @@alishashaw6812 You did not define the name in the activity_main.xml file
      Just ad the following line of code under where it says

  • @julianmontano18
    @julianmontano18 8 років тому +1

    Thank you so much for this and all the other video tutorials. I have an issue, when I click on the green button and try to run the app on the android studio emulator, it says that there are NO USB devices or running emulators detected. I was wondering if you could please help us solve it. cheers!

  • @muslehabulhaj781
    @muslehabulhaj781 6 років тому +1

    hi .. where should find "menu/menu_main.xml" part in the tutorial?
    there is no explanation in the video ... plz help!

  • @devtechplus
    @devtechplus 6 років тому

    Kindly look at your taskbar. its not the same as demostrated on the vide. In the begining, you had an app with nav bar and all that but the second one doesn't why?

  • @maanushmajmudar4097
    @maanushmajmudar4097 8 років тому +13

    There is always error in "setJavascriptEnabled(true)"
    plzz help me

    • @bappanraysarkar
      @bappanraysarkar 4 роки тому

      Same problem bro.. can you help me please?

    • @poakssa
      @poakssa 4 роки тому

      There is a capital letter on script

    • @vectorlyf8486
      @vectorlyf8486 4 роки тому

      Hi bro!
      Did you get how to solve this problem????
      I am also facing the same

    • @poakssa
      @poakssa 4 роки тому

      @@vectorlyf8486 I replied above you on how to solve it

    • @vectorlyf8486
      @vectorlyf8486 4 роки тому

      @@poakssa bro i tried but it didn't work.

  • @kayuman4143
    @kayuman4143 4 роки тому +1

    Thanks for your tutorial. Now i have a problem. First cant make an APK file. When i run using my real android device, i am unable to see my gallery pictures.when i click on the blank box, i can see popup pictures. Why is this so? missing some code? If yes, can advise? But when link out to example instagram, i can see pictures.
    Thanks.

  • @mohammadfarhaankhan5238
    @mohammadfarhaankhan5238 4 роки тому

    Does Google allow us to show website pages in our app .won't Google remove our app from playstor or some kind of action.plz reply sir and video was awesome .

  • @moviesportal9267
    @moviesportal9267 7 років тому +1

    sir is there any issue if adsense apply on blog and i convert it into android app ?

  • @anphan3702
    @anphan3702 7 років тому +5

    I have just finished your clips, and I see that my skill and knowledge improved alot, thanks alot for your sharing. And I look forward to recieve more sharing. Have a nice day for you !

  • @prasadbr9660
    @prasadbr9660 4 роки тому

    In mainactivity.java which language is used for programming?
    Is that java or javascript?

  • @ShahidFoy
    @ShahidFoy 7 років тому

    how do you handle image or file uploads when dealing with a webview?? For example lets say you have a website where you want the user to upload a photo how would you make the webview upload a photo on android?

  • @roopacefrinz4
    @roopacefrinz4 6 років тому

    Does the app changes dynamically if we change something on the website ?Or if we change the website should we again rebuilt the app in Android studio?

  • @ceruttigino
    @ceruttigino 8 років тому

    Hi, I noticed you use android studio 1.0.1. . I use 1.5.1., is there a way to create a new activity which defaults to no action bar and no floating action bar? Thanks

  • @tanmaysinghal8370
    @tanmaysinghal8370 6 років тому +1

    im getting an error when i run it. it asks for the browser in which do you want to open it

  • @taps5747
    @taps5747 4 роки тому +1

    Doesnt work for multipaged website

  • @jkssbaspirantsadda2941
    @jkssbaspirantsadda2941 6 років тому

    Sir, Can u plz tell me , what is the name of theme which show in video.. Actually i am looking for this type of theme for my webview app.
    Can u help me in making web view app.

  • @digitalprintmediajammu6349
    @digitalprintmediajammu6349 3 роки тому

    Will Google Playstore allow to put such app? or there are some steps need to follow to put on playstore.?

  • @ishoprva
    @ishoprva 8 років тому

    Hi, thank you for sharing this. One quick question with regard to converting our WordPress site over to an Android app. Once we successfully publish the APK on Google Play and get the app working....will the updates we make to our WordPress site reflect in our Android app or will we have to keep generating new APK's and updating our Google Developer account with the new APK? Please explain how this works...? Thank you!

  • @ishantimilsina269
    @ishantimilsina269 7 років тому

    does the website need to be live? Or can a website from localhost also run??

  • @sirplease2740
    @sirplease2740 7 років тому

    Hey, if I was to update my app like add features to it or something. I can do that right? Or does the web developer have to do that. I'm new to android..

  • @MrSarkarsuman
    @MrSarkarsuman 4 роки тому

    Hello Sir, I have created an app from the website using your process, but no jquery functions are not working in the app. jquery files are kept a separate folder in website hosting. Can you suggest something?

  • @mukhtarulhaque7354
    @mukhtarulhaque7354 6 років тому

    Hi, the tutorial is excellent. I have completed converting one website into android app, but it has one issue. When I try to download any file(links are coded in my website) using the app it doesn't work, whereas in the website it works fine. What may be the problem and how to solve it? Please help.

  • @somyaranjankar8073
    @somyaranjankar8073 7 років тому

    after conversion does the user data update in the website's data base?

  • @1legend517
    @1legend517 5 років тому

    Can this be done vice versa? As in turn an application into a webpage?

  • @mitanshukadam6004
    @mitanshukadam6004 4 роки тому

    Need your help.. I have website. I have passed the url in the webview after opening in the webview my website has login page after logging in into the website it shows me popup of logging in successfull.. But when i backpress the back button it shows me again the pop up of login successfull and logs in back again.. So what should i write in the backpress code

  • @echovibes84
    @echovibes84 6 років тому

    Nice tutorial.
    I have a query if you can help.
    I developed a webview app for a website. The website has social media buttons such as Facebook Like & Google+ etc. The social media buttons are displayed alright in the webview.
    But - when I click on the Facebook like button, it opens the Facebook login page. After login, it then opens a blank page. It does not go back to the page on which it is liked.
    After closing the app and reopen, I click on Facebook like again and the same issue as above.
    Question is: How to make Facebook like work from within webview app.
    Note: Google+ works fine. When G+ is clicked, the user is taken to a Google login page after sharing on Google+, the user is directed back to the page.

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  8 років тому +2

    Find More Codes On My Website - www.codebind.com/

  • @scottosteoporosis6119
    @scottosteoporosis6119 3 роки тому

    Error:A problem occurred configuring project ':app'.
    > Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
    > Could not find any version that matches com.android.support:appcompat-v7:30.+.
    Versions that do not match:
    26.0.0-alpha1
    25.3.1
    25.3.0
    25.2.0
    25.1.1
    + 33 more
    Required by:
    project :app

  • @TheOnlyTVBoxYouNeed
    @TheOnlyTVBoxYouNeed 7 років тому

    Hey buddy, nice video. I have a question tho. I have an apk section in my site that the apks can be downloaded from. currently they will not do anything on the app set up the way it is, what do i need to do to be able to enable downloads or redirect the .apk files to the browser?
    thanks

  • @alejandroochoahernandez338
    @alejandroochoahernandez338 4 роки тому

    thank you good sir, One question, what is the potential benefit of using the website inside an app as opposed to through your regular internetapp?

    • @Greenish
      @Greenish 4 роки тому

      If you want to hand the app out to other people such as friends, than you will have to pay to host the website. If you just upload the source code and make an application, it is being hosted off their device.
      If that makes sense?

  • @AhmedSamy-96
    @AhmedSamy-96 6 років тому

    Is that was only concerned with just my website design or it can take my back end development (ex:php & my sql)???

  • @lucasdecarvalho7187
    @lucasdecarvalho7187 6 років тому

    That was the most helpull video I ever watched on UA-cam and probably the first one I leave a comment. Thank you so much my friend. My best regards from Brazil!

  • @samii5205
    @samii5205 7 років тому

    Very helpful sir but sir i have a question that when we embed a website into android app can we change the data mean delete or update the data

  • @geneartista9714
    @geneartista9714 4 роки тому

    can i convert a website of my own into an android app or this tutorials are only for the existing webs?

  • @sunnych4572
    @sunnych4572 6 років тому

    i have a localhost website i dont have any domain yet. so my question is how can i convert my localhost website to android application is it possible? plz reply i have to make a semester project on website but i want to add application additionally

  • @taqu3trulegacy122
    @taqu3trulegacy122 7 років тому

    if l have used a template like drupal,wordpress or other to create the site,..will all the functions still work properly???

  • @The_Bold_Statement
    @The_Bold_Statement 6 років тому

    will the app created be a static one by this method

  • @abdullahamir6474
    @abdullahamir6474 8 років тому

    do we need to allw any special permission for online video streaming

  • @liambroughton500
    @liambroughton500 6 років тому

    Should this work with website addresses also? As i have followed this tutorial and my app is just a blank white page.. I have definitely typed it in correctly also.
    I have used another service to automatically create an app for me, and this asks if you want to proceed anyway, because it doesn't recognise the SSL certificate.
    Just wondering if anyone has any idea on this?
    Thanks.

  • @babatundeo.alfred2122
    @babatundeo.alfred2122 8 років тому

    does google play store accepted website converted to an Android App. ? Will want to know so i dont have to build a Seperate App from the scratch for the same purpose.

  • @WolfsdenxD
    @WolfsdenxD 5 років тому

    I've got a pet peeve, whenever you are doing a tutorial please show people how to make their workspace look exactly like yours. I'm not an Android developer, I am doing something for my dad because he does not have the system requirements to run the engine.

  • @narasimha535
    @narasimha535 7 років тому

    how to get back to nativeapp,if i click on done button (after some operations in webview) in webview ?

  • @chudaikhanahindustan4891
    @chudaikhanahindustan4891 5 років тому

    which mention which android studio you are using version etc, and also how much ram you have i have 2 GB RAM and my computer starts heating up a lot it is very old laptop core2duo, in those days core2duo was a hot sale now everyone is working on i7...i cant afford...i am feeling so bad...

  • @ACIDGameReviews
    @ACIDGameReviews 8 років тому +2

    Hello, I want to know how to add a zoom feature on my application. Either finger or button zoom. Can you please help me?
    Thanks,

  • @tahseenazharmalik510
    @tahseenazharmalik510 4 роки тому

    is it possible to convert an e-commerce website or shopify based website into app? please guide..

  • @agraneebanerjee305
    @agraneebanerjee305 8 років тому

    hello,i have a question..please please help me.. if my website is having a database i.e it is a dynamic website,will it still work?? if after converting the website into an app,i fill data into a form will that data still go to the database and can it be retrieved as well??

    • @mukhtarulhaque7354
      @mukhtarulhaque7354 6 років тому

      Hi, the tutorial is excellent. I have completed converting one website into android app, but it has one issue. When I try to download any file(links are coded in my website) using the app it doesn't work, whereas in the website it works fine. What may be the problem and how to solve it? Please help.

  • @TechnicalTouchND
    @TechnicalTouchND 7 років тому

    Sir if suppose i want to add advertisement on my app then should i do plz sir reply?

  • @imrandiligent4722
    @imrandiligent4722 6 років тому

    Thanks for sharing the video, i got an issue i have magento website , upto product page its working fine, when i click on buy now or add to cart button it is not working
    could you please solve these problem

  • @dependent-wafer-177
    @dependent-wafer-177 7 років тому

    So is it possible for me to use my "converted website to an app" access mobile functions like gps, camera, acceleromter etc?

  • @shortclips5908
    @shortclips5908 4 роки тому +2

    i get an error here: findViewByid(R.id.webview)
    "cannot resolve symbol"

    • @junihbhatt
      @junihbhatt 3 роки тому +1

      When you add webview in activity_main.xml add webView as ID in right side

  • @technovedant
    @technovedant 7 років тому

    After converting my blog to android app my youtube videos cannot play in full screen

  • @bohdan.vorona
    @bohdan.vorona 8 років тому

    thanks a lot. i wanted to ask. does your site use php or anoother serverside language?

  • @atarait8231
    @atarait8231 6 років тому

    please help me. how to add web view from pallet section? I cannot find it in my android studio. (latest version) new to here

  • @yolandamanuel7653
    @yolandamanuel7653 6 років тому

    can I do the same for an ecommerce web application?

  • @Daniel-go7lx
    @Daniel-go7lx 5 років тому +13

    You're amazing! This is the most useful instructions I've seen on this topic!
    Thumbs up + subscribed

    • @aniruddhatripathy6607
      @aniruddhatripathy6607 4 роки тому

      Have you also tried this ? Because seems in Android Studio in 2020 the keywords has been changed a lot e.g. 'webview' no longer recognised.

    • @aarushmahajan8124
      @aarushmahajan8124 4 роки тому

      @@aniruddhatripathy6607 can you tell what to do as im also facing the same problem
      Actually IDK what to do as im a newbie

  • @victorelezua
    @victorelezua 6 років тому

    How can you disable external links that exeeds the.scooe of your domain from showing up in your app?

  • @prashantmanshrestha
    @prashantmanshrestha 2 роки тому

    how to load only a part of website ?? and get notification ( push ) if any changes to the website ??

  • @SmartTutor
    @SmartTutor 7 років тому

    please share me idea for desktop site version for android app it means that how i can set only desktop site version my android webview app

  • @funnyworld-fw4774
    @funnyworld-fw4774 6 років тому

    Very useful tutorial.. Indian's are really legend

    • @ssensei9206
      @ssensei9206 6 років тому

      FunnyWorld-FW India has the second largest software developer base and they are generous and kind

  • @zeinabsheikhi5954
    @zeinabsheikhi5954 5 років тому +1

    I really appreciate your solution for converting web app to native app.
    I've tried frameworks such as Cordova,Ionic,Phonegap and Meteor but none of those could properly convert my web app to a responsive native app.
    thanks

  • @creativeo91
    @creativeo91 8 років тому

    Thanks for the tutorial.
    But many sites are crashing in this app. e.g. if i use UA-cam as the URL, it opens but when i click on the video it crashes. In case of times of india it crashes in the beginning. Can you please let me know why this is happening

  • @darshangulhane5120
    @darshangulhane5120 4 роки тому

    Very nice video sir but In my webview some website takes full screen but some website not takes full screen view.. It leaves space on right and left..what can i do for that..???can u plz help me

  • @shubhamjain2616
    @shubhamjain2616 4 роки тому

    Can I convert the Python+Django website to android app in the same way? or is there any other method to convert it?

  • @baston7366
    @baston7366 6 років тому

    Sir , Can we publish our app on playstore ? I mean do they allow web app ?

  • @RayanPlayz
    @RayanPlayz 6 років тому

    Hi error is coming plz help when i run the app ,,,,, error is coming in this line myWebView = (WebView)findViewById(R.id.webview); and webview is red n error is Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details. Error:(15, 47) error: cannot find symbol variable webview what i should do ?plz help me

  • @ctenga1
    @ctenga1 6 років тому +8

    +Nice voice.
    +Nice explanations of the code.
    +Nice tutorial's steps.
    +Really helpful.
    -Be careful on the title, it's not a conversion of a web site, it's an interface app to use a web app.
    Thank you for your job : )

  • @thevivekchavan
    @thevivekchavan 8 років тому

    i created same but it do nothing when i click on download button on a site
    is der any which will redirect the link to another broswer to download the file ?

  • @BalajiJyotishKendra
    @BalajiJyotishKendra 7 років тому

    My Genymotion is not working its showing a popup that genymotion is not connected to server please connect it to internet but i have a good internet connection please help to deal with it

  • @compusupport1077
    @compusupport1077 6 років тому

    Question please..in Android Studio 3.1.3 what is the equal to Blank Activity?
    is it Empty Activity or Basic Activity?

  • @interguy589
    @interguy589 4 роки тому

    great video there were those non sense sites which convert your website but then they run ads on the app which ruins the experience.

  • @saurabhchavan1710
    @saurabhchavan1710 7 років тому

    will it support a website connected to database???

  • @mynameiskranz
    @mynameiskranz 8 років тому +2

    anyway please tell me if my website using jquery, php etc is all the function will working properly?

    • @KUMAR-fh6wz
      @KUMAR-fh6wz 7 років тому

      give me your contact number

    • @AhmedSamy-96
      @AhmedSamy-96 6 років тому

      I also need to get this issue, he didn't discuss it 👌😶

    • @tarikhidar2118
      @tarikhidar2118 6 років тому

      mynameiskranz all php and jquery results must be converted into json in orther to be manipulated via java

  • @harshadakulkarni3440
    @harshadakulkarni3440 6 років тому

    Hi its a really nice idea.. but will it affect android app performance?

  • @YasirMalik24
    @YasirMalik24 8 років тому +11

    very easy to understand through your tutorial. but i have one question that how can i open _blank link in browser?

  • @zouhairkhalfaoui3266
    @zouhairkhalfaoui3266 4 роки тому

    Thanks for the video.
    Can we do the inverse, make a website version from android studio app?

  • @ashishshrivastava9966
    @ashishshrivastava9966 6 років тому

    Hi Ashish here....I tried all the steps you mentioned in your tutorial....but when I am running the app and trying to open a site which is responsive it's not opening properly....I mean to say same site when I am running in my mobile via Google it's opening properly but not via the app....can u suggest something....

  • @rosymerrypriya
    @rosymerrypriya 4 роки тому

    Hello,
    Can you tell me, how to enable the auto login to the website, using webview?

  • @Tenshi_Kira666
    @Tenshi_Kira666 6 років тому

    I have one question, do you have to be online in order to use your app you just made?

  • @alimansoor3607
    @alimansoor3607 5 років тому

    Can i use someone else's website for testing my app since i dont have a domain name of my own??

  • @vinitkale8681
    @vinitkale8681 7 років тому

    I cant access link in ma app of website.. means if i click on link there is no response so what do i hv to do ??

  • @rajurajesh8690
    @rajurajesh8690 7 років тому

    I have been following your videos for 8 months.. This question/query is not from your class/videos? I hope you may solve my question/query? I tried to add html css, js.. into android... i am getting continous error/crashing as follows.. Kindly reply me
    .Instant Run detected that you are running on a target device that has a work profile or multiple user accounts.
    Launching the app under a work profile or another user account on the target device will result in a crash.
    Learn more about how to run your app under a work profile...
    I am getting this in event log everytime when I run app..On my device a pop up message as your app is stopped .. Can any one reply what I should do?

  • @ritulkalpeshkumarpatel6061
    @ritulkalpeshkumarpatel6061 5 років тому

    I am not getting an option of webView in R.id section. Compiler is throwing an error of undefined symbol "webView". Help me solve this error.

  • @swaroopkannah9931
    @swaroopkannah9931 7 років тому

    Hi this tutorial is really great and made my day can you please tell me how can i save the web views that loaded once and can be opened when offline.

  • @mithuns8410
    @mithuns8410 8 років тому

    any offline support through Cache??