1
00:00:00,630 --> 00:00:06,440
So as you can see here we have our requests as an argument here result called it intense data.

2
00:00:06,840 --> 00:00:13,640
And here first of all you're calling this super version the superclass version of this method superdad

3
00:00:13,730 --> 00:00:17,910
an activity result request code result called data.

4
00:00:18,270 --> 00:00:20,730
And here I have this sweet statement.

5
00:00:20,760 --> 00:00:26,940
As you can see here we have this statement and now we want to switch between the request codes that

6
00:00:26,940 --> 00:00:29,680
we actually receive OK.

7
00:00:29,830 --> 00:00:36,250
So first of all as you can see we have this image request code that is related only to the eye and the

8
00:00:36,370 --> 00:00:36,930
animal.

9
00:00:36,970 --> 00:00:44,370
OK so whenever the user clicks on this animal here on this animal it's going to open this up for this

10
00:00:44,470 --> 00:00:45,140
application.

11
00:00:45,210 --> 00:00:48,960
It's going to open up a directory so that we can actually select an image.

12
00:00:49,120 --> 00:00:53,830
So that request code is related to that specific image view.

13
00:00:53,830 --> 00:00:59,740
So if I click on back here we have a request code and here it's going to actually switch between the

14
00:00:59,740 --> 00:01:01,310
request codes.

15
00:01:01,360 --> 00:01:04,330
So here I am saying the case is request code.

16
00:01:04,450 --> 00:01:07,200
So if the request code is image request code.

17
00:01:07,290 --> 00:01:08,040
OK.

18
00:01:08,440 --> 00:01:12,760
And here I have an if statement if result code.

19
00:01:12,760 --> 00:01:17,270
So here we have this result called as an argument is equal to result.

20
00:01:17,290 --> 00:01:18,270
OK.

21
00:01:18,460 --> 00:01:22,860
As you can see here we have this constant in Android resolved or.

22
00:01:22,870 --> 00:01:28,290
And this means that we could actually we could successfully access the photos application or not and

23
00:01:28,650 --> 00:01:33,820
a directory in our internal storage and we could successfully select an image.

24
00:01:33,820 --> 00:01:34,330
OK.

25
00:01:34,390 --> 00:01:36,970
If the operation was successful.

26
00:01:36,970 --> 00:01:45,200
Now inside this if statement as you can see you or I we have an object of type you are a chosen image.

27
00:01:45,220 --> 00:01:48,820
So the name of this object is chosen image assignment operator.

28
00:01:48,970 --> 00:01:54,670
So here are you referring to these data here of type intense data that get data.

29
00:01:54,820 --> 00:01:58,640
So here it is going to actually select for example one of those images.

30
00:01:58,860 --> 00:01:59,330
Okay.

31
00:01:59,440 --> 00:02:01,220
And then it's going to assign that image.

32
00:02:01,240 --> 00:02:07,690
That path is assigned that path to this chosen image that is of type you or I.

33
00:02:07,870 --> 00:02:08,430
OK.

34
00:02:08,560 --> 00:02:15,400
So for example if I click on this animal and if I select this cat that you hear now of you actually

35
00:02:15,490 --> 00:02:19,870
sign that data to this chosen image that is of type you are right.

36
00:02:20,080 --> 00:02:26,740
And here we have a try catch exception because it may actually we may actually encounter some errors

37
00:02:26,800 --> 00:02:32,200
when we want to access our photos in our internal storage or our photos application.

38
00:02:32,350 --> 00:02:39,310
And here in Detroit try statement as you can see here I refer to the name of my bitmap object bitmap

39
00:02:40,030 --> 00:02:45,630
media store that images that media that map OK.

40
00:02:45,820 --> 00:02:49,530
First of all we need to actually specify the content resolver.

41
00:02:49,600 --> 00:02:55,860
So I referred to the name of this gets contd get content resolver method as you can see here.

42
00:02:56,290 --> 00:03:01,890
So in this way we can actually access the content resolver and for the second argument we need to specify

43
00:03:01,900 --> 00:03:03,440
the chosen image.

44
00:03:03,630 --> 00:03:08,770
As you can see here chose an image the image that we actually received from the internal storage or

45
00:03:08,890 --> 00:03:10,630
from the photos application.

46
00:03:10,630 --> 00:03:12,080
So this is very important.

47
00:03:12,250 --> 00:03:19,660
And now I can actually assign that image to our I am the animal image view or any animal that said Image

48
00:03:19,670 --> 00:03:21,520
bitmap bitmap.

49
00:03:21,520 --> 00:03:28,990
And here we have a camera statement whenever we actually encounter an error or we can actually output

50
00:03:29,350 --> 00:03:32,670
the description of that error to the log as you can see here.

51
00:03:32,860 --> 00:03:34,820
And here we have this break.

52
00:03:35,440 --> 00:03:40,680
And now we can actually break out of these three statements.

53
00:03:40,720 --> 00:03:47,700
So here we need to actually put an order ending curly brace that is related to this class.

54
00:03:47,710 --> 00:03:48,010
OK.

55
00:03:48,010 --> 00:03:53,400
So I mistakenly deleted the ending calibrates of our main activity class.

56
00:03:53,400 --> 00:03:58,080
So as you can see here this is the starting curly brace and this is the ending calibers.

57
00:03:58,090 --> 00:04:00,770
And if I delete it now we have an error.

58
00:04:00,910 --> 00:04:06,610
So I just need to put that in in calibers here and now let's actually run our project again and see

59
00:04:06,610 --> 00:04:07,510
what happens.

60
00:04:07,510 --> 00:04:12,280
So now as you can see our application is running on this emulator.

61
00:04:12,280 --> 00:04:18,280
And now if I actually select this image image here and it this time if I actually select this for example

62
00:04:18,280 --> 00:04:21,550
this fishier now we can see this image here.

63
00:04:21,580 --> 00:04:22,580
This fish.

64
00:04:22,950 --> 00:04:28,090
OK so now let's actually go back to our second activity class.

65
00:04:28,300 --> 00:04:33,610
And now here inside this class I want to actually declare some objects so I'm going to paste in some

66
00:04:33,610 --> 00:04:37,500
lines of code here and then I'm going to explain to you what's going on here.

67
00:04:37,510 --> 00:04:43,720
So as you can see here these are the lines of code that I actually pasted here takes the view text the

68
00:04:43,720 --> 00:04:43,960
name.

69
00:04:43,970 --> 00:04:50,800
So here I am actually declaring some objects of type takes you to name ATX the email th the username

70
00:04:50,980 --> 00:04:53,710
takes the password TXI the gender type.

71
00:04:53,860 --> 00:04:54,480
OK.

72
00:04:54,700 --> 00:05:01,530
And here as you can see we have this image view and you received so in our activity underlines that

73
00:05:01,530 --> 00:05:06,940
example as you can see here we have this error so I just need to click on this clear cashier.

74
00:05:06,960 --> 00:05:12,770
And now as you can see I didn't put our takes fuel for our genotype.

75
00:05:12,900 --> 00:05:18,900
So I just need to select these large takes here and then I need to put it at the center of this linearly

76
00:05:18,900 --> 00:05:24,630
out vertical and double click on it delete the text that it takes for you and for the ID just type in

77
00:05:24,630 --> 00:05:31,680
here to the gender type and then present Enter key on your keyboard.

78
00:05:31,710 --> 00:05:37,360
So here I just need to change this T-2 or capital-T gender gender type.

79
00:05:37,500 --> 00:05:42,480
And then I need to press on on my own and then I need to press on Enter key on my keyboard.

80
00:05:42,480 --> 00:05:47,530
So now it's actually assigned a value match parent for this text view.

81
00:05:47,760 --> 00:05:54,380
So I just selected and assigned a value match parent and then it's actually as you can see here as gravity's

82
00:05:54,450 --> 00:06:00,130
center horizontal and essentially find the gravity attributes and check the checkbox.

83
00:06:00,130 --> 00:06:03,230
That is that says Center underline horizontal.

84
00:06:03,410 --> 00:06:04,180
OK.

85
00:06:04,440 --> 00:06:10,290
So now inside our second activity class inside this uncreate Meffert I want to actually instantiate

86
00:06:10,620 --> 00:06:11,500
these objects.

87
00:06:11,520 --> 00:06:12,010
OK.

88
00:06:12,120 --> 00:06:16,290
So here I am going on pasting some lines of code and then I'm going explain to you what's going on here.

89
00:06:16,290 --> 00:06:21,810
So as you can see here these are the lines of code that I actually pasted here to fix the name.

90
00:06:21,810 --> 00:06:27,300
So here I am actually instantiating these objects that I actually declared inside the second activity

91
00:06:27,300 --> 00:06:34,230
class takes the name find view by ID or that I that use the name th the email find view by ID or ID

92
00:06:34,230 --> 00:06:37,650
that takes the email received.

93
00:06:37,680 --> 00:06:38,280
OK.

94
00:06:38,550 --> 00:06:45,720
So whenever the user press actually enters a value in cities for example in say this it's actually open

95
00:06:45,750 --> 00:06:51,340
our emulator inside is when the user enters a value inside this inside this.

96
00:06:51,480 --> 00:06:54,240
For example email textfield.

97
00:06:54,510 --> 00:06:59,180
We want to actually pass that information from this activity to the second activity.

98
00:06:59,340 --> 00:07:03,000
So if I actually said click on this add the values here.

99
00:07:03,030 --> 00:07:08,000
Now we dont see those values but we have to actually receive those values.

100
00:07:08,010 --> 00:07:14,220
So here you have these two the username or that ID that takes the user name takes the password find

101
00:07:14,220 --> 00:07:21,050
your ID or ID that the password to use the gender type find view by ID or that ID that use the gender

102
00:07:21,050 --> 00:07:21,690
type.

103
00:07:21,810 --> 00:07:23,280
I am received.

104
00:07:23,370 --> 00:07:25,040
Here are the ID thought.

105
00:07:25,080 --> 00:07:28,240
So here I can just type in any animal received.

106
00:07:28,290 --> 00:07:28,680
OK.

107
00:07:28,710 --> 00:07:30,560
So hopefully that makes sense.

108
00:07:30,660 --> 00:07:34,410
And now Im going to actually paste in some more lines of code here and then I'm going explain to you

109
00:07:34,410 --> 00:07:35,490
what's going on here.

110
00:07:35,490 --> 00:07:40,160
So now as you can see here these are the lines of code that I actually place that here.

111
00:07:40,290 --> 00:07:44,740
First of all I created actually an object of type Bondel.

112
00:07:44,820 --> 00:07:45,450
OK.

113
00:07:45,690 --> 00:07:48,180
And the name of this object is X.

114
00:07:48,570 --> 00:07:54,810
And as you can see here I put an assignment operator here and here I called this method get intent.

115
00:07:54,810 --> 00:07:59,240
So it can actually get at the intent object that is passed through this activity.

116
00:07:59,280 --> 00:08:02,210
OK good intent does get extras.

117
00:08:02,400 --> 00:08:08,850
So as you can see here inside our main activity class here for example as you can see here I am actually

118
00:08:08,850 --> 00:08:12,510
passing some information from this activity to the second activity.

119
00:08:12,570 --> 00:08:17,560
And here I am actually putting Dauth information inside this in intent object.

120
00:08:17,580 --> 00:08:18,050
OK.

121
00:08:18,110 --> 00:08:19,590
Intent to put extra.

122
00:08:19,740 --> 00:08:25,280
And these are the information that they actually passed on from this activity to the second activity.

123
00:08:25,560 --> 00:08:30,360
And these are the information that they actually passed from this activity to the second activity.

124
00:08:30,600 --> 00:08:36,780
And here inside the second class I am getting those information by calling these kids intend to Meffert

125
00:08:37,000 --> 00:08:38,670
that's get extras.

126
00:08:38,700 --> 00:08:45,350
So now I have those extras here as you can see I created some valuables of type trick.

127
00:08:45,420 --> 00:08:47,220
The first one is name.

128
00:08:47,310 --> 00:08:47,880
OK.

129
00:08:48,090 --> 00:08:50,270
Assignment operator extras.

130
00:08:50,310 --> 00:08:55,690
So here I am actually referring to these extras here that get strange.

131
00:08:55,920 --> 00:09:00,000
OK so because I want to actually get a value that is of type streambed.

132
00:09:00,060 --> 00:09:04,180
So here as you can see in say this me in a computer class I am passing this.

133
00:09:04,270 --> 00:09:06,960
It is the name that takes the twisted thing here.

134
00:09:07,050 --> 00:09:09,200
This is actually a string value.

135
00:09:09,210 --> 00:09:09,830
OK.

136
00:09:10,110 --> 00:09:12,020
And the key is name.

137
00:09:12,060 --> 00:09:18,180
So inside the second activity class you want to get that value that is that it's keys name.

138
00:09:18,210 --> 00:09:18,590
OK.

139
00:09:18,600 --> 00:09:20,310
So here I just need to get this through.

140
00:09:20,340 --> 00:09:21,160
Meffert OK.

141
00:09:21,330 --> 00:09:23,390
Extras that get strange.

142
00:09:23,820 --> 00:09:28,290
And here I want to get the e-mail as you can see extras that get streamed e-mail.

143
00:09:28,320 --> 00:09:33,410
So she must be the same as the key that I actually specify here.

144
00:09:33,510 --> 00:09:34,260
OK.

145
00:09:34,380 --> 00:09:40,500
Because I want to get that specific value that is passed by using this key.

146
00:09:40,590 --> 00:09:48,600
So it's the second activity class username extras that gets streamed username string password extras

147
00:09:48,840 --> 00:09:57,520
that gets the name password stealing gender type extras that get streamed gender type so hopefully that

148
00:09:57,520 --> 00:09:58,660
makes sense.

149
00:09:58,660 --> 00:10:02,690
And now as you can see I am actually getting more information.

150
00:10:02,770 --> 00:10:08,740
So here I just put those information inside these user interface components for example I can't just

151
00:10:08,740 --> 00:10:14,350
type in the name that said text.

152
00:10:14,590 --> 00:10:17,410
And here I can't just refer to this name here Tony.

153
00:10:18,030 --> 00:10:18,730
OK.

154
00:10:19,040 --> 00:10:25,750
And here I can just again type in the email that said text.

155
00:10:25,780 --> 00:10:28,740
And as you can see I can just refer to this e-mail here.

156
00:10:28,750 --> 00:10:38,590
You made 60 for example a user name you x the user name that said text.

157
00:10:38,590 --> 00:10:44,760
And here I can't just refer to this username here username string value as you can see and hear again

158
00:10:44,780 --> 00:10:52,960
again just typing takes the password takes the password that said text.

159
00:10:53,020 --> 00:11:01,400
And here again just typing password again for the gender type here as you can see I have this takes

160
00:11:01,410 --> 00:11:08,360
the gender type so I can just type in the gender type that said text.

161
00:11:08,620 --> 00:11:12,400
And as you can see here I can't just refer to that gender type here.

162
00:11:12,460 --> 00:11:14,340
Gender type.

163
00:11:14,560 --> 00:11:19,950
So now as you can see in say this main activity class I didn't actually pass the gender type.

164
00:11:20,020 --> 00:11:23,120
As you can see I didn't specify the gender type.

165
00:11:23,220 --> 00:11:30,250
And later I'm going to specify the gender type but for now remember that the gender type is actually

166
00:11:30,400 --> 00:11:34,220
an empty value or Cuvee assigned an empty value to the gender type.

167
00:11:34,240 --> 00:11:38,960
So it can actually pass an empty value from this activity to the second activity for now.

168
00:11:39,130 --> 00:11:39,710
OK.

169
00:11:40,000 --> 00:11:43,690
So let's actually run our project and see what happens.

170
00:11:43,690 --> 00:11:49,530
So before we actually run our project that's actually open our activity underline made that example

171
00:11:49,540 --> 00:11:50,250
here.

172
00:11:50,620 --> 00:12:00,390
And as you can see here for this it takes here as you can see if let's actually find the hint attributes.

173
00:12:00,640 --> 00:12:06,880
So as you can see here this is the hint attribute and here just for the password just type in here email.

174
00:12:07,030 --> 00:12:09,040
Ok please enter your e-mail.

175
00:12:09,520 --> 00:12:10,620
I did a mistake here.

176
00:12:10,720 --> 00:12:16,580
So now I actually fixed dismiss the here and now I'm going to run or run my project again here.

177
00:12:16,750 --> 00:12:21,070
So now as you can see our application is running on this emulator.

178
00:12:21,190 --> 00:12:29,170
So for the name just type in here for example John and for the email for example John want to free at

179
00:12:29,170 --> 00:12:35,640
sign and sign yahoo dot com and and for the username.

180
00:12:35,770 --> 00:12:38,140
I can't just typing for example Johnny.

181
00:12:38,800 --> 00:12:44,570
And for the past for for example a number here and here I want you to choose an image.

182
00:12:44,680 --> 00:12:50,970
So I just want to select this image here and here for example I want to choose this officiel.

183
00:12:51,370 --> 00:12:56,960
And then here I don't want to specify the gender type here for now.

184
00:12:57,140 --> 00:13:00,610
And I just need to click on this button here at the values.

185
00:13:00,850 --> 00:13:05,510
And now we can see these values here but we cannot see the image here.

186
00:13:05,530 --> 00:13:06,130
OK.

187
00:13:06,130 --> 00:13:10,900
So let's actually go back to our second activity that of a file here and now I want to actually get

188
00:13:10,900 --> 00:13:11,520
the image.

189
00:13:11,530 --> 00:13:17,110
So now I'm going to paste in some lines of code here and then I'm going to explain to you what's going

190
00:13:17,110 --> 00:13:18,080
on here.

191
00:13:18,520 --> 00:13:22,370
So as you can see here these are the lines of code that I actually pasted here.

192
00:13:22,390 --> 00:13:30,580
First of all I created an array of byte and the name of this era is both R8 and here I put an assignment

193
00:13:30,640 --> 00:13:32,280
operator extras.

194
00:13:32,290 --> 00:13:35,860
So here I actually l'affaire through these extras here.

195
00:13:36,370 --> 00:13:37,530
That gets right.

196
00:13:37,530 --> 00:13:39,010
Ari OK.

197
00:13:39,040 --> 00:13:42,540
So here I want to actually get the post Arey from these extras.

198
00:13:42,790 --> 00:13:48,190
And here inside this main activity that I will find here as you can see I have passing this image.

199
00:13:48,200 --> 00:13:52,230
I actually are converting that image to an array of bytes.

200
00:13:52,270 --> 00:13:52,910
OK.

201
00:13:53,110 --> 00:13:57,910
And here as you can see I am actually passing that byte Arrey to the second activity and this is the

202
00:13:57,910 --> 00:13:58,980
key picture.

203
00:13:58,990 --> 00:14:04,480
So here I just need to copy this key here and inside the second activity that Javal find here I just

204
00:14:04,480 --> 00:14:08,780
need to put that key here extras that gets poked at a picture.

205
00:14:09,010 --> 00:14:13,300
And here I created an object of type bitmap so bitmap bitmap.

206
00:14:13,300 --> 00:14:17,460
Assignment operator bitmap factory that de-code byte array.

207
00:14:17,710 --> 00:14:20,520
So here I need to pass this byte had a.

208
00:14:20,520 --> 00:14:21,040
Here.

209
00:14:21,150 --> 00:14:23,770
OK this is the point array for the first argument.

210
00:14:23,830 --> 00:14:29,410
The second argument specifies the index of the byte Auret that you want to actually get because I want

211
00:14:29,410 --> 00:14:31,030
to get the picture entirely.

212
00:14:31,030 --> 00:14:35,170
OK so this is important that you put the index 0 for this argument.

213
00:14:35,200 --> 00:14:35,820
OK.

214
00:14:36,050 --> 00:14:40,750
And it is going to actually specify the index of the post.

215
00:14:40,760 --> 00:14:46,190
Try that with the first index of the base rate that you want to actually get the information.

216
00:14:46,510 --> 00:14:50,940
And this is going to be the length of the boat at a boat at that length.

217
00:14:51,250 --> 00:14:55,110
And here I just need to refer to these items you received here.

218
00:14:55,120 --> 00:15:00,230
I received Dud's set image bitmap bitmap as you can see here.

219
00:15:00,580 --> 00:15:04,780
So now let's actually run our project here and let's see what happens.

220
00:15:04,780 --> 00:15:08,500
So now as you can see our application is running on this emulator.

221
00:15:08,530 --> 00:15:14,980
So for the name just type in here for example again John and here for the email I can just type in a

222
00:15:15,010 --> 00:15:19,510
value and here are for the user name.

223
00:15:19,510 --> 00:15:22,130
Again I can't just type in another value Johnny.

224
00:15:22,300 --> 00:15:28,930
And for the past for an added value and here I want to specify the image so I can select that image.

225
00:15:28,960 --> 00:15:35,000
And this time for example I want to select this line and I just need to click on this button.

226
00:15:35,140 --> 00:15:37,690
And now I can see this image here.

227
00:15:37,690 --> 00:15:45,300
So as you can see here now are we can see this image and we managed to successfully sent the information

228
00:15:45,370 --> 00:15:47,350
from this activity to another activity.

229
00:15:47,470 --> 00:15:53,680
But now I want to actually select a gender type for example main and then add that in the type to this

230
00:15:53,680 --> 00:15:54,440
activity.

231
00:15:54,640 --> 00:15:56,770
So let's actually see how we can do that.

232
00:15:57,070 --> 00:15:58,530
Let's see how we can do that.

233
00:15:58,540 --> 00:16:05,770
And inside this main activity that will find here and now for example here are inside these unchecked

234
00:16:05,770 --> 00:16:07,670
change our method here.

235
00:16:07,700 --> 00:16:10,880
I want to actually specify that.

236
00:16:10,930 --> 00:16:14,300
What kind of what kind of gender type the user selected.

237
00:16:14,320 --> 00:16:14,820
OK.

238
00:16:15,100 --> 00:16:22,120
So here I can't just create a switch statement and here I can just refer to this checked ID in order

239
00:16:22,120 --> 00:16:27,880
to actually differentiate between for example between these two radio buttons.

240
00:16:27,880 --> 00:16:28,380
OK.

241
00:16:28,630 --> 00:16:33,120
So here I am just typing r r that Id dot.

242
00:16:33,190 --> 00:16:38,860
So here inside Apprentice's I can just refer to this checked ID here because I want to actually switch

243
00:16:38,860 --> 00:16:44,230
between the IDs of the of the radio buttons inside a radio group.

244
00:16:44,230 --> 00:16:46,270
So here I can just type in case.

245
00:16:46,270 --> 00:16:56,980
So if the user clicks on the radio mail here now I want to check that are that Id dot that radio made.

246
00:16:57,540 --> 00:16:58,580
OK.

247
00:16:58,710 --> 00:17:00,880
Colin bridge.

248
00:17:01,570 --> 00:17:05,570
And if the user clicks for example check the radio.

249
00:17:05,670 --> 00:17:06,410
Female.

250
00:17:06,580 --> 00:17:11,870
Now I want to check that case are dot ID dot radio.

251
00:17:11,970 --> 00:17:14,850
Female colon break.

252
00:17:15,310 --> 00:17:22,770
So now here I can actually putting up some of the USB for example I can put in the logic.

253
00:17:22,770 --> 00:17:27,810
So here as you can see in our main activity class I have these gender's type here.

254
00:17:27,820 --> 00:17:29,000
That is of type string.

255
00:17:29,020 --> 00:17:29,730
OK.

256
00:17:29,980 --> 00:17:39,400
So now I can just typing gender type gender type assignment operator for example.

257
00:17:39,960 --> 00:17:42,390
And instead of double quotes I can just put in made.

258
00:17:42,810 --> 00:17:43,430
OK.

259
00:17:43,630 --> 00:17:47,530
And I need to put in a semi-colon at the end of my statement.

260
00:17:47,740 --> 00:17:56,190
And here I can just type in gender type assignment operator to double quotes female.

261
00:17:57,030 --> 00:17:58,520
OK semicolon.

262
00:17:59,140 --> 00:18:07,910
So now as you can see I have actually assigned the information that is required to this or type.

263
00:18:07,960 --> 00:18:14,920
So if they use their checks this radio button is made the radio button the value of this genotype type

264
00:18:14,920 --> 00:18:15,820
is going to be made.

265
00:18:16,030 --> 00:18:22,030
And if that use of text is female radio button the value of the same gender type is going to be female.

266
00:18:22,510 --> 00:18:28,480
And as you can see here in Anchal each Merfeld here as you can see I am actually passing these gender

267
00:18:28,510 --> 00:18:34,780
type here from this activity to the second activity this gender type String valuable.

268
00:18:34,780 --> 00:18:39,710
So inside insight is a second activity I am actually receiving that gender type.

269
00:18:39,820 --> 00:18:40,660
As you can see here.

270
00:18:40,750 --> 00:18:46,530
And and then I am actually putting that gender type in in RTX the gender type text view.

271
00:18:46,570 --> 00:18:50,020
So let's actually run our project and see what happens.

272
00:18:50,020 --> 00:18:56,230
So now as you can see our application is running on this emulator and here I want to actually specify

273
00:18:56,290 --> 00:18:56,710
a name.

274
00:18:56,710 --> 00:18:59,870
For example this name or this e-mail.

275
00:19:00,530 --> 00:19:01,150
OK.

276
00:19:01,330 --> 00:19:10,150
And for the username and just for example typing for example another rally you and other password.

277
00:19:10,700 --> 00:19:14,560
And for the image for example I can just select this image.

278
00:19:14,560 --> 00:19:17,190
And for example select is Dolfin.

279
00:19:17,290 --> 00:19:24,850
And here I can just select this male radio button and then at the values you can see that the gender

280
00:19:24,850 --> 00:19:25,760
type is made.

281
00:19:25,810 --> 00:19:26,270
OK.

282
00:19:26,320 --> 00:19:33,570
And if I go back again this time check this female here and at the values you can see this female here.

283
00:19:33,790 --> 00:19:34,690
OK.

284
00:19:35,140 --> 00:19:37,000
So hopefully that makes sense.

285
00:19:37,000 --> 00:19:41,250
And another important point that I want to talk about is that inside this main activity that I will

286
00:19:41,290 --> 00:19:48,910
find here after here after this start activity Meffert if we actually type in Finnish Let's actually

287
00:19:48,910 --> 00:19:51,070
build on our project and see what happens.

288
00:19:51,070 --> 00:19:54,140
So here our application Iran is running on the simulator.

289
00:19:54,250 --> 00:19:58,590
And if you actually click on this values here now we can see this image here.

290
00:19:58,620 --> 00:20:04,040
OK but now let's actually click on the back button here and see what happens.

291
00:20:04,060 --> 00:20:08,800
And now as you can see our application is actually destroyed from the memory.

292
00:20:08,950 --> 00:20:14,150
And that's because of this finish method here that I put here this finished if it is going to actually

293
00:20:14,780 --> 00:20:20,700
clear this activity from this memory and we cannot actually access that activity again.

294
00:20:20,710 --> 00:20:24,530
So here in our emulator whenever the user.

295
00:20:24,580 --> 00:20:32,190
So if you actually did on my project again here now you know emulate here if I click on this at the

296
00:20:32,190 --> 00:20:38,730
Values button here and if I can come back here now the first activity is actually gone and we cannot

297
00:20:39,140 --> 00:20:41,560
and we cannot see that activity here again.

298
00:20:41,670 --> 00:20:46,980
So that's that was another point that I wanted to talk about in this video.

299
00:20:47,040 --> 00:20:49,530
So I just need to delete this or finish my effort here.

300
00:20:49,830 --> 00:20:54,360
So I think that's enough for this application and for this tutorial.

301
00:20:54,360 --> 00:20:59,280
So if you have any questions please post the discussion in the course and then I'll do my best to answer

302
00:20:59,310 --> 00:21:00,470
all of your questions.

303
00:21:00,660 --> 00:21:04,650
Thank you very much for watching and I'll see you in the next tutorial.

