1
00:00:01,000 --> 00:00:07,840
Hi everyone it is literally I want to tell you that I want to allow the user to interactivity the image

2
00:00:08,290 --> 00:00:11,420
when the image is actually taken by using the camera.

3
00:00:11,500 --> 00:00:12,000
OK.

4
00:00:12,220 --> 00:00:18,520
So we don't want this save the picture button to be with the will to the user of the user for the first

5
00:00:18,520 --> 00:00:22,820
time or when the user for example runs the application and the UN method is called.

6
00:00:22,870 --> 00:00:23,110
Right.

7
00:00:23,110 --> 00:00:29,230
I don't want these bars to be visible to the user when the uncreate method is called or the share your

8
00:00:29,230 --> 00:00:29,760
image.

9
00:00:29,980 --> 00:00:35,400
So let's go back to android studio inside this uncreate Smurfette after this line of code that says

10
00:00:35,400 --> 00:00:41,200
that the listener for this billion share are first of all I want to actually make the spot in pity and

11
00:00:41,200 --> 00:00:43,270
save the picture this button to be invisible.

12
00:00:43,270 --> 00:00:46,410
I can't say BT and save the picture.

13
00:00:46,620 --> 00:00:54,650
That said visibility view actually that invisible view that an invisible.

14
00:00:54,970 --> 00:01:03,550
And then I want to also actually make these sequels to be invisible so I can say I'm the first one is

15
00:01:03,610 --> 00:01:04,690
Red Sea right.

16
00:01:04,730 --> 00:01:18,330
Read the report that said visibility view that's invisible green bar that said visibility sets visibility

17
00:01:19,390 --> 00:01:23,050
view that invisible.

18
00:01:23,240 --> 00:01:25,220
And then finally a blue.

19
00:01:26,050 --> 00:01:31,990
That said visibility view that invisible right.

20
00:01:32,080 --> 00:01:35,470
And then we also want to actually make it spot and share your image.

21
00:01:35,470 --> 00:01:42,610
We want to also this button to be invisible in the uncreate if it is called so I can say PTEN sure.

22
00:01:42,810 --> 00:01:46,870
That said visibility view that invisible.

23
00:01:47,310 --> 00:01:54,540
So now I want all these components to be visible inside the on activity results Mefford because unactivated

24
00:01:54,550 --> 00:02:02,510
is out and if it is where they use it has actually taken an image and inside that Mefford all you want.

25
00:02:02,520 --> 00:02:05,930
Are these actually these components to be visible to the user.

26
00:02:05,970 --> 00:02:09,960
If the user has taken an image by using a camera.

27
00:02:09,960 --> 00:02:14,250
So let's go to are actually the activity on his iPhone if it an activity it is not my fault.

28
00:02:14,250 --> 00:02:19,490
So just you can put down the can to comment on your keyboard and then press on on your keyboard.

29
00:02:19,680 --> 00:02:24,090
And if you are using any of those machine you just need to hold on to control your keyboard and then

30
00:02:24,570 --> 00:02:29,810
press and then at that if he on your keyboard in order to search for a specific keyboard so an activity

31
00:02:29,820 --> 00:02:30,660
result.

32
00:02:31,020 --> 00:02:35,080
So here we have this if statements right.

33
00:02:35,130 --> 00:02:42,730
So this if statement here is going to be executed when an image is actually taken by using the camera.

34
00:02:42,730 --> 00:02:45,890
So now here let me show you the emulator.

35
00:02:45,940 --> 00:02:51,310
So first we want to actually make the save the feature button to be visible so I can see PTEN save the

36
00:02:51,310 --> 00:03:00,470
picture that said visibility view thought visible and then you want to make these search to be visible

37
00:03:00,470 --> 00:03:02,670
so I can say let's see.

38
00:03:02,670 --> 00:03:09,070
Bar that said visibility view that visible.

39
00:03:09,180 --> 00:03:12,070
We have the green bar so I can see a green seaport.

40
00:03:12,270 --> 00:03:14,610
That said visibility.

41
00:03:14,610 --> 00:03:17,720
And then I can actually make this one visible.

42
00:03:18,090 --> 00:03:22,350
And finally the blue sea bar that said visibility.

43
00:03:22,380 --> 00:03:24,120
Visible.

44
00:03:24,120 --> 00:03:24,600
Right.

45
00:03:24,810 --> 00:03:27,990
And then we got to also make the spot and Cherian image to be visible.

46
00:03:27,990 --> 00:03:37,950
So PETN Cherian the match between shed actually that set visibility Elizabeth let's run the application

47
00:03:37,950 --> 00:03:38,310
now.

48
00:03:38,320 --> 00:03:42,460
Let me stop the program and let's let me run the application now.

49
00:03:42,640 --> 00:03:50,030
Let me show you the emulator so now our application is the simulator and I forgot to actually make these

50
00:03:50,530 --> 00:03:52,330
takes we used to be invisible.

51
00:03:52,340 --> 00:03:57,030
So let's go back to our Android studio.

52
00:03:57,060 --> 00:04:00,660
So let's go back to android studio and let's scroll to the top here.

53
00:04:00,720 --> 00:04:02,630
Let's go to the uncreate Meffert.

54
00:04:02,850 --> 00:04:06,640
And this may make these takes it takes views to be also invisible.

55
00:04:06,750 --> 00:04:17,510
So it takes the red color value that said visibility of that invisible takes the green color value that

56
00:04:17,510 --> 00:04:25,600
sets visibility view that invisible takes the blue color value.

57
00:04:25,600 --> 00:04:29,560
That said visibility view that invisible.

58
00:04:30,150 --> 00:04:33,470
So let's go to our own activity Elizabeth Mefford.

59
00:04:33,810 --> 00:04:35,790
Let me find it on activity resort.

60
00:04:35,850 --> 00:04:37,870
So here it is or on activity is all.

61
00:04:38,030 --> 00:04:43,620
And now I can actually make these takes views to be visible inside these statements so I can see the

62
00:04:43,620 --> 00:04:54,200
exterior color value that said visibility view that visible takes the green color value that sets visibility

63
00:04:56,210 --> 00:05:03,270
view that visible takes the blue color value.

64
00:05:03,270 --> 00:05:08,120
That said visibility that actually viewed that visible.

65
00:05:08,120 --> 00:05:08,850
That's it.

66
00:05:08,880 --> 00:05:10,300
Let's run an application now.

67
00:05:10,320 --> 00:05:14,670
Let me show you the emulator.

68
00:05:14,850 --> 00:05:20,060
So now you can see that modification is right in here and we can only see the image and the button take

69
00:05:20,070 --> 00:05:20,790
a picture.

70
00:05:22,770 --> 00:05:27,190
Let's actually take it here and you can see these components are now visible.

71
00:05:27,270 --> 00:05:27,600
Right.

72
00:05:27,680 --> 00:05:30,470
You can actually interact with this image here.

73
00:05:30,570 --> 00:05:38,670
I can interact with these actually see parts I can share my image or I can actually save the picture

74
00:05:39,260 --> 00:05:39,930
right.

75
00:05:40,290 --> 00:05:41,170
So that's it.

76
00:05:41,340 --> 00:05:44,140
And I think that's enough for this tutorial.

77
00:05:44,190 --> 00:05:49,500
We actually created our production platy Android application that you can upload it to the Google Play

78
00:05:49,500 --> 00:05:50,540
store.

79
00:05:50,550 --> 00:05:51,780
So thank you very much for watching.

80
00:05:51,780 --> 00:05:56,070
If you have any questions please put the discussion in the course and then I'll do my best to answer

81
00:05:56,100 --> 00:05:57,150
all of your questions.

