Skip to content

Exercise 06 - Build your first app with multiple activities

Project name : E06 My first app

Introduction

The purpose of this exercise is to learn more about Activities (UI) and how to use Intents. Your target is to create a two activities.

Project

Create a new project for this tutorial – name it E06 My first app. Remember save your project in your android-exercises folder.

First Activity

Create a layout for first activity. This activity should have edit text and button views. User can edit message and it will be send to second activity when a button is clicked.

!Image 01

Second activity

This activity will show a message in text view. User can go back to first activity.

!Image 02

Test and push

Test your application in emulator, take screenshots and commit/push your project and screenshots back to JAMKIT/GitLab. Remember move your exercise/issue ticket from Doing to In Review in Issues Board and write your learning comments to issue comments.