1
00:00:00,270 --> 00:00:05,500
So as you can see here these are the lines of code that I actually pasted here.

2
00:00:05,640 --> 00:00:12,210
So in line for 49 as you can see here I created an object of type intent.

3
00:00:12,210 --> 00:00:12,820
OK.

4
00:00:13,020 --> 00:00:14,820
And the name of this object is data.

5
00:00:15,030 --> 00:00:21,150
So I want to actually get some data from this activity and send those data to the main activity.

6
00:00:21,150 --> 00:00:28,660
OK so intent data assignment operator new intent and in line 40 as you can see here.

7
00:00:28,830 --> 00:00:35,490
I want to actually get the value that is actually assigned to these EDT name here and as you can see

8
00:00:35,530 --> 00:00:37,910
through this editor named Eddie Tex.

9
00:00:38,030 --> 00:00:44,550
All you want to actually get the value that is inside of this text field and at Want to actually pass

10
00:00:44,550 --> 00:00:46,880
that value to the main activity.

11
00:00:47,040 --> 00:00:51,410
So here I need to put a type in data that puts extra.

12
00:00:51,690 --> 00:00:57,930
So if I put extra actually access to arguments and the first argument is going to be the key.

13
00:00:58,290 --> 00:01:01,670
So the key is going to be a request text fields name.

14
00:01:01,860 --> 00:01:07,560
So I actually created this key in line 15 as against it here inside the second activity class.

15
00:01:07,560 --> 00:01:13,160
The quest text fields name and I assign this value request name to this keep.

16
00:01:13,440 --> 00:01:20,430
OK so this is going to be the key and the value and the second argument is going to be the actual value.

17
00:01:20,430 --> 00:01:26,270
So this is the actual value that you want to pass from this activity to the main activity.

18
00:01:26,430 --> 00:01:29,440
So it is the name that takes that to history.

19
00:01:29,550 --> 00:01:34,650
So the second argument the type of the second our argument must be of type student.

20
00:01:34,860 --> 00:01:39,010
So as you can see here are the type of the document it must be strange.

21
00:01:39,060 --> 00:01:40,270
So I need to actually type in.

22
00:01:40,290 --> 00:01:42,740
It is the name that takes that to a stream.

23
00:01:42,960 --> 00:01:49,800
Ok so in this way I am actually getting this change of value of the EDT name and in line 41 as you can

24
00:01:49,800 --> 00:01:53,390
see here again data that puts extra.

25
00:01:53,600 --> 00:01:56,770
OK so this time I want to actually get this edited e-mail.

26
00:01:56,940 --> 00:02:00,600
So the first argument is going to be the key which is going to be all types things right.

27
00:02:00,630 --> 00:02:02,420
Request takes will e-mail.

28
00:02:02,550 --> 00:02:07,650
So I created this key here in line 16 as you can see the quest text with e-mail.

29
00:02:07,800 --> 00:02:11,450
And I assigned this by the request made to this a constant.

30
00:02:11,450 --> 00:02:11,870
Right.

31
00:02:11,880 --> 00:02:13,010
So that is key.

32
00:02:13,300 --> 00:02:17,300
So and he and as you can see the second argument again must be of type screen.

33
00:02:17,520 --> 00:02:20,090
So if he made that get takes that was strange.

34
00:02:20,240 --> 00:02:20,870
OK.

35
00:02:20,880 --> 00:02:25,200
So in this way I'm actually getting the string value that that is actually inside of this textfield

36
00:02:25,300 --> 00:02:28,350
it it's made an inline 42.

37
00:02:28,380 --> 00:02:34,580
Again as you can see data that puts extra as against can see here.

38
00:02:34,590 --> 00:02:37,350
So again I want to actually get this username.

39
00:02:37,350 --> 00:02:39,600
So the quest text with username.

40
00:02:39,720 --> 00:02:41,460
So this is the key comma.

41
00:02:41,670 --> 00:02:47,690
And now I want to actually get the get the string value that is inside of these it is to use that name.

42
00:02:47,790 --> 00:02:51,100
So it has a user name that get text that was think.

43
00:02:51,270 --> 00:02:56,870
So it's going to actually convert the de-value that is inside of this text field into a string value.

44
00:02:57,210 --> 00:02:59,000
And then we can actually get that value.

45
00:02:59,010 --> 00:03:00,000
OK.

46
00:03:00,420 --> 00:03:05,040
So here in line 43 again they put extra requests.

47
00:03:05,120 --> 00:03:06,740
Textfield password.

48
00:03:06,820 --> 00:03:10,480
Come on EDT passport that get text that was 3.

49
00:03:10,680 --> 00:03:12,490
So now we want you to get the passport.

50
00:03:12,510 --> 00:03:13,180
OK.

51
00:03:13,290 --> 00:03:17,670
So this is going to be the key right and now in line 44.

52
00:03:17,670 --> 00:03:20,160
I need to put this card here said resolved.

53
00:03:20,220 --> 00:03:24,220
And this method actually accepts two argument as you can see here.

54
00:03:24,330 --> 00:03:26,260
The first argument is going to be resolved.

55
00:03:26,280 --> 00:03:26,670
OK.

56
00:03:26,670 --> 00:03:33,740
So this is actually a code that specifies that we can actually spit successfully pass this data to the

57
00:03:34,030 --> 00:03:34,940
main activity.

58
00:03:35,070 --> 00:03:35,600
OK.

59
00:03:35,820 --> 00:03:37,720
So resolved OK is very important.

60
00:03:37,740 --> 00:03:43,570
And this means that it is OK to actually pass the pass the data to the main activity.

61
00:03:43,890 --> 00:03:49,440
Karma as you can see here and the second argument is going to be that data which is off the intent.

62
00:03:49,440 --> 00:03:50,650
Right.

63
00:03:50,680 --> 00:03:53,430
So an England 44 45.

64
00:03:53,430 --> 00:03:55,410
They actually put the Smurfit here finish.

65
00:03:55,410 --> 00:04:02,370
Get rid of the second activity and we can actually it's like actually pressing the back button on the

66
00:04:02,370 --> 00:04:02,780
device.

67
00:04:02,790 --> 00:04:03,400
OK.

68
00:04:03,440 --> 00:04:06,520
This finish is going to actually get rid of the second activity.

69
00:04:06,750 --> 00:04:08,740
And then we can actually see the main activity.

70
00:04:08,770 --> 00:04:13,830
OK so now let's actually go back to our main activity the double fight here.

71
00:04:13,980 --> 00:04:19,320
So in order to get that data up that is actually passed from the second activity class we need to actually

72
00:04:19,350 --> 00:04:26,370
override MFL that we actually inherit from these from the activity class so that if it is an activity

73
00:04:26,450 --> 00:04:29,130
is locked inside this main activity class as you can see.

74
00:04:29,160 --> 00:04:34,560
I want to actually write a method in order to get that data up that we want to actually receive from

75
00:04:34,560 --> 00:04:35,980
the second activity class.

76
00:04:36,000 --> 00:04:36,560
OK.

77
00:04:36,690 --> 00:04:44,020
So inside this meeting with the class again just typing on activity result as you can see here the autocomplete

78
00:04:44,100 --> 00:04:49,760
feature of the Android studio is helping me to select this method an activity result.

79
00:04:49,770 --> 00:04:53,220
So I just need to press not enter key on my keyboard.

80
00:04:53,580 --> 00:04:56,130
So as you can see here now we actually override it.

81
00:04:56,130 --> 00:05:00,760
The Smurfette on activity result and this move it actually accepts the argument.

82
00:05:00,920 --> 00:05:06,560
The first argument is going to be the request code I need to actually create a request code that is

83
00:05:06,560 --> 00:05:11,870
actually specific to these bits and move here because I want to do this.

84
00:05:11,880 --> 00:05:18,020
Intent OK because I want to actually move to the second activity by clicking on the speedier and move

85
00:05:18,020 --> 00:05:18,460
right.

86
00:05:18,470 --> 00:05:23,980
So here as you can see here inside this method inside this uncle Meffert then the user clicks on disputes

87
00:05:24,110 --> 00:05:27,380
and move on to actually move to the second activity right.

88
00:05:27,440 --> 00:05:32,330
So he had to actually create or request code that is specific to this intent.

89
00:05:32,450 --> 00:05:39,180
And this means that it is actually exclusive or only exclusive to this intent.

90
00:05:39,200 --> 00:05:42,740
And this happens only when the user clicks on this button.

91
00:05:42,800 --> 00:05:43,750
Right.

92
00:05:43,790 --> 00:05:50,810
So here in our main activity class I need to actually create our request code so private the access

93
00:05:50,810 --> 00:05:53,430
modified of the request card is going to be private.

94
00:05:53,880 --> 00:05:58,480
And this is going to be our final static.

95
00:05:58,970 --> 00:06:01,280
And this is going to be of type integer.

96
00:06:01,280 --> 00:06:07,760
So here I want to actually create our request code in our request called constant.

97
00:06:07,760 --> 00:06:14,420
So here the access modify it is going to be private and this constant is going to be actually static

98
00:06:14,930 --> 00:06:15,770
final.

99
00:06:15,980 --> 00:06:16,540
OK.

100
00:06:16,760 --> 00:06:22,970
And this constant is going to be of type integer and the name of this constant is going to be a request

101
00:06:22,970 --> 00:06:26,860
code request code move.

102
00:06:27,270 --> 00:06:27,760
OK.

103
00:06:27,860 --> 00:06:32,620
Assignment operator and here I can get you to assign the value of.

104
00:06:32,960 --> 00:06:36,360
And that I need to put a semicolon at the end of my that my statement here.

105
00:06:36,380 --> 00:06:38,760
OK request code move.

106
00:06:38,780 --> 00:06:46,340
So now inside my uncle method instead of actually typing this Meffert start activity I need to change

107
00:06:46,340 --> 00:06:52,580
this method to start activity for a result because I want to get the data up from the second activity

108
00:06:53,120 --> 00:06:55,220
and put those data inside the main activity.

109
00:06:55,220 --> 00:06:55,590
OK.

110
00:06:55,670 --> 00:07:01,550
So I need to actually instead use this method start activity for exact because I want to actually move

111
00:07:01,850 --> 00:07:05,180
from this activity to the second activity in order to get some data.

112
00:07:05,360 --> 00:07:10,100
And then when the user clicks on that Dunbarton or when the user clicks on the news that presses the

113
00:07:10,430 --> 00:07:16,430
button on the device that they're going to actually pass those data to a data that they're actually

114
00:07:16,430 --> 00:07:23,130
inside of those that were put inside of those text fields are going to be passed to this activity.

115
00:07:23,210 --> 00:07:24,890
So I need to overwrite this.

116
00:07:24,950 --> 00:07:31,160
I need to actually call this method start activity for result and insight Apprentice's here I need to

117
00:07:31,160 --> 00:07:33,360
actually pass two arguments.

118
00:07:33,440 --> 00:07:35,870
The first argument is going to be of type intent.

119
00:07:35,870 --> 00:07:41,960
So this is the instance that I actually created in 1934 and the second argument is going to be a request

120
00:07:41,960 --> 00:07:42,300
code.

121
00:07:42,350 --> 00:07:44,370
So request code move.

122
00:07:44,440 --> 00:07:44,680
OK.

123
00:07:44,690 --> 00:07:48,010
That is exclusive only to this intent object.

124
00:07:48,020 --> 00:07:48,630
OK.

125
00:07:48,890 --> 00:07:50,110
This is very important.

126
00:07:50,330 --> 00:07:53,980
And here inside this unactivated resolved Meffert as you can see.

127
00:07:53,990 --> 00:07:56,280
All right it is Smurfit in our class.

128
00:07:56,360 --> 00:08:01,760
In order to get the data that we received from the second activity even the user clicks on these are

129
00:08:02,060 --> 00:08:02,390
done.

130
00:08:02,390 --> 00:08:06,930
But in all of that use that a oppressor's on the back button on the device.

131
00:08:06,980 --> 00:08:07,430
OK.

132
00:08:07,520 --> 00:08:13,290
So here as you can see we want to actually pass this data as you can see here to the first activity.

133
00:08:13,520 --> 00:08:14,100
OK.

134
00:08:14,170 --> 00:08:20,570
So the main activity so that's what actually created this object which is the intent and the name of

135
00:08:20,570 --> 00:08:22,060
this object is data.

136
00:08:22,100 --> 00:08:28,010
And here I am actually putting these extras to this object in data as you can see data to put extra

137
00:08:28,670 --> 00:08:36,260
the name data that put extra EDT emailed data that put extra Editta username data that put extra Editta

138
00:08:36,260 --> 00:08:40,090
password and then I actually called this Meffert set result.

139
00:08:40,190 --> 00:08:43,950
So this if it accepts two arguments the first argument is going to be resolved.

140
00:08:43,970 --> 00:08:44,340
OK.

141
00:08:44,360 --> 00:08:49,970
And this means that it is OK to pass the data from this activity to domain activity and the second argument

142
00:08:49,970 --> 00:08:51,830
is going to be the data object.

143
00:08:51,860 --> 00:08:55,880
And actually I actually called this it's finished so it's going to try to get rid of this second activity

144
00:08:55,880 --> 00:09:01,110
class and then we can actually see that our main activity class.

145
00:09:01,180 --> 00:09:01,910
OK.

146
00:09:02,200 --> 00:09:08,790
So let's actually go back into our main activity class here and is an activity result.

147
00:09:08,800 --> 00:09:16,100
I need to actually create an if statement so if I request code so as you can see here we have this request

148
00:09:16,270 --> 00:09:18,760
as an argument of this method right.

149
00:09:18,820 --> 00:09:20,470
The first argument is request code.

150
00:09:20,530 --> 00:09:27,040
So if request code so here I am actually referring to this request code here that I receive as an argument

151
00:09:27,040 --> 00:09:34,480
from the Smurfit If request code is equal to this request code that is actually related to this intent

152
00:09:34,900 --> 00:09:35,820
as you can see here.

153
00:09:35,860 --> 00:09:36,390
OK.

154
00:09:36,490 --> 00:09:41,120
Request code move that he had as you can see I created this request got here 1000.

155
00:09:41,140 --> 00:09:41,970
Right.

156
00:09:42,010 --> 00:09:51,270
So if request code is related to this request called here request code move and here I need to put an

157
00:09:51,360 --> 00:09:55,200
ant operator here and the logical operator.

158
00:09:55,200 --> 00:10:04,810
And here I want to put another condition and result code is equal it is equal to the result.

159
00:10:04,830 --> 00:10:05,810
OK.

160
00:10:06,270 --> 00:10:12,420
And this is mean that this means that we successfully got the data from the second activity and here

161
00:10:12,450 --> 00:10:15,380
inside the curly braces of this statement.

162
00:10:15,420 --> 00:10:22,480
Now I can actually put the logic in order to receive the data from the second activity class and put

163
00:10:22,500 --> 00:10:26,500
footless data into my text views as you can see here I have some textbooks here.

164
00:10:26,750 --> 00:10:34,440
And I want to actually for example get to get these TXI the name of the user for example enters our

165
00:10:34,440 --> 00:10:38,120
name as you can see here into this a text field here.

166
00:10:38,190 --> 00:10:44,520
I want to actually get that value and put it here in say this activity underlined minute example and

167
00:10:44,520 --> 00:10:45,680
put it here.

168
00:10:46,260 --> 00:10:48,410
It is up to the name here.

169
00:10:48,450 --> 00:10:50,060
This is actually our text view.

170
00:10:50,400 --> 00:10:54,740
OK so I want to actually get those data and put them here into my text.

171
00:10:55,020 --> 00:11:00,270
So inside is main activity that I will fight here at INSIDE is an activity result here as you can see

172
00:11:00,270 --> 00:11:02,260
I have this if statement here.

173
00:11:02,370 --> 00:11:07,500
So inside this if statement I want to actually paste in some lines of code here and then I'm going to

174
00:11:07,500 --> 00:11:10,120
explain to you what's going on here.

175
00:11:10,140 --> 00:11:15,270
So as you can see here these are the lines of code that actually pasted here.

176
00:11:15,420 --> 00:11:21,330
So in line forty nine I actually created a variable which is of types 3 and so on.

177
00:11:21,330 --> 00:11:23,800
So here I want to actually hold a value right.

178
00:11:23,880 --> 00:11:28,060
So strange main assignment operator as you can see here.

179
00:11:28,080 --> 00:11:32,890
So here I want to actually assign a value to this value bet which is of types 3.

180
00:11:32,910 --> 00:11:33,410
Right.

181
00:11:33,420 --> 00:11:39,390
So student name assignment operator and here as you can see I actually referred to the name of this

182
00:11:39,390 --> 00:11:46,430
data object that I receive as an argument from just an activity these are Smurfit so data that get streamed

183
00:11:46,530 --> 00:11:47,590
extra.

184
00:11:47,640 --> 00:11:52,350
So you want to actually get the string value that you received from the second activity.

185
00:11:52,350 --> 00:11:52,850
OK.

186
00:11:53,070 --> 00:11:59,970
So here as against inside Apprentice's of this Meffert I am actually referring to the name of that key

187
00:12:00,090 --> 00:12:03,230
that I created inside the second activity class.

188
00:12:03,240 --> 00:12:08,880
So inside the second activity class as you can see I created these keys here and I actually declared

189
00:12:09,090 --> 00:12:17,310
these keys as public and static so I can refer to these keys to the name of these keys by just referring

190
00:12:17,310 --> 00:12:22,180
to the name of this class and put a dot notation and then the name of these keys.

191
00:12:22,230 --> 00:12:27,780
For example I can actually access this request textfield name by just typing a second activity that

192
00:12:27,900 --> 00:12:29,300
request a Sweetney.

193
00:12:29,670 --> 00:12:30,200
OK.

194
00:12:30,300 --> 00:12:36,750
So as you can see here I put these keys here in order to relate these keys with these values so that

195
00:12:36,960 --> 00:12:43,170
inside this main activity class by just referring to these keys I can access these values as you can

196
00:12:43,170 --> 00:12:43,860
see here.

197
00:12:43,860 --> 00:12:49,810
So for example is a request textfield name is related to this EDT name here.

198
00:12:49,830 --> 00:12:56,670
As you can see it is unique that it takes that with string or for example this request text field.

199
00:12:56,730 --> 00:12:59,700
Email is related to this EDT inmate.

200
00:12:59,910 --> 00:13:06,560
This one request takes with username is related to this Editta username and this one request textfield

201
00:13:06,570 --> 00:13:11,130
password is related to this it is e-passport OK.

202
00:13:11,420 --> 00:13:17,090
So inside is main activity class as conceived by you referred to the name of that key second activity

203
00:13:17,090 --> 00:13:18,900
that the request takes with name.

204
00:13:19,010 --> 00:13:26,240
And now I can actually access the value that is related to this key and assign that value to this named

205
00:13:26,240 --> 00:13:27,410
variable.

206
00:13:27,410 --> 00:13:34,010
So when the user enters a value insight this takes real here and when the user clicks and is done button

207
00:13:34,040 --> 00:13:41,100
or the back button on the device on the device that value is going to be assigned to this.

208
00:13:41,120 --> 00:13:47,230
It takes this up to evaluable and then I can actually assign that value that is assigned to the two

209
00:13:47,240 --> 00:13:49,160
that's valuable into the station name.

210
00:13:49,250 --> 00:13:49,790
OK.

211
00:13:50,150 --> 00:13:55,940
So inside this main activity class as you can see I created this variable name and here you want to

212
00:13:56,030 --> 00:13:57,190
assign that value.

213
00:13:57,190 --> 00:14:03,140
That is a sign that the user actually entered on the textfield incite the activity Underland second

214
00:14:03,140 --> 00:14:04,570
that examine as you can see here.

215
00:14:04,820 --> 00:14:07,800
And I can actually assign That's value to the name variable.

216
00:14:08,120 --> 00:14:13,990
So in line first as you can see here I created another variable and the name of this value but is strange

217
00:14:14,070 --> 00:14:18,450
and the name of this variable is e-mail that the data table of this value is strange.

218
00:14:18,710 --> 00:14:21,550
So strange e-mail assignment operator.

219
00:14:21,560 --> 00:14:24,800
Again I'll refer to the name of this argument which is of.

220
00:14:24,860 --> 00:14:28,750
Right data that gets 3 extra.

221
00:14:28,920 --> 00:14:31,260
OK I want to get a string value.

222
00:14:31,370 --> 00:14:31,820
Again.

223
00:14:31,950 --> 00:14:36,040
I actually referred to the name of this key that is inside of this class.

224
00:14:36,050 --> 00:14:40,310
Second activity that request text field e-mail.

225
00:14:40,370 --> 00:14:45,450
So I want to get the value that is related to this keep the quest text via e-mail.

226
00:14:46,010 --> 00:14:53,510
And again in line 51 I created another valuable stream username assignment operator data.

227
00:14:53,540 --> 00:14:59,930
So here I referred to the name of this object which is of type and data that get string extra.

228
00:14:59,930 --> 00:15:02,090
So here I want to get a string value.

229
00:15:02,300 --> 00:15:05,690
So second activity that requires textfield username.

230
00:15:05,690 --> 00:15:11,740
So I want to get the user name it username value as you can see he had this key is related to the user

231
00:15:11,740 --> 00:15:13,190
and a value right.

232
00:15:13,340 --> 00:15:20,240
And in line 52 I created another variable and the name of this by the above is password assignment operator

233
00:15:20,270 --> 00:15:26,530
data that gets an extra second activity at the request textfield password.

234
00:15:26,690 --> 00:15:29,020
OK so I'll refer to the name of this key.

235
00:15:29,090 --> 00:15:31,620
So this key is related to the EDT passport.

236
00:15:31,650 --> 00:15:33,860
Insight is activity underly second not exempt.

237
00:15:33,860 --> 00:15:40,250
OK so now inside this main activity class and inside this unactivated result I am actually getting those

238
00:15:40,250 --> 00:15:43,410
values and I am assigning those values to these variables.

239
00:15:43,430 --> 00:15:50,670
So here I can just simply assign those values that are assigned to these valuables to these takes.

240
00:15:50,690 --> 00:15:53,820
So for example TXI the name that's a text name.

241
00:15:54,050 --> 00:15:59,750
As you can see here this name that I actually created in 9:49 inside is an activity result.

242
00:15:59,760 --> 00:16:08,200
Or for example in 955 55th the email that said text M8 in 956 takes the user name that said text user

243
00:16:08,200 --> 00:16:14,450
name as you can see here takes the password that said text password right.

244
00:16:14,570 --> 00:16:18,770
So now let's actually run our project and see what happens.

245
00:16:18,770 --> 00:16:24,000
So now as you can see here my application is actually running on this emulator here.

246
00:16:24,110 --> 00:16:29,780
So let's actually click on the spot in here move the second activity and here for the name I can actually

247
00:16:29,780 --> 00:16:38,870
assign a value for example Jack and the e-mail is going to be for example Jack at sign yahoo dot com

248
00:16:40,670 --> 00:16:48,980
or a D in the username for example is going to be for example Jackey and the password is going to be

249
00:16:48,980 --> 00:16:50,230
for example a value.

250
00:16:50,360 --> 00:16:51,690
OK it doesn't really matter.

251
00:16:51,890 --> 00:16:56,740
And as you can see here the input type is password so we can see can't see this value here.

252
00:16:56,750 --> 00:16:57,410
Right.

253
00:16:57,410 --> 00:17:01,510
So now I just need to click on the stand button here as you can see.

254
00:17:01,790 --> 00:17:05,800
And now we can see these values here in my main activity class.

255
00:17:06,020 --> 00:17:06,980
OK Jack.

256
00:17:07,160 --> 00:17:10,670
And here as you can see this is the e-mail deck at yahoo dot com.

257
00:17:10,670 --> 00:17:13,290
Jacki this is the username and this is the password.

258
00:17:13,580 --> 00:17:14,090
OK.

259
00:17:14,240 --> 00:17:15,260
So not just that.

260
00:17:15,290 --> 00:17:21,020
For example if I assign a value here or somebody who's here as you can see here as an e-mail or username

261
00:17:22,040 --> 00:17:28,910
and value for 4:04 or if I click on dispatch button here we cannot see those values here.

262
00:17:28,940 --> 00:17:34,170
When you actually click on this back button those logic those lodges are not going to be executed.

263
00:17:34,190 --> 00:17:41,260
I actually put these logics of actually getting the data as you can see here creating an object of type

264
00:17:41,260 --> 00:17:47,660
or intent on putting those values into these data object and calling this method set these out.

265
00:17:47,960 --> 00:17:52,800
And this a finished method as you can see these ladies are actually inside of this unclick Meffert.

266
00:17:52,850 --> 00:17:55,180
We have another API.

267
00:17:55,250 --> 00:18:00,160
We have a piece regarding our clicking on the back button on the device.

268
00:18:00,380 --> 00:18:07,270
And we could actually use those a.p eyes in order to use this logic when to use it for example a presence

269
00:18:07,280 --> 00:18:09,080
on the back button on the device.

270
00:18:09,080 --> 00:18:13,940
I'll talk more about a piece in the intermediate Android or section of the course.

271
00:18:14,090 --> 00:18:20,240
But for now are just notice that if you put these logic's here you put this logic here and this logic

272
00:18:20,240 --> 00:18:26,840
is going to be executed only of any use that presses this button here not dispatch with another device.

273
00:18:26,870 --> 00:18:29,180
We have some API.

274
00:18:29,360 --> 00:18:36,200
So we could actually use a set that actually inside and the documentation in order to actually do something

275
00:18:36,210 --> 00:18:38,730
when the user clicks on his back button on the device.

276
00:18:38,770 --> 00:18:43,850
And for this application I just wanted to show you how we can actually get some data from the second

277
00:18:43,850 --> 00:18:48,620
activity and put them in your main activity or your first activity OK.

278
00:18:48,840 --> 00:18:55,790
So later on we will be creating more complex applications and you will be familiar of it more API in

279
00:18:55,850 --> 00:18:56,570
Android.

280
00:18:56,660 --> 00:18:57,310
OK.

281
00:18:57,560 --> 00:19:00,360
So thank you very much for watching.

282
00:19:00,710 --> 00:19:03,290
And I think that's enough for the studio audience.

283
00:19:03,320 --> 00:19:07,940
If you have any questions please post the discussion in the course and then I'll do my best to answer

284
00:19:08,240 --> 00:19:09,460
all of your questions.

285
00:19:09,680 --> 00:19:12,650
Thank you very much for watching and I'll see you in the next year Tony.

