Hello, my dear friend.
So in this video, we will make an Android application of our project in Westview.
So let's begin.
So for this operation, we're going to need Android Studio, Open, Android Studio, Select New Project.
Now for the name, I'm going to call it, OK, Westview.
Package name is important, and that must be unique, otherwise you won't be able to upload the application
onto the place tomorrow and I will make it OK.
Media now save location.
Language will be Java minimum API level, it just means that which level our program is going to run,
if you choose PI, you may get errors on Nugget.
So select compatible version with your phone.
So I'm going to choose Newgate and I'll finish.
So we got to wait for it to install, might take a little time.
Just make sure that Android is selected.
Select Reds folder lay out and open main activity, so there are two areas, design and text.
So let's have a look at design and this one is the code area.
First, let's delete hello, world, hmm?
And we can change the layout with the linear layout, so it just looks better when the design area.
You know, add a review to our project.
You can drag it from the pallet and let's give it Nidhi for Westview in the attributes window, OK?
All right.
So we've finished our activity main page and let's go to the Java folder and select the first folder.
Open main activity.
Now, let's add Web video and look at that, a library was added.
So now, Westview, you are L equals cast Web view.
Now find a view by ID and we will give our Web viewed, OK?
Now we have to adjust.
You are all sitting here, I'll get settings.
So first let's set enabled for JavaScript and now we have to define a Web view client or all set web
view client, new web view client.
And look at that.
A library was added.
Now let's give our site's you URL, your URL, load your URL and I'll give Pat.
Done.
All right, so now we have finished the main activity also in the manifest folder, open manifest XML
file.
First, for connecting to the Internet, we have to give permission, USA's permission, permission,
Internet.
Now, if you want to, you can adjust your apps icon or label.
My labor will be OK, training's.
Now we have to set uses, clear text traffic, true.
This property came with pie, if you don't add this, you will get an error.
All right, so now that's finished.
Let's try to well well, let's try to run the emulator.
All right, so now we're on project.
Like that, we can see our project on mobile.
Well done.
So the most important point here is that your site must be responsive, right, otherwise you won't
be able to use this method to make it out.
All right.
So let's let's remove this name area.
First open style Zimmel.
App theme, no action bar none.
Now let's try again.
And look, the title area was deleted none.
So now we finish making the project, let's make an APK.
Now in build menu, select, generate, signed Bundall, RPK apk.
And next, you need a key.
So create new.
And select keys, save location.
Name will be OK, training KE.
OK, so now we got to define a password, but you have to give an unforgettable password for you, if
you forget this password, you won't be able to update your project.
So give an alias.
Validity year, maybe 25 years now, this area is the certificate area, so I'll enter only name area
if you want to, you can enter the other areas also.
Is quick.
All right, so let's create a RPK and a jar file together finish.
Yeah, this might take a little while.
Now, as you see, our app was created, so click, locate and like that, we have an app file.
So now you can use this in any Android phone and if you want to, you can upload to the play store as
well.
Actually, if you want to, you can make an iOS happy with where you.
But the App Store won't let you upload web apps, so I'm not going to show you that.
So that means we have finished this project and the next video, we're going to start to change our
project front page.
All right.
So we'll see in the next video.