1 00:00:00,500 --> 00:00:01,340 Welcome back. 2 00:00:01,580 --> 00:00:07,250 And this video, I will show you how to run this application on your physical device, which means on 3 00:00:07,250 --> 00:00:07,790 your phone. 4 00:00:08,000 --> 00:00:16,309 Let's test this on a physical device in order to run this application on your device, you need to activate 5 00:00:16,640 --> 00:00:17,630 the debugging feature. 6 00:00:17,990 --> 00:00:18,320 All right. 7 00:00:18,320 --> 00:00:24,620 Therefore, you can go to your settings and then scroll down to about phone and here. 8 00:00:25,130 --> 00:00:28,580 So you're in the settings, scroll all the way down and you should find about font. 9 00:00:29,180 --> 00:00:34,190 And here you click on to about phone and on to software information. 10 00:00:35,090 --> 00:00:37,010 And there you want to build number. 11 00:00:37,340 --> 00:00:40,310 Now when you click on the book number multiple times. 12 00:00:41,360 --> 00:00:44,120 You know, in this case, I have to enter my password. 13 00:00:45,150 --> 00:00:47,560 And once I entered my password, I can press next. 14 00:00:47,880 --> 00:00:49,950 And my developer mode has been enabled. 15 00:00:50,310 --> 00:00:57,120 Now I can go back and go back again and then in my settings underneath about phone, I will now find 16 00:00:57,120 --> 00:00:58,110 developer options. 17 00:00:58,650 --> 00:01:02,790 So here I can click on developer options and you can see they are turned on. 18 00:01:03,090 --> 00:01:05,040 So the switch is said to on. 19 00:01:05,489 --> 00:01:10,980 And now I can scroll down a little bit and activate USB debugging. 20 00:01:11,550 --> 00:01:14,250 So here you can activate this as well. 21 00:01:14,760 --> 00:01:16,670 And it will say allow USB debugging. 22 00:01:16,680 --> 00:01:23,940 And I'm going to say OK, because this will now allow me to connect to my Android studio and directly 23 00:01:23,940 --> 00:01:26,790 test applications test my code on the phone. 24 00:01:27,270 --> 00:01:30,600 OK, now you of course, need to also allow USB debugging once again. 25 00:01:30,840 --> 00:01:35,310 You can either allow it always from this particular computer or just do it once. 26 00:01:35,310 --> 00:01:41,040 And I'm just going to do it once here and then I can run it on my phone. 27 00:01:41,760 --> 00:01:43,200 All right, so let's do that real quick. 28 00:01:45,550 --> 00:01:46,600 OK, so there we are. 29 00:01:46,960 --> 00:01:54,460 Now let's click on the button and you can see Click Me works and it says, Hi Dennis. 30 00:01:54,940 --> 00:01:57,850 And the number is adjusted all the time. 31 00:01:58,360 --> 00:01:59,050 All right, perfect. 32 00:01:59,260 --> 00:02:04,720 So now you know how you can prepare your phone to test the applications on your phone because this comes 33 00:02:04,720 --> 00:02:11,890 in handy if the virtual device is too slow or it just doesn't work for you or for whatever reason, 34 00:02:11,890 --> 00:02:12,610 you don't like it. 35 00:02:12,940 --> 00:02:15,130 You can always test the application on the phone. 36 00:02:15,400 --> 00:02:21,880 Now, of course, the application will be installed on your phone, so if you go over, you will find 37 00:02:21,880 --> 00:02:27,700 your Hello World application there and you can open it any time so you have installed the app on your 38 00:02:27,700 --> 00:02:28,020 phone. 39 00:02:28,030 --> 00:02:31,120 You can now show this application to your friends. 40 00:02:31,120 --> 00:02:32,950 For example, you don't need to bring your PC. 41 00:02:32,950 --> 00:02:35,350 You can directly show the app on the phone. 42 00:02:36,160 --> 00:02:36,730 All right, cool. 43 00:02:36,910 --> 00:02:39,130 So that is something that you will be. 44 00:02:40,250 --> 00:02:46,550 Using quite a bit or that, I recommend you to use quite a bit throughout the course because the phone 45 00:02:46,550 --> 00:02:49,970 is just so much faster than the Android virtual device ever will be. 46 00:02:50,180 --> 00:02:55,220 So it's just a lot more fun to use it on the phone, in my opinion. 47 00:02:55,670 --> 00:02:56,060 All right. 48 00:02:56,060 --> 00:02:57,800 So thanks a lot for following along. 49 00:02:57,890 --> 00:02:59,150 See you in the next video.