<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Android-app-using-Kotlin%2FC2%2FCreating-a-Registration-form%2FEnglish-timed</id>
		<title>Android-app-using-Kotlin/C2/Creating-a-Registration-form/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Android-app-using-Kotlin%2FC2%2FCreating-a-Registration-form%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Android-app-using-Kotlin/C2/Creating-a-Registration-form/English-timed&amp;action=history"/>
		<updated>2026-06-01T20:22:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Android-app-using-Kotlin/C2/Creating-a-Registration-form/English-timed&amp;diff=54020&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot; {| border=1 | &lt;center&gt;'''Time'''&lt;/center&gt; |  &lt;center&gt;'''Narration'''&lt;/center&gt;  |- |  00:01 |  Welcome to the''' Spoken Tutorial''' on''' Creating a Registration form.'''  |-...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Android-app-using-Kotlin/C2/Creating-a-Registration-form/English-timed&amp;diff=54020&amp;oldid=prev"/>
				<updated>2020-10-13T10:44:52Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; {| border=1 | &amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; |  &amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;&amp;lt;/center&amp;gt;  |- |  00:01 |  Welcome to the&amp;#039;&amp;#039;&amp;#039; Spoken Tutorial&amp;#039;&amp;#039;&amp;#039; on&amp;#039;&amp;#039;&amp;#039; Creating a Registration form.&amp;#039;&amp;#039;&amp;#039;  |-...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{| border=1&lt;br /&gt;
| &amp;lt;center&amp;gt;'''Time'''&amp;lt;/center&amp;gt;&lt;br /&gt;
|  &amp;lt;center&amp;gt;'''Narration'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:01&lt;br /&gt;
|  Welcome to the''' Spoken Tutorial''' on''' Creating a Registration form.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 00:06&lt;br /&gt;
|  In this tutorial we will learn to&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:09&lt;br /&gt;
|  Create a simple '''Registration''' form with '''TextView, Plain Text '''and''' Buttons.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:16&lt;br /&gt;
|  Run the '''Kotlin app''' to see the output in an '''Android''' phone&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:21&lt;br /&gt;
|  To record this tutorial, I am using&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:23&lt;br /&gt;
|  '''Ubuntu Linux 16.04''' operating system &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:28&lt;br /&gt;
|  '''Android Studio''' version 3.x and&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:32&lt;br /&gt;
|  '''Android Phone '''with minimum of '''Android''' OS version '''4.03'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:38&lt;br /&gt;
|  To follow this tutorial, you should have basic knowledge&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:43&lt;br /&gt;
| '''Java programming language '''and  '''Android Studio'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:49&lt;br /&gt;
|If not, then go through the relevant tutorials on this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  00:54&lt;br /&gt;
|  In this tutorial, we will design a form as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 00:59 &lt;br /&gt;
|  Let us open '''Android Studio'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:03&lt;br /&gt;
|  Click on '''Start a new Android Studio project '''to create a new''' project.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 01:09&lt;br /&gt;
|  Enter a new '''Application name''' as '''RegistrationForm.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 01:14&lt;br /&gt;
|  Repeat all the steps as we did earlier.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:21&lt;br /&gt;
|  Enter the '''Activity name''' as '''FirstActivity.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:25&lt;br /&gt;
|  Click on the '''Finish''' button at the bottom of the window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:29&lt;br /&gt;
|  Now the''' Android Studio''' '''IDE''' opens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:33&lt;br /&gt;
|  Click on '''activity underscore first dot xml''' file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:39&lt;br /&gt;
|  First we will delete the default '''Hello World TextView.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:44&lt;br /&gt;
|Select the '''TextView '''in the''' Layout Editor''' and press the '''Delete''' key on the keyboard.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 01:50&lt;br /&gt;
|  Now let us add a '''TextView.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:53&lt;br /&gt;
|Drag the '''TextView''' tool and place it in the center of the '''Layout Editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  01:59&lt;br /&gt;
|This '''TextView''' represents the '''label'''. Here, the text is not editable.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:06&lt;br /&gt;
|  In the '''attribute''' panel, change the '''text attribute''' of '''TextView''' as '''Registration Form''' and press''' Enter.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 02:14&lt;br /&gt;
|  Look at '''Text Appearance '''now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:17&lt;br /&gt;
|By default, it is '''Material dot Small.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:21&lt;br /&gt;
|Change the '''Text Appearance '''as''' Material dot Large '''to increase the font size for better clarity.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:29&lt;br /&gt;
|  Let us see how to align and resize a view in '''ConstraintLayout'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:35&lt;br /&gt;
|  There are four circles in the axes of the '''TextView''' which are called as '''constraints'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:42&lt;br /&gt;
|Each '''constraint''' represents a connection or alignment to another '''view''' or the '''parent layout'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:49&lt;br /&gt;
|The''' Layout Editor '''uses '''constraints''' to determine the position of a '''UI element''' within the layout.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  02:57&lt;br /&gt;
|  For resizing, we can drag the dot at the four corners of the '''TextView'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:03&lt;br /&gt;
|  Let us place the '''TextView''' at the top center of the '''Layout Editor.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:07&lt;br /&gt;
|  Click on the top circle of the '''TextView''' and drag towards the top.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:13&lt;br /&gt;
|It will now be aligned to the top of the '''Layout Editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:17&lt;br /&gt;
|  Next, click on the left circle of the '''TextView''' and drag towards the left border.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:23&lt;br /&gt;
|Click on the right circle of the '''TextView''' and drag towards the right border.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:28&lt;br /&gt;
|To remove a particular '''constraint''', keep the mouse pointer on the circle.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:33&lt;br /&gt;
|You can see the '''constraint''' highlighted in red color. Click on it. It will remove the '''constraint'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:40&lt;br /&gt;
|I’ll add the right '''constraint''' as I did before.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:44&lt;br /&gt;
|Now the '''TextView''' is placed at the top center.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:49&lt;br /&gt;
|  Now let us add two more '''TextViews'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:53&lt;br /&gt;
|Drag the '''TextView''' tool and place it below the '''Registration Form Textview''' in the '''Layout Editor.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 04:00&lt;br /&gt;
|  In the '''attribute''' panel, change the '''text attribute''' of '''TextView''' as '''Spoken Tutorial''' and press''' Enter.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:09&lt;br /&gt;
|Change the '''Text Appearance '''as''' Material.Medium'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:13&lt;br /&gt;
|  Click on the top circle of this '''TextView.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:15&lt;br /&gt;
|Then drag the arrow to the bottom circle of the '''Registration Form TextView.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:21&lt;br /&gt;
|Align the left and right of the''' TextView''' to the centre of the '''Layout Editor '''as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:28&lt;br /&gt;
|  Likewise drag the '''TextView''' tool for the '''label Name.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:33&lt;br /&gt;
|Place it below the '''Spoken Tutorial TextView.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 04:37&lt;br /&gt;
|  In the '''attribute''' panel, change the '''text attribute''' of '''TextView''' as '''Name''' and press''' Enter.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:44&lt;br /&gt;
|  Align the '''TextView''' to the left and top of the '''Layout Editor '''as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:50&lt;br /&gt;
|  Now click and drag the tool '''Plain Text '''from the''' Palette '''and place it below the''' Name TextView.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  04:58&lt;br /&gt;
|'''Plain text''' represents '''TextView''' in which you can edit the text.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:04&lt;br /&gt;
|  Note that in the '''Attributes panel''', it is specified as '''EditText'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:10&lt;br /&gt;
|It helps to enter any data in a '''text field. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:15&lt;br /&gt;
|In the '''Attributes panel''', remove the '''text attribute '''of '''PlainText''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:22&lt;br /&gt;
|Let it be empty. So that a '''user''' can enter the name during '''runtime'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:28&lt;br /&gt;
|  Now we will add '''constraints''' for this '''EditText.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:33&lt;br /&gt;
|  Change the '''ID''' of this '''EditText''' to a unique name say, '''nameTextBox.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:40&lt;br /&gt;
|Note the capital letters T and B in the name nameTextBox.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 05:46&lt;br /&gt;
|  Now we will add a''' Button''' in the '''Layout editor.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:50&lt;br /&gt;
|In the '''Palette''', click on '''Buttons.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  05:54&lt;br /&gt;
|On the side panel, find a tool called '''Button '''and drag it to the center of the '''Layout Editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:01&lt;br /&gt;
|  Now add the '''constraints''' for this '''tool''' as demonstrated here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:06&lt;br /&gt;
|  Now change the '''ID''' of this '''Button''' as '''mySendButton.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:11&lt;br /&gt;
|Change the '''text''' property to '''Click Here,''' which will change the text of the button in the '''Layout Editor.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 06:20&lt;br /&gt;
|  Now our design of the '''Registration form''' is ready to '''run'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:24&lt;br /&gt;
|  Connect your '''Android''' phone to the '''USB''' port of your computer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:29&lt;br /&gt;
|  In the '''Android Studio interface''', click on the''' Play button''' at the top right, to '''run '''the '''app'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:36&lt;br /&gt;
|Follow the same steps as we did earlier to '''run''' the '''app '''on the phone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:43&lt;br /&gt;
|  Select the '''RegistrationForm icon '''on the phone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:47&lt;br /&gt;
|We can see the design of the '''interface''' on the phone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:51&lt;br /&gt;
|If you want to change the position of the '''tools''', drag and align accordingly.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  06:56&lt;br /&gt;
|  Let us go back to the '''Android Studio interface'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:00&lt;br /&gt;
|  Now go to '''FirstActivity dot kt''' file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:04&lt;br /&gt;
|Here we will add the code for getting the text input from the '''user'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:10&lt;br /&gt;
|  In '''onCreate method''', at the end press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:14&lt;br /&gt;
|First declare a '''variable “name” '''of''' type string.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:21&lt;br /&gt;
|Assign an empty '''string''' as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:25&lt;br /&gt;
|  Now on the next line type as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:29&lt;br /&gt;
|This assigns the value of '''nameTextBox '''to''' '''the''' variable name '''by calling its '''text method'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:36&lt;br /&gt;
|Note that, the '''nameTextBox '''is the '''ID '''which we have given to the''' EditText.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:43&lt;br /&gt;
|This is equivalent to '''getText()''' in '''Java'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:47&lt;br /&gt;
|Now the '''name variable''' will get any input given by the user.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:53&lt;br /&gt;
|  Next we will write the code for the '''Button'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  07:56&lt;br /&gt;
|Type the '''comment statement''' as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:00&lt;br /&gt;
|Whenever the button is clicked, some action has to be executed. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:04&lt;br /&gt;
|For this, we have a '''method''' called '''setOnClickListener.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:09&lt;br /&gt;
|  Type the code as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:12&lt;br /&gt;
|You may see an error or warning in the code, which is highlighted in red color.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:18&lt;br /&gt;
|To resolve this, keep the cursor on the''' code''' and press '''Alt+Enter''' keys. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:24&lt;br /&gt;
|Select the appropriate option to quick fix the errors.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:29&lt;br /&gt;
|Errors like '''missing imports, variable assignments, missing reference''' etc are fixed using this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:38&lt;br /&gt;
|Any '''code''' written between these '''blocks''' get executed when the button is clicked.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:44&lt;br /&gt;
|  Type the below '''code''' within the '''mySendButton dot setOnClickListener '''block.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:51&lt;br /&gt;
|This '''code''' will store the value which the user has entered in the '''textbox '''to the '''variable name.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  08:59&lt;br /&gt;
|'''Toast''' is a '''class''' which provides a popup message with the given text for the given duration.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:06&lt;br /&gt;
|'''Show method '''will show the output.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 09:09&lt;br /&gt;
|  All the '''codes''' are available in the '''Code files''' link of this tutorial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:13&lt;br /&gt;
|You can make use of it when you are practicing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:17&lt;br /&gt;
|  Run the '''app '''to see the output in the phone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:22&lt;br /&gt;
|  In the '''Android phone '''window, launch the '''RegistrationForm app'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:27&lt;br /&gt;
|  I will enter a name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:30&lt;br /&gt;
|Click on the button '''&amp;quot;CLICK HERE&amp;quot;''' to see the output.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:34&lt;br /&gt;
|The name we typed in '''EditText''' is shown as popup message.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:39&lt;br /&gt;
|  Switch back to the '''Android studio interface.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:43&lt;br /&gt;
|  We will create a new activity to send the text to the new page when the button is clicked.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:50&lt;br /&gt;
|  On the left panel, in the''' Project explorer, '''right click on the '''app '''folder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  09:57&lt;br /&gt;
|From the menu, select '''New '''and then '''Activity '''and then '''Empty Activity.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:04&lt;br /&gt;
|  '''Configure Activity''' window pops up.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:08&lt;br /&gt;
|Enter the name of the '''activity''' as '''SecondActivity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:13&lt;br /&gt;
|Keep all the remaining fields as default. Click on '''Finish '''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:20&lt;br /&gt;
|  The '''IDE''' creates a new '''activity.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:23&lt;br /&gt;
|The code file is '''SecondActivity dot kt '''and the design file is '''activity underscore second dot xml'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:33&lt;br /&gt;
|  Now let us design the '''user interface''' for''' Second Activity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:38&lt;br /&gt;
|  Click on '''activity underscore second dot xml'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:43&lt;br /&gt;
|Drag a '''TextView''' to the center of the '''layout editor.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:48&lt;br /&gt;
|Join the '''constraint circles''' as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  10:53&lt;br /&gt;
|Change the '''Text Appearance '''as''' Material dot Large '''to increase the font size for better clarity.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:01&lt;br /&gt;
|  Change the '''ID property''' to some unique name say '''“welcomeTextView”.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:08&lt;br /&gt;
|  When the '''user''' clicks on the '''Click Here''' button from '''first activity''', the '''second activity''' is launched.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|11:15&lt;br /&gt;
|  Click on '''FirstActivity dot kt.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:19&lt;br /&gt;
|  Write the '''code''' as shown below the '''Toast''' line.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:23&lt;br /&gt;
|New '''activities''' are launched through '''objects''' called '''Intent.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:28&lt;br /&gt;
|This''' function''' creates a '''intent''' containing the '''SecondActivity''' as '''parameter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:34&lt;br /&gt;
|  Next, we will send the data that we collected on the '''first activity''' to the''' second activity.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:41&lt;br /&gt;
|  Type the '''code '''after the '''Intent object''' as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:46 &lt;br /&gt;
|The '''putExtra method''' adds the '''EditText's''' value to the '''intent'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:52&lt;br /&gt;
|In this '''method''', we pass the data by giving it a specific '''reference name'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  11:57&lt;br /&gt;
|This is indicated by the '''variable Refername.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:01&lt;br /&gt;
|We can access this data in the new '''activity''' by giving the '''reference name'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:07&lt;br /&gt;
|This '''code''' will send our data in '''name variable '''to next activity.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:13&lt;br /&gt;
|  Type, '''startActivity within parenthesis intent'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:18&lt;br /&gt;
|This will start the new '''activity''' when the button is clicked.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:22&lt;br /&gt;
|  Our task is to obtain this data in the '''SecondActivity.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:27&lt;br /&gt;
|  Click on the '''SecondActivity dot kt.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:30&lt;br /&gt;
|  Inside '''onCreate method''' at the end press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:35&lt;br /&gt;
|Create a new '''empty string variable''' as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:40&lt;br /&gt;
|  Next we will write code to get the '''name''' passed from '''FirstActivity.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:46&lt;br /&gt;
|Type the code as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  12:49&lt;br /&gt;
|This '''method''' will save the '''name''' that was received from the '''FirstActivity '''in the '''variable obtainedName.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:57&lt;br /&gt;
|  Type '''welcomeTextView.text''' equal to within double quotes '''Welcome''' plus  '''obtainedName'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:05&lt;br /&gt;
|Here we change the '''text attribute''' of '''welcomeTextView'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:10&lt;br /&gt;
|  Run the '''Kotlin app''' to see the output on the phone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:15&lt;br /&gt;
|  Enter a name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  03:17&lt;br /&gt;
| Click on the button '''“Click Here” '''to see the output.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:21&lt;br /&gt;
| We will see an output as '''Welcome''' and the name which we have given in the '''EditTextView'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:28&lt;br /&gt;
|  This brings us to the end of this tutorial. Let us summarize.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:33&lt;br /&gt;
|  In this tutorial we learnt to&lt;br /&gt;
&lt;br /&gt;
Create a '''Registration form''' with '''TextView, Plain Text '''and''' Buttons.'''&lt;br /&gt;
|-&lt;br /&gt;
|  13:42&lt;br /&gt;
|  Run the '''Kotlin''' '''App''' to see the output in an '''Android''' phone&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:47&lt;br /&gt;
|  As an assignment,&lt;br /&gt;
&lt;br /&gt;
In the '''activity_second.xml, '''add two '''TextView''' in the '''layout editor'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  13:56&lt;br /&gt;
|  In the first '''TextView,''' change the text attribute to '''Registration Form '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  14:01&lt;br /&gt;
|  In the second '''TextView,''' change the text attribute to '''Spoken Tutorial'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  14:07&lt;br /&gt;
|  Remove the existing '''constraint''' and align the '''tools'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  14:10&lt;br /&gt;
|  Run the '''Kotlin''' '''App''' to see the output.&lt;br /&gt;
|-&lt;br /&gt;
|  14:15&lt;br /&gt;
|  After completing the assignment, your '''app''' should show the output as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  14:22&lt;br /&gt;
|  The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  14:30&lt;br /&gt;
|  The''' Spoken Tutorial Project''' Team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:40&lt;br /&gt;
| Please post your timed queries in this forum. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:44&lt;br /&gt;
| Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.&lt;br /&gt;
&lt;br /&gt;
More information on this mission is available at this link.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:56&lt;br /&gt;
| The '''Android app '''and the script for this tutorial was contributed by Abhishek Shah.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  15:02&lt;br /&gt;
| And this is Nirmala Venkat along with the Spoken Tutorial team from IIT Bombay, signing off. &lt;br /&gt;
&lt;br /&gt;
Thanks for watching.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	</feed>