Convert any website to android application with android studio


Hello Everyone!

In this I am going to show you how to develop an android app for your website. android app for my website which you can see on your screen right now.

Android App for my site

For this all we are going to use a software called Android Studio. Need not to worry as if you don’t have it you can download it before proceeding further. I have mentioned the link in the description box, you can download it from there.

Step 1:

Open Android Studio

First click on the start menu and open Android Studio, this is definitely gonna take some time as this a heavy application.

Android Studio

Step 2:

Create New Android Studio

Create a new project by clicking on create a new android studio project.


Step 3:

Naming the project

Name the project whatever you want as I am naming it ‘Tutorials’ now click next.


Step 4:

Choose SDK

Choose minimum sdk as API 17:Android 4.2. Again click next


Step 5:

Choose blank activity


Step 6:

Now click finish


Step 7:

Edit in content main

As you can see that project is rendering. Now start editing content_main.xml.

Here you have to change ViewtowebView. Then remove ‘text’ and replace it with ‘id’. Now give the id as “@+id/activity_main_webview”. Remember one thing you can get all the lines of which I am editing in this video from the description section. So at this point of time just watch and remember the things what I am doing.


Step 8:

Go to main activity java file

Now go to file and press enter. Here you need to write a line of code.

privateWebView  mWebView;

Now scroll down and remove these lines of code and add the following lines.


find ViewById ( ;

WebSettingswebSettings = mWebView.getSettings () ;

WebSettings.setJavaScriptEnabled (true) ;

mWebView.loadURL ( ;

see as I am using my URL that is which you can replace it with your URL.

 Go to main activity java file

Step 9:

Add line of course to android manifest

Now as you have edited files now it’s time to give internet permission to the app for that we have to add a line of course in androidmanifests.xml

Now click on manifests and open androidmanifests.xml. Add the following line:



Save the files.

Click on the build and then on “build apk”. It will take some time to create the apk file for the project.

As you can see the grandle is running and building the apk file for the application.

Once the apk file gets generated copy it to the android phone.

APK file

Now use your android phone to install the application.


Visit Us At:


About Author

Leave A Reply