How to convert a website to Android App

by Posted on January 15, 2019

Nowadays, android apps play an important role in business. So if you want to start a new business or want to expand it you must have an android app. Creating an android app is not much more difficult. You can hire someone for this or in your free time you can create your own app.

I am ALI HOSSAIN. I am freelancer since 2014. In this time I created 100s of website. Most of the client wants to make an android app. So if they update their website it should also update on the app. So recently I learned how to convert a website to an android app. No matter which type of your website is. May be it is WordPress, PHP or basic HTML you can convert it to an android app. Just one thing you need and that is your website should mobile friendly.

Want to learn, how to convert a website to an android app? If yes you can check my following video.

I hope you enjoyed the video. Now for practice, you might need source code and for that reason, you can use this source code. Actually on YouTube lots of people wants it to me. I also emailed so many source code. But You know it’s impossible to share the source code with everyone. So I made it easy.

If you think my source code or work is useful, please share it with your social media, So other people can see this. Thanks for your time.

Download the Source Code

24 thoughts on “How to convert a website to Android App

    1. shovo654 says:

      You are welcome.

  1. Vikas Kumar says:

    This article is very useful. am use this coading and create my own android apk. thanks

  2. louie ann says:

    hi I have a problem..
    Webpage not available

    What is that sir?
    The data and wifi is open..

    I dont know where is the prob. because I saw the output in emulator but no website ..

  3. tpantara says:

    Thank you sir, I have some question about “” sir, when I type the

    new Handler() –> The Handler is shown RED color sir. Could you please advise to resolve this?

    Once again, thank you very much sir

    1. Ali Hossain says:

      It will fix when you import it. Check the video again. Thank.

  4. aadhar says:

    Thanks for this information, it’s really helpful for me.

  5. Rupesh says:

    very nice brother i have also created app for my website. but can can you give me some idea for the user can save page content offline in app.

  6. Frank says:

    can you make a video of how to import the codes please sir. Thank you

  7. Tamer Tolba says:

    Thank you Ali very good video I have tested and everything working fine but the web site menu and all popup not response to the touch clicks my web site is

  8. Pratik Srivastava says:

    Hey, thank you for the tutorial.
    I tried to implement the code and when I built the apk on my phone instead of the website opening in an app it is getting redirected to the browser.
    Can you please help me in fixing this issue?
    Thank you in advanc.

  9. bro plz help me this code was not working in my android studio.

    1. Ali Hossain says:

      Update your android studio. I hope it can help you.

  10. Preet Man says:

    Thank you Ali very good video I have tested and everything working fine but the web site menu

  11. and says:

    I was suggested this website via my cousin. I am now not certain whether or not this post is written through him as no one else know such detailed approximately my difficulty. You’re wonderful! Thanks!


    package com.example.expressdelivery;

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

    public class MainActivity extends AppCompatActivity {
    private WebView mywebView;

    protected void onCreate(Bundle savedInstanceState) {
    mywebView = (WebView)findViewById(;
    WebSettings webSettings=mywebView.getSettings();
    mywebView.setWebViewClient(new WebViewClient());

    public class myWebClient extends WebViewClient
    public void onPageStarted(WebView view, String url, Bitmap favicon) {
    super.onPageStarted(view, url, favicon);

    public boolean shouldOverrideUrlLoading(WebView view, String url) {

    return true;


  13. Dada Peter says:

    I just shared your post but I am unable to access the source code.
    Please send to my email.

  14. Alisha says:

    Update your android studio. I hope it can help you.

  15. Yogita rana says:

    Not getting codes

  16. This post is clear and easy to comprehend. I’m learning more concerning this. Wish you bring more things related to it.

  17. hindi lyrics says:

    thanks for sharing this amzing article now I can do it easily . Keep it up!

  18. Roton Kumar says:

    thanks for sharing i am convert my site android app

  19. Carole says:

    Thanks for finally writing about > How to convert a website to
    Android App | Ali Hossain < Liked it!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.