Super Easy Guide to Convert Your Website Into an Android Mobile App

Having a website and a mobile app for that website is now the need for everyone. So if you have a website and want to make a mobile app of that website too and need to learn how to do it, you are at the right place. In this guide, you can convert your website into an android app in just 4 easy steps. Let's get started.

Important Note:

Before starting the android studio guide, I want to recommend you have a good and stable internet connection to avoid any kind of inconvenience, disturbance, uneasiness, and cumbersomeness.

Step  1: Create an Android Studio Project With the Name of Your Website

The first step of converting your website into a mobile app is to create an android studio project with the name of your website.

Create new android studio project
Image Source: Android Studio IDE Screenshot

Select a Project Template:

Just choose the empty activity and press the "next" button.

Select a Project Template
Image Source: Android Studio IDE Screenshot

Configure Your Project:

Write the name of the project on which you want to make your app. The project title can also be the name of your website to make things more simple for you. You can read further about configuring your project here.
Just make sure your configuration is the same as it is and then click on the "Finish" button.

Configure your project
Image Source: Android Studio IDE Screenshot

After clicking the finish button and your first step will be completed. Android Studio IDE will take some time to build your project and after the successful building of your project, you can move to step 2.

Step 2: Editing the XML File

The second step is to edit the XML file of your project. There is no need to worry, I've provided you with the code. You just need to paste this code into the XML file of your project.

Here is your XML code!

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android=""

android:layout_alignParentStart="true" />


Step 3 : Editing Your Java Code

The third step is to edit your java code and I have also provided you with that code. You need to change the website address of my blog "" with your website address. and make sure that you also change the package "com.masl.webviewapp" with the package of your app.
Here is your ActivityMain Java code:

package com.masl.webviewapp;


import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity {

WebView webView;
protected void onCreate(Bundle savedInstanceState) {

WebView webView = (WebView) findViewById(;
WebSettings webSettings = webView.getSettings();
webView.setWebViewClient(new WebViewClient());


Final Step 4: Adding Internet Permissions in Manifest File

This step is very important as to open a website, the internet is required. A mobile app cannot use the internet without having permission and this permission must be added at the time of development in its manifest file. just paste this code into your manifest file and it must look like this.

Here are your Manifest Code Lines:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
<uses-permission android:name="android.permission.INTERNET"/>

<activity android:name=".MainActivity">
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />


After this you need to build your project. If you need guide to build your project, you can check out my article here.


Suggestions / Queries

I hope this blog post was helpful for you and you enjoyed it. If you have any suggestions or queries, you can comment below or you can also contact us using our CONTACT US page.
Keep visiting our blog for more free mobile apps and free mobile games.
Stay Blessed.

Thanks for visiting MASL Game Studio.

Next Post Previous Post
No Comment
Add Comment
comment url