how to create blog app in android studio | website to app free

J




The easiest and easiest way to create an App from your Blogger blog is by following the clear and precise instructions found in this Blogger Tutorial . It is not something from another world nor should you have knowledge of code, are a few simple steps with which in the end you will have your own App of your Blogger blog completely free and then start distributing it to your friendships and so they will take you on your phone Smart your Blogger blog and they can access it and see your new posts.


How to create an app from my Blogger blog?

How will this App be displayed?

- We will use a Splash screen, which is a welcome screen, it will take 10 seconds and then continue its course until you load your Blogger blog in the App

- In addition, the application will only be displayed vertically and not horizontally

- You have a menu to share your articles on your social networks

First step:

Enable the mobile template of your Blogger blog, if you don't know how, follow the instructions below

Enable the obile template of my Blogger blog

Second step:

You need to install on your Android Studio desktop computer, which is essential to create applications, follow the instructions for installing Android Studio from the following three links:

Install Android Studio
Install JDK 8
Update the SDK Manager


Third step:

Once you have installed Android Studio and JDK 8, you will be ready to insert some codes in your first Android Studio project

Explanation:

What we are going to do is create a project “An application” in Android Studio, we will copy some codes and we will insert the URL address of our Blogger blog. When loading the entire project in Android Studio it will create your application generating an APK. This APK is your mobile application, which you can install on your Smartphone that uses Android system, as well as upload it to Google Play and distribute your application for free.

When you open your application on a Smartphone, it will immediately open, and your Blogger blog will appear inside it, as long as you have a mobile template for your blog. Every time you publish an entry in your blog, it will immediately be updated in your application, because we are using the URL of your Blogger blog, with this your followers will see your news from the application you create, as long as they have Your App installed.

Note: It is recommended that you have a good optimized mobile template, so that a professional design is displayed

Video tutorial - How to create an app from my Blogger blog?
We start

1. - Open Android Studio

How to create an app from my Blogger blog?

2. - One click on “ Start a new Android Studio Project ”

How to create an app from my Blogger blog?

3.- It will show you the following screen

How to create an app from my Blogger blog?

4. - Change where it says:

Application name : Change it by the name you want to show in your application
Company Domain: Change it by your company's URL

Then you click on “ Next ”

How to create an app from my Blogger blog?

5.- The following window will appear in which you must select “ API 16: Android 4.1 (Jelly Bean) ” and click on Next

How to create an app from my Blogger blog?

6. - Now a new window will appear, choose “ Blank Activity ”, then click on Next
😋
How to create an app from my Blogger blog?

7. - A new window will appear, you just have to click on the button that says Finish



Ready, you are creating your first project, wait a few minutes

How to create an app from my Blogger blog?

8. - It will show us the following on the left side, look at the following image

How to create an app from my Blogger blog?

9.- Please deploy the project as follows, look at the image



10. - A click on AndroidManifest.xml will show you the following

How to create an app from my Blogger blog?

11. - We will remove a part of the code, look at the following image

How to create an app from my Blogger blog?

12.- Copy the following code as I show it in the following image

How to create an app from my Blogger blog?

Insert the following code:

uses-permission android : name ="android.permission.INTERNET" /> 
    < 
uses-permission android : name ="android.permission.VIBRATE" /> 
    < 
application 
        
android : allowBackup = "true" 
        
android : icon = "@mipmap / ic_launcher " 
        
android : label = " @ string / app_name " 
        
android : theme = " @android: style / Theme.Holo.Light " 
        < 
activity 
            
android : name = " .MainActivity " 
            
android :screenOrientation ="portrait" 
            
android: label = "@ string / app_name" 
            < 
intent-filter > 
                < 
action android : name = "android.intent.action.MAIN" /> 

                < 
category android : name = "android.intent.category.DEFAULT"/> 
            < / 
intent-filter > 
        </ 
activity > 

        < 
activity 
            
android : name = ".Splash" 
            
android : label = "@ string / app_name" 
            <
intent-filter >
                < 
action android : name = "android.intent.action.MAIN" /> 

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

    </ 
application > 

</ 
manifest >


13 .- We create a new Java class, with the name MyAppWebViewClient , look at the following image

How to create an app from my Blogger blog?

14. - We delete a part of the code that generated us, I have inserted a new code

How to create an app from my Blogger blog?

Insert the following code:

import android.content.Intent;

import android.net.Uri;

import android.webkit.WebView;

import android.webkit.WebViewClient;



public class MyAppWebViewClient extends WebViewClient {



   
@Override

   
public boolean shouldOverrideUrlLoading (WebView view, String url) {

       
if (Uri. parse (url) .getHost (). endsWith ( " helpdeblogger.com " )) {

           
return false ;

        }




        Intent intent =
new Intent (Intent. ACTION_VIEW , Uri. Parse (url));

        view.getContext (). startActivity (intent);


       
return true ;

    }


}


Make this change:

Remove the URL that says helpdeblogger.comand replace it with the URL of your Blogger blog for example:

example.blogspot.com

15. - We are going to create a new Java class with the name of Splash , look at the following image

How to create an app from my Blogger blog?
16.- Remove a part of the code and replace it with a new one, look at the following image

How to create an app from my Blogger blog?
Insert the following code:

import android.annotation.SuppressLint ;

import android.annotation.TargetApi ;

import android.app.ActionBar;

import android.app.Activity;

import android.content.Intent;

import android.os.Build;

import android.os.Bundle;



@SuppressLint ( "NewApi" )

public class Splash extends Activity {



    @TargetApi (Build.VERSION_CODES. HONEYCOMB )

    @SuppressLint ( "NewApi" )

    @Override

   
protected void onCreate (Bundle savedInstanceState) {

        super .onCreate (savedInstanceState);

        setContentView (R.layout.
activity_splash );



        ActionBar actionBar = getActionBar ();


        actionBar.hide ();




        Thread t =
new Thread () {

            public void run () {

                try {

                    sleep ( 10000 );

                }
catch (InterruptedException e) {

                    e.printStackTrace ();


                }
finally {

                    Intent i =
new Intent (Splash. This , MainActivity. Class );

                    startActivity (i);


                }


            }


        };


        t.start ();


    }


    @Override

   
public void onPause () {

        super .onPause ();

        finish ();


    }




}

17.- We click on MainActivity , it will show us the following

How to create an app from my Blogger blog?
18.- We have to delete part of the code, and replace it with another one as I show it in the following image

How to create an app from my Blogger blog?
Insert the following code:

import android.app.ActionBar;

import android.app.Activity;

import android.content. Intent ;

import android.content.res.Configuration;

import android.os.Bundle;

import android.view.Menu;

import android.view.MenuItem;

import android.view.View;

import android.webkit.WebSettings;

import android.webkit.WebView;

import android.widget.ShareActionProvider;

import android.widget.Toast;





public class MainActivity extends Activity {



   
private WebView mWebView ;



   
@Override

   
protected void onCreate (Bundle savedInstanceState) {

       
super .onCreate (savedInstanceState);

        setContentView(R.layout.
activity_main);



       
mWebView = (WebView) findViewById(R.id.activity_main_webview);

        WebSettings webSettings =
mWebView.getSettings();

        webSettings.setJavaScriptEnabled(
true);

       
mWebView.loadUrl("http://www.ayudadeblogger.com");

       
mWebView.setWebViewClient(new MyAppWebViewClient());

       
// Stop local links and redirects from opening in browser instead of WebView

       
mWebView.setWebViewClient(new MyAppWebViewClient(){

           
@Override

           
public void onPageFinished(WebView view, String url) {

               
//hide loading image

               
findViewById (R.id. progressBar1 ) .setVisibility (View. GONE );

                
// show webview

               
findViewById (R.id. activity_main_webview ) .setVisibility (View. VISIBLE );

            }});






    }




   
@Override

   
public void onBackPressed () {

       
if ( mWebView .canGoBack ()) {

           
mWebView .goBack ();

        }
else {

           
super .onBackPressed ();

        }


    }




   
private ShareActionProvider mShareActionProvider ;

   
@Override

   
public boolean onCreateOptionsMenu (Menu menu) {



       
/ ** Inflating the current activity's menu with res / menu / items.xml * /

       
getMenuInflater (). inflate (R.menu. menu_main , menu);



       
/ ** Getting the actionprovider associated with the menu item whose id is share * /

       
mShareActionProvider = (ShareActionProvider) menu.findItem (R.id. share ) .getActionProvider ();



       
/ ** Setting a share intent * /

       
mShareActionProvider .setShareIntent (getDefaultShareIntent ());



       
return super .onCreateOptionsMenu (menu);



    }




   
/ ** Returns a share intent * /

   
private Intent getDefaultShareIntent () {

        
Intent intent = new Intent ( Intent . ACTION_SEND );

        intent.setType (
"text / plain" );

        intent.putExtra (
Intent . EXTRA_SUBJECT , " Widgets and Plugins for Blogger " );

        intent.putExtra (
Intent . EXTRA_TEXT , "Visit www. helpdeblogger .com All about BLogger " );

       
return intent;

    }






}

Make these changes:

Remove the URL that says helpdeblogger.comand replace it with the URL of your Blogger blog, for example

example.blogspot.com

Similarly there is another URL that is marked yellow helpdeblogger.com delete it and enter your web address

Also change the names that are marked yellow and say Widgets and Plugins for Blogger , enter a new phrase

19. - A click on Activity_main.xml will show you the following

How to create an app from my Blogger blog?
20.- Remove all the code found, and replace it with another code, look at the following image

How to create an app from my Blogger blog?
Insert the following code:

< LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android"

   
xmlns: tools = "http://schemas.android.com/tools"

   
android : layout_width = "match_parent"

   
android : layout_height = "match_parent"

   
tools : context = ".MainActivity"

   
android : orientation = "vertical"
>



    <
ProgressBar

       
android : id = "@ + id / progressBar1"

       
style = "? android: attr / progressBarStyleLarge"

       
android : layout_width = "wrap_content"

       
android : layout_height = "match_parent"

       
android : layout_centerHorizontal = "true"

       
android : indeterminate = "false"

       
android : layout_gravity = "center"
/>



    <
WebView

       
android : id = "@ + id / activity_main_webview"

       
android : layout_width = "match_parent"

       
android : layout_height = "match_parent"

       
android : visibility = "gone"
/>

</
LinearLayout >

21 .- Create an activity_splash  look at the following image

How to create an app from my Blogger blog?
22. - One click on activity_splash and it will show us the following code, look at the image

How to create an app from my Blogger blog?
23.- We remove all the code that is found and replace it with another one, look at the following image

How to create an app from my Blogger blog?
Insert the following code:

< RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android"

   
xmlns: tools = "http://schemas.android.com/tools"

   
android : layout_width = "match_parent"

   
android : layout_height = "match_parent"

   
android : background = "@ mipmap / app_ayudadeblogger"

   
tools : context = ".Splash"
>





</
RelativeLayout >

24.- A click on menu_main.xml , will show us the following code, look at the following image

How to create an app from my Blogger blog?
25. - Remove all the code found and replace it with another code, look at the following image

How to create an app from my Blogger blog?

Insert the following code:

< menu xmlns: android = "http://schemas.android.com/apk/res/android"

   
xmlns: tools = "http://schemas.android.com/tools" tools : context = ".MainActivity"
>

    <
item

       
android : id = "@ + id / share"

       
android : title = "@ string / share"

       
android : showAsAction = "ifRoom"

       
android : actionProviderClass = "android.widget.ShareActionProvider"
/>

</
menu >

26.- Open strings.xml , it will show you the following, look at the image

How to create an app from my Blogger blog?
27. - Remove all the code found and replace it with another code

How to create an app from my Blogger blog?
Insert the following code :

< resources >

    <
string name = "app_name" > AdB </ string >



    <
string name = "hello_world" > Hello world! </ string >

    <
string name = "share" > Share </ string >

    <
string name = "action_websearch" > Web search </ string >

</
resources >

28.- Now we need to insert a welcome image, to perform this trick follow the instructions below.

First create a welcome image that has a dimension of 701x927 and save it with the following name:

app_ayudadeblogger

For example this is the welcome image of my app

How to create an app from my Blogger blog?
Once created, follow the instructions below:

Look at the sequence of the following image

How to create an app from my Blogger blog?
Remember to perform this process of copying the welcome image within the 5 points that I leave pointing

How to create an app from my Blogger blog?
29.-  We have finished part of the configuration, we are ready to save our app and this will generate our APK, which will help us to show it on our smartphone

Follow the instructions below.

1 Click on “ Build ” then on “ Generate signed APK ”

How to create an app from my Blogger blog?
2 Follow the instructions in the following video tutorial

Note : remember to wait a few minutes until the APK generated

Its APK is the one with the name:

App-release.apk

How to create an app from my Blogger blog?
Remember that you can change your name by always keeping the .apk

That's it, now distribute your new App with all your friends, you can upload the file to drive.google.com and share with the general public

View from a smartphone to Install APK

How to create an app from my Blogger blog?

How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?
How to create an app from my Blogger blog?

How to create an app from my Blogger blog?
How to create an app from my Blogger blog?

- You can download the application and see how it works, from the following link

For the followers of Ayudadeblogger.com

If you have not been able to perform this great trick on how to create an App of your Blogger blog, you can leave me a comment in this post, requesting that I help you create your App, I will gladly help you and send you the download link of your Blogger app within your comment in this post. 

Instructions to create your app

First : You must leave a comment in this post requesting that you make the app of your Blogger blog and indicate that you have already sent that request 

Second : Send the request to the following email address: Shakilovi02@gmail.com
Facebook Id:   facebook.com/mr.shakil.ovi
Attach the following information:

- URL of your Blogger blog or your website 

- Attach a cover image of your Blogger blog that has a size of 701x927 pixels - Indicate the name with which you want your app to be displayed, for example " Cars " 


That's it .................. 



Any questions do not hesitate to write

regards

Comments

  1. Nice blog and absolutely useful to everyone. You can do something much better but i still say this perfect. Keep on sharing for such a great stuff. Android Development

    ReplyDelete
  2. Incredibly conventional blog and articles.Directly I am found which I truly need. please visit our website for more information about  Flutter App Development Services in Delaware

    ReplyDelete

Post a Comment

Thanks

Popular posts from this blog

HSC all text book Download | এইচএসসি সব পাঠ্য বই ডাউনলোড

একাদশ দ্বাদশ শ্রেণীর বই সমূহ ডাউনলোড – HSC Books Download pdf

make facebook hack fishing site 2019 for free | খুব সহজে যে কারো ফেসবুক হ্যাক করুন