Welcome back.
And this video, I will show you how to run this application on your physical device, which means on
your phone.
Let's test this on a physical device in order to run this application on your device, you need to activate
the debugging feature.
All right.
Therefore, you can go to your settings and then scroll down to about phone and here.
So you're in the settings, scroll all the way down and you should find about font.
And here you click on to about phone and on to software information.
And there you want to build number.
Now when you click on the book number multiple times.
You know, in this case, I have to enter my password.
And once I entered my password, I can press next.
And my developer mode has been enabled.
Now I can go back and go back again and then in my settings underneath about phone, I will now find
developer options.
So here I can click on developer options and you can see they are turned on.
So the switch is said to on.
And now I can scroll down a little bit and activate USB debugging.
So here you can activate this as well.
And it will say allow USB debugging.
And I'm going to say OK, because this will now allow me to connect to my Android studio and directly
test applications test my code on the phone.
OK, now you of course, need to also allow USB debugging once again.
You can either allow it always from this particular computer or just do it once.
And I'm just going to do it once here and then I can run it on my phone.
All right, so let's do that real quick.
OK, so there we are.
Now let's click on the button and you can see Click Me works and it says, Hi Dennis.
And the number is adjusted all the time.
All right, perfect.
So now you know how you can prepare your phone to test the applications on your phone because this comes
in handy if the virtual device is too slow or it just doesn't work for you or for whatever reason,
you don't like it.
You can always test the application on the phone.
Now, of course, the application will be installed on your phone, so if you go over, you will find
your Hello World application there and you can open it any time so you have installed the app on your
phone.
You can now show this application to your friends.
For example, you don't need to bring your PC.
You can directly show the app on the phone.
All right, cool.
So that is something that you will be.
Using quite a bit or that, I recommend you to use quite a bit throughout the course because the phone
is just so much faster than the Android virtual device ever will be.
So it's just a lot more fun to use it on the phone, in my opinion.
All right.
So thanks a lot for following along.
See you in the next video.