How to convert a website to Android App

by Posted on January 15, 2019

http://www.alihossain.com/blog/wp-content/uploads/2018/07/convert-a-website-to-Android-App.jpg

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 to everyone. So I made it easy.

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

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

    1. shovo654 shovo654 says:

      You are welcome.

  1. Avatar Vikas Kumar says:

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

  2. Avatar louie ann says:

    hi I have a problem..
    Webpage not available
    net:: ERR_CLEARTEXT_NOT_PERMITTED

    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. Avatar tpantara says:

    Thank you sir, I have some question about “splashactivity.java” 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 Ali Hossain says:

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

  4. Avatar aadhar says:

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

  5. Avatar 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. Avatar Frank says:

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

  7. Avatar 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 https://www.mkanak.com

  8. Avatar 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 Ali Hossain says:

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

  10. Avatar Preet Man says:

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

  11. Avatar 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!

  12. I AM USING MY WEBSITE URL .THEN I USE YOU MINE WEB WRL IS NOT WORKING AND YOUR TOO.

    package com.example.expressdelivery;

    import android.graphics.Bitmap;
    import android.os.Bundle;
    import android.support.v7.app.AppCompatActivity;
    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();
    mywebView.loadUrl(“http://www.alihossain.com”);
    mywebView.setWebViewClient(new WebViewClient());
    webSettings.setJavaScriptEnabled(true);
    }

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

    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url) {

    view.loadUrl(url);
    return true;

    }
    }

  13. Avatar Dada Peter says:

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

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.