Convert Website to Android application – Here I share with you how to convert website to android application using android studio. Now a days most of peoples have android mobiles and they all like to use the application rather then desktop. So i have publish this article make simple way to access your website throw android application.

Most of them still struggle to make an android application even college students also but here simply make android application within 15 minutes. Non-educated peoples also easily make the android app using android studio.

Convert website to android application

Okay fine, Now we have start the work to make an android application.

Follow the procedure

1. First you have open Android Studio, suppose if you not have android studio just install now from android official site Android Studio.

2. Then create new project in android studio & click Next (like below image)

convert website to android application

3. Then click Next no changes (like below image)

convert website to android app

4. Hereafter, choose the Empty Activity, the click Next (like below image)

convert website to android app

5. Then click Finish, no changes (like below image)

convert website to android app

Now the project is successfully created. After creating project you will get this page (like below image)

convert website to android app

Code Development

Now we are move on develop the simple code and get the android application. So just follow my steps to make an android application.

Open res->layout->activity_main.xml. now the activity_main.xml file will be opened (like below image)

convert website to android app

Then you are remove the TextView tag and replace the below code

Finally the activity_main.xml file look (like below image)

convert website to android app

Then move on MainActivity.java file

Just remove all content from MainActivity.java file and replace the below code. Remove the http://www.vetbossel.in website and replace your website name in that place.

Add Internet Permission

Then go on manifest->AndroidManifest.xml.

Include the below code in AndroidManifest.xml

Finally, the full code of AndroidManifest.xml

The codes looks (like below image)

convert website to android app

Now, we have added the internet connection code in AndroidManifest.xml. So we are full permit to access the internet connection.

Execute the Application

Now you have to run your application in android emulator. The exact output looks (like below image)

convert website to android app

Read more Get Google Map current location

Video Tutorial