How to Convert Website into Android App using Android Studio


This is the Quick Tutorial to Convert Your Website into Android App using Android Studio,  you dont need any command on Programming to do this Task
Just Follow the Steps mentioned below
  1. Install the Android Studio App, if You Dont Know how to install and configure you can refer Youtube
  2. Now open the Android Studio App , make Sure that You have 2gb of Ram Free to use android StudioHow to Convert website into Android App
3.Click on Start New Android Studio Project
4.Fill the Android Name That You Want and Give the Domain(website) name
How to Convert website into Android App
5.Select the Android Version that you want to Select ( i Recommend you to select the             4.0.1)
How to Convert website into Android App
6.
How to Convert website into Android App
Just Watch the Video for Next Steps

How to Convert Website into Android Application



MainActivity.java
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity {
    private WebView myWebView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        myWebView = (WebView)findViewById(R.id.webView);
        WebSettings webSettings = myWebView.getSettings();
        webSettings.setJavaScriptEnabled(true);
        myWebView.loadUrl("http://www.toptipstricks.com");
        myWebView.setWebViewClient(new WebViewClient());

    }

    @Override
    public void onBackPressed() {
        if(myWebView.canGoBack()){
            myWebView.goBack();
        } else {
            super.onBackPressed();
        }
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();

        //noinspection SimplifiableIfStatement
        if (id == R.id.action_settings) {
            return true;
        }

        return super.onOptionsItemSelected(item);
    }
}
AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"></uses-permission>

Share this

Related Posts

Previous
Next Post »

84 comments

comments
10 September 2016 at 08:39 delete

Thank you for helping me.. I just created my first webapp..

Reply
avatar
11 September 2016 at 23:32 delete

What is the condition that when put to not show the url of the site when online?

Reply
avatar
11 September 2016 at 23:35 delete

Correct

What is the condition that when put to not show the url of the site when offine?

Reply
avatar
17 September 2016 at 06:24 delete

Its helpful but where is the activity_main.xml??

Reply
avatar
21 February 2017 at 16:46 delete This comment has been removed by the author.
avatar
28 February 2017 at 14:26 delete

check for app-> java -> ->activity_main.xml

Reply
avatar
22 May 2017 at 16:09 delete

Error:(22, 47) error: cannot find symbol variable webView

Reply
avatar
22 May 2017 at 16:10 delete

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Reply
avatar
24 May 2017 at 02:30 delete

do you fix error? , please send solution to jsalgado@hotmail.com

Reply
avatar
28 May 2017 at 14:33 delete

do you fix error ? error: cannot find symbol variable webView

Reply
avatar
9 June 2017 at 14:31 delete

Error:(21, 47) error: cannot find symbol variable webView
Error:(53, 21) error: int cannot be dereferenced
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Reply
avatar
6 July 2017 at 15:58 delete

Check out the article How to convert website to Android app - optimal ways to follow published by development company - https://www.cleveroad.com/blog/how-to-convert-website-to-android-app--optimal-ways-to-follow

Reply
avatar
12 July 2017 at 23:56 delete

Cananot find the the symbol R. can any oe help me?

Reply
avatar
22 July 2017 at 17:20 delete

Error:(21, 47) error: cannot find symbol variable webView

Reply
avatar
22 July 2017 at 18:01 delete

Error:(21, 47) error: cannot find symbol variable webView

how do we solve this?

Reply
avatar
23 July 2017 at 04:33 delete

try this. it uses android studio 2.3.3 and works like magic.

https://www.youtube.com/watch?v=jTl5xChCrXE&t=38s

Reply
avatar
18 August 2017 at 11:26 delete

error coming

what can i do

Reply
avatar
2 September 2017 at 14:33 delete

hi!

I am trying to convert my website but getting lots of error and i am unable to resolve the same i am follow your video but still error showing..

Please help me

Thanks

Reply
avatar
9 September 2017 at 04:58 delete This comment has been removed by the author.
avatar
9 September 2017 at 04:59 delete This comment has been removed by the author.
avatar
9 September 2017 at 05:00 delete

To fix error: cannot find symbol variable webView
Go to layout - content_main.xml and replace the content of

Reply
avatar
9 September 2017 at 05:11 delete

To fix error: cannot find symbol variable webView
Go to layout - content_main.xml and change the content of WebView for this:

android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:id="@+id/webView"/>

Reply
avatar
9 September 2017 at 09:23 delete

To fix error: cannot find symbol variable webView
Go to layout - content_main.xml and change the content of WebView for this:

android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:id="@+id/webView"/>

Reply
avatar
20 September 2017 at 14:15 delete

"I very much enjoyed this article.Nice article thanks for given this information. i hope it useful to many pepole.php jobs in hyderabad.
"

Reply
avatar
2 November 2017 at 16:40 delete

Hy, your posts are quite helpful dude, not a waste of time. Keep It Up!
my blog...www.letstalk786.blogspot.com

Reply
avatar
21 November 2017 at 18:45 delete

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Error:(4, 37) error: package android.support.design.widget does not exist
Error:(5, 37) error: package android.support.design.widget does not exist

Please help

Reply
avatar
22 November 2017 at 13:03 delete

Nice Post...
All Tips and Tricks In Hindi, All Tips and Tricks, Viral Content, Viral Images, Viral Videos, Viral Text, Viral Things, Viral Games, Viral Codes, Viral Programming, Viral Education, Tutorial, Health Tips, Make Money Tricks and much more goto ==>> http://viralmeindia.blogspot.in/

Reply
avatar
Don
17 December 2017 at 02:20 delete

Our android free app - https://rxasap.eu/ RXASAP pharmacy
RXASAP android online pharmacy app for android - https://rxasap.mobi/

Reply
avatar
25 January 2018 at 22:51 delete

Your good knowledge and kindness in playing with all the pieces were
very useful. I don’t know what I would have done if I had not
encountered such a step like this.

mobile website builder

Reply
avatar
23 February 2018 at 12:57 delete

The Blog Content is very informative and helpful. Please share more content. Thanks.
Android Training
Android Institute
Android Course

Reply
avatar
8 March 2018 at 23:52 delete

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.


mobile website builder

Reply
avatar
16 March 2018 at 17:52 delete

It’s really awesome article they provide lot of information.

School Application Development in Sydney

Reply
avatar
18 March 2018 at 15:33 delete

Thanks alot! You saved the day:)

Reply
avatar
17 May 2018 at 10:55 delete

Awesome article I really glad to read this article it’s really nice Thanks.

Android app development Company

Reply
avatar
Anonymous
4 June 2018 at 17:11 delete

Great article about Convert Website into Android App using Android Studio. I will share it to my social media. Thanks for sharing
best school apps for parents
free android app for school management
high school app development
middle school app development
school app india

Reply
avatar
11 June 2018 at 17:57 delete

Much useful details shared by you. It is very informative for many android developers , whether a newbie or an experienced developer. Thank you for sharing these details here with us.
Web Design Company | Web development Lucknow

Reply
avatar
20 July 2018 at 11:25 delete

Its working fine, but how to remove the "message icon" from the android app ?

Reply
avatar
18 August 2018 at 17:30 delete

Having issues with Gradle not available wwww.zamdtek.com

Reply
avatar
Anonymous
6 September 2018 at 15:02 delete

MAXWELL School App is a revolutionary Mobile / tablet communication tool. Connect Parents, Students, and schools. We shows you up to date information about all aspects of your child’s school life and performance. We provide customized school app for you Download Now Take a view MAXWELL School App.
school app india!

Reply
avatar
16 January 2019 at 15:04 delete

Thanks Mate, its very usefulness.... :)

Reply
avatar
11 May 2019 at 14:07 delete

Superb post! Thanks for sharing valuble content for Mobile app development.It is very useful for us.Must Visit: Mobile App Development Company in India

Reply
avatar
27 June 2019 at 17:20 delete

the webview is working sir but the file upload is not working .




in my website i have a file upload button when i click on it it is not accessing the gallery , is there is a video of you how to fix it?

Reply
avatar
31 July 2019 at 06:19 delete

I have a massive list of errors!!!! any suggestions?

error: package android.support.design.widget does not exist
error: package android.support.design.widget does not exist
error: package android.support.v7.app does not exist
error: package android.support.v7.widget does not exist
error: cannot find symbol class AppCompatActivity
error: method does not override or implement a method from a supertype
error: cannot find symbol variable super
error: cannot find symbol method setContentView(int)
error: method does not override or implement a method from a supertype
error: method does not override or implement a method from a supertype
error: method does not override or implement a method from a supertype

Reply
avatar
21 August 2019 at 18:34 delete

Hi

I am getting an error as follows

"error: package android.support.design.widget does not exist"

how to fix it?

Reply
avatar
27 August 2019 at 10:36 delete

free app maker
Create your advance mobile apps for android and IOS without any cost with technical knowledge and zero code. We give one of the best free app makers, Startup creation now.

Reply
avatar
4 April 2020 at 11:01 delete

I am a novice in using Android Studio. I created my mobile app by watching tutorial on YouTube. But when I am trying to test on emulator, the site is not opening and giving error. Following is the link for the error screen shots. I tried on two different sites. https://1drv.ms/u/s!AlQyXA8w7_I1mQ-MC_UAWyiDCf_c?e=AnbIkB Can you please help me? Regards Saxena

Reply
avatar
4 April 2020 at 11:06 delete

I am a novice in using Android Studio. I created my mobile app by watching tutorials on YouTube. But when I am trying to test on emulator, the site is not opening and giving error. Following is the link for the error screen shots. I tried on two different sites. https://1drv.ms/u/s!AlQyXA8w7_I1mQ-MC_UAWyiDCf_c?e=AnbIkB Can anyone please help me? Regards Saxena

Reply
avatar
4 April 2020 at 11:08 delete

I am a novice in using Android Studio. I created my mobile app by watching tutorials on YouTube. But when I am trying to test on emulator, the site is not opening and giving error. Following is the link for the error screen shots. I tried on two different sites. https://1drv.ms/u/s!AlQyXA8w7_I1mQ-MC_UAWyiDCf_c?e=AnbIkB Can anyone please help me? Regards Saxena

Reply
avatar
19 April 2020 at 03:56 delete

When you are having problems getting your medicines without a prescription, we are here to give you a solution. At our secured pharmacy, you will be able to conveniently purchase your medicines and other healthy merchandise securely, We also refill prescriptions immediately yet accurately, buy medicines online with discreet shipping, Online Drugstore 

CLICK BELOW TO ACCESS STORE>>> 
CRYPTOCURRENCY PAYMENTS ONLY PHARMA -  Oxycodone 30Mg BUY NOW  Online No Prescription | Where To Buy 30MG Adderall XR Online  |  Best Place To Order Subutex 8mg | Dsuvia 30Mcg FOR PAIN | How To Order Subutex 8Mg Online | Suboxone Securely Online 8mg | OC Oxycontin Mundi pharma for sale, Buy Amphetamine salts, discreetly buy Oxycontin 80Mg Online | How To Buy Drugs Securely Online? | Dilaudid Uses | Buy Ketamine vials Online,  Where To Buy Quality MDMA Capsules, CRYPTOCURRENCY PAYMENTS ONLY  | Buy dsuvia 30mcg Online | SECURE AND DISCREET
 
We offer: 
* No Prescription Required (NO RX) 
* Buy Direct and Save Time with Cryptocurrency 
* Reshipment is offered if the package does not get to location or refunds 
* High-Quality Pharmacy Grade Medicines. 
* Best and Affordable prices. 
* Fast and Stealth delivery - Tracking Available! 
* Various Discreet Shipping options depending on location

inquiries: immuneshades [at] protonmail [dot] com
Call/Sms : (480) ... 420 .. 6859

Reply
avatar
28 August 2020 at 15:49 delete

We are proud to say that we have delivered 70+ applications successfully. Also, we have been ranked by GoodFirms.com as Top Web Design Companies across the United Kingdom.
Contect Now - Mobile App Development Company In UK.

Reply
avatar
17 February 2021 at 23:52 delete

I am also interested in android devlopment. I do my coding with Android AIDE app. I have spent lots of time over android app devlopment. I have gain basic knowledge + little bit advance also.
** Visit my blog ** 8-)
To Ashu4Tech (A4T) .

Reply
avatar
2 March 2021 at 17:19 delete

Appsinvo is a Top Mobile App Development Company in India, UK and USA Australia that delivers cost-effective and result-driven web and mobile app solutions. We developed apps solutions for every domain, you name it, we build it. We are the one who is known to deliver innovative mobile app solutions.

Reply
avatar
19 May 2021 at 20:52 delete This comment has been removed by the author.
avatar
26 May 2021 at 14:35 delete

Nice article.
I have a question. Android Studio does not work on low end computer, in that case, is it a good idea to use online builder such as Appilix Website to APK Converter that converts my website into android app?

Reply
avatar
19 June 2021 at 10:50 delete

Buy ketamine now email : lyfeunit(at)tuta(dot)io <<< to buy directly

Ketamine is a medicine originally used for inciting and supporting anesthesia. It induces dissociative anesthesia, a trance-like state offering pain support, sedation, and amnesia. The distinctive characteristics of ketamine anesthesia are preserved breathing and airway reflexes stimulated heart function with heightened blood pressure. Medical uses: Anesthesia, Pain, and Depression

Buy High Purity ketamine online
Safe and discreet online medicine purchase, 100% guaranteed)
(Fast,Reliable & Discreet) - Cryptocurrency PAYMENTS ONLY

Reply
avatar
20 July 2021 at 11:00 delete

buy ios app installs to promote your IOS & Android apps, get a better rank at App store and Google Play with app keyword downloads.
You can also buy app reviews to make your app better.

Reply
avatar
9 September 2021 at 15:09 delete

I read your blog it's very nice and very helpful, I learn something new every time from this website, Thanks for sharing this information with us. I am also a blogger i guide people on App and Software Development. You can visit my blog here Best Progressive Web App Development Company

Reply
avatar
27 September 2021 at 16:43 delete

Thank you so much for posting! Cell Phone Monitoring for Parents - A hidden cell phone tracking app operates in stealth mode and is completely invisible to the users of the target Android device.

Reply
avatar
16 October 2021 at 13:44 delete


Thank you so much for sharing!
Here list of android app offering companies in India.
SpyAppKing
SpyCameraIndia
MobileJammerIndia
SpyPlayingCard
Nagios Core.
Zabbix.
Icinga.
Cacti.
Sensu Core.
Observium.
Zenoss.
Monitorix.
Best Spy Android Monitoring Application in India

Reply
avatar
4 February 2022 at 18:59 delete


When it comes to react native app development company Evincedev push digital transformation across the enterprise by harnessing the power of the React Native platform.

Reply
avatar
8 March 2022 at 15:00 delete

The token migration platform helps projects upgrade their old tokens to new tokens. In essence, if your old token has any flaws or if you want to add some additional features, you can create an entirely new token and users can swap their old tokens with your new tokens through the migration contract. Token Migration

Reply
avatar
8 March 2022 at 15:01 delete

You can create a TRC20 or TRC721 Token through our TRON token development services and they will work seamlessly with their Ethereum counterparts.Tron token

Reply
avatar
23 March 2022 at 13:11 delete

Your music is amazing. You have some very talented artists. I wish you the best of success.
build taxi app

Reply
avatar
23 March 2022 at 16:08 delete

The migration platform works similarly to a DEX without the Automated Market Maker system. The New or V2 tokens are stored inside the migration smart contract and users can simply connect their web3 wallets to trustlessly migrate their tokens.Token Migration

Reply
avatar
30 March 2022 at 14:47 delete

Tron token development is your best choice if you want all the functionalities of Ethereum, without the outrageous gas fees. Our Tron token development services allow you to create and deploy tokens on the tron network in minutes

Reply
avatar
7 April 2022 at 11:20 delete


I know this is an amazing post, it defines the true value of your knowledge. In fact, running a business is not common. People keep running to drive more in Android App using Android Studio. At LBM Blockchain Solutions which is best Blockchain development company in Mohali , you can maintain a leading position with Blockchain development in Mohali . keep it up. I really think this article is amazing, I can't describe it in words. Also, if you need best crypto exchange development company in Mohali
, do not delay in shaking hands with LBM Blockchain Solutions.

Reply
avatar
31 May 2022 at 15:51 delete

Really appreciable blog. the way you explained the things in detail is amazing. I also have written blog on the topic of difference between coin and token Read it and share your reviews.

Reply
avatar
31 May 2022 at 19:01 delete


Thank you very much for sharing the knowledge. The topic here i found was really effective to the topic which i was researching for a long time. How To Develop Your Own Crypto Token

Reply
avatar
24 September 2022 at 18:57 delete

It's remarkable, you have written a superb blog. I recommend everyone to share this blog. because good content should have to spread everywhere. We are the best alarm security system services provider company . and I recommend you to please visit the link and share your review with us.

Reply
avatar
26 April 2023 at 16:25 delete

This blog post provides a useful guide for developers who want to convert their website into an Android app. You have outlined the key steps involved and recommended some helpful tools for the process. Great job in providing this useful resource for fellow developers!
If you are looking to Hire Best Android App Developers from India, feel free to contact us, we will be happy to help you.

Reply
avatar
28 April 2023 at 15:18 delete

Superb post!
Thanks for sharing such an amazing blog! If you want to hire dedicated Android app developers in India for your next project. Contact us to hire top talent!

Reply
avatar

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();