BidVertiser

Categories

Follow Us @web_learners

BidVertiser

Friday, March 27, 2020

Open Url within the Android App Not in Browser | Webview App Development Series Part 3

March 27, 2020 0 Comments
Hi friends, last post I have shown How to Remove Action Bar in webview Android app.As you can see in the below video if we click on any button or link it asks permission to open with a browser like google chrome or android webview tester.i will show you how to write the program for opening any URL into android app, not in the browser. Watch below the full video for better understanding. Let's start.




You need to write a function called setWebviewClient()
Code:





Now for improving our app, we will do some more coding.

Code:





That's all. Next post I will show how to add a Progress bar in the webview android app.Thank you.




Wednesday, March 25, 2020

How to Remove Action Bar in Android app | Webview App Development Series Part 2

March 25, 2020 0 Comments
Hi friends, Last webview post I have shown how to setup Webview for convert website into an android app, Today I will show you how to remove the action bar in android or title bar from all android activity and how to program for the back button so that when the user will click on the back button in-app the app will go the previous page. Watch the below video or follow my posts.


For removing the action bar in android  from Webview App first you need to go "app--->res--->values--->styles.xml" folder from the left side. In styles.xml files, you will see there is a style called "DarkActionBar", you need to replace "DarkActionBar" with "NoActionBar".

Code:



Action Bar

That's it for action bar in android. Only this piece of code will remove action bar in android from all activity in Webview App. Now we will program for the back button. For that, you need to write an override function onBackPressed() in the MainActivity.java file. 
Code:





That's All. Now you can run your project.

In Bangla                                                                   In English

   

In Next Post I will show you 
Open Url within the webview Android App Not in Browser . Thank you.


Monday, March 23, 2020

How to Create Android App Project and Setup Webview | Webview App Development Series Part 1

March 23, 2020 6 Comments
Hi, This is the first of the Webview app development series. Today we will create a new project in the android studio and will setup the WebView. so, This is my website which we will convert into an android app.


So, Let's start the android studio. As you see in the video android studio started. Now let's create a new project. To create a new project for webview app click on Create new project option on the screen shown.



After that, you have to choose your project activity from the activity list. I will choose here empty activity. You can choose any from the activity list for making webview app.

After empty activity selected, Click next.



After that, this is where you have to give your application name.  My website name is "tweetpost" so, I will use it here.

Package name if you wish you can change. You can change the location if you want.

after that choose your minimum API from the API list. I will take the minimum API 16. Because when I will show you how to implement Applovin ads minimum API 16 will be needed.



After all this basic click on the finish button, It will take a few minutes to sync. As you see whenever sync has been finished, 2 tabs, "MainActivity.java" and "activity_main.xml" have opened automatically.



Ok, we will move down and click on the text view. after that, we will select layout decoration from the view area so that we can see how is the realtime app in a device shows.






so, we will change ConstantLayout to LinearLayout in the "activity_main.xml". After that, we will change the orientation to vertical.

Then we will remove the Default textview.



Now, we will take webview here. Actually, this is the system that will convert your website to a mobile app view.

we will use layout width and height to match_parent.
we will also take an ID named here myweb.

That's it for the xml file. The final code will be in activitymain.xml is:








Now let's move to MainActivity.java.

In the main function, we will take a webview variable. Let's call it "web". One more variable we will take and this will be a string.

let's call it. webURL. We will take a global variable so that we can use anywhere we like. Actually, this will hold the URL of the website which you wish to convert to a mobile app.

Ok, let's copy the URL of the website which you wish to convert into app. Ok as copying of the website url done.

Now, remember? we took a variable named "web". now we will store the webview of the XML file.

So, follow in the video shown.

after this, We will take a WebSettings and let's call it mywebsetting. follow the code shown in the video.
The final code will be in MainActivity.xml is:








After this piece of code. we will run our project on the emulator.
Now one more thing to do, As we know webview means it has to have internet access. So, we have to write some code to give internet access permission to our app. So, let's write some code. To write codes we have to go to manifests file then AndroidManifests.xml now we have to write (see below code)






As we have finished the coding now you can run your webview app in the emulator.

In Bangla                                                                   In English

   

I will show you in the next video how to add a progress bar in Webview App then we will be able to understand how much the site has loaded and how much left to be loaded.

Anyway, That's it. In the next video, I will show you how to remove the action bar in Webview App showing on the top. If you face any problem let us know. we will try to help you as much as possible.

Thank you

Sunday, March 22, 2020

How to Earn Money Online Without Investment Part 1 || Create Free Website || Blogging 2020

March 22, 2020 0 Comments
Hello guys If you are thinking to earn money online. and you don't have money to invest or you don't wish to invest any money in the beginning. I would like to suggest you do earn through free blogging. 

Because if you are new, you need to have at least a basic knowledge about the online business area. You will be able to test yourself about the success you will get.

I have seen lots of people come into the online world, but most of them go off with frustration. This is a very highly competitive world. If you don't have uniqueness. you are failed to be successful.

 Anyway, enough talking, I am here to help you with free blogging. if you can be successful here you are successful everywhere.

You may be thinking why I am saying this, Actually lots of words to talk about, I will answer this question in the next video. Today I am here to show you how you can start you a very first online free website to earn money, I will show you step by step way to be successful. You just have to walk on that, Today is the first video, So, let's start, we will create a free website first which is freely given by google.


This video has covered.
~~~~~~~~~~~~~~~~~~~
How to create a free website from blogger blog
How to do post in the blogger blog
How to search for an image with reuse rights

=====================================
Next Video will cover-up
~~~~~~~~~~~~~~~~~~~~
How to design blogger blog
How to create a page in the blog
How to create a menu bar on the blog. Thanks


Webview App Development Series Intro || Convert Website Into Android App || Android Studio || 2020

March 22, 2020 0 Comments
Hello visitors, We are gonna post a series of tutorials about Webview App Development. We will show step by step how you can convert any website into an android app.  As we will keep posting step by step guidelines if you have any questions ask me in the comment section. I will be more than happy to help.

                        In Bangla                                                          In English

       


Now, let's see what we are gonna get from the series. We will help you to understand how a website can be converted into an app. Yes, it's very easy to make webview App or convert a website to an android app. But making an app with professional looks is difficult. We will show you step by step how you can convert any website whether a free blog or your professional site can be converted as a mobile app with professional looks. If you wish to learn all this knowledge stay with us.

We will keep creating videos on the topic of Webview App Development you just need to follow the step by step guidelines we show in the video if you wish to build a web view App successfully. In other words, we can say, To learn how to convert a website into the android app  or webview app just follow our videos.