0% found this document useful (0 votes)
25 views4 pages

I3350 - Lab 3

This document outlines 5 exercises for an Android app development lab. The exercises include: 1) creating an app with a list view to select and display courses, 2) creating an auto-complete text field to suggest courses, 3) creating an app to add words to a list view, 4) creating an app with a spinner to display course lists in a list view, and 5) creating an app to select items from a list view and display them in a grid view. The document provides details on the user interfaces and functionality required for each exercise.

Uploaded by

Elias Khoury
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views4 pages

I3350 - Lab 3

This document outlines 5 exercises for an Android app development lab. The exercises include: 1) creating an app with a list view to select and display courses, 2) creating an auto-complete text field to suggest courses, 3) creating an app to add words to a list view, 4) creating an app with a spinner to display course lists in a list view, and 5) creating an app to select items from a list view and display them in a grid view. The document provides details on the user interfaces and functionality required for each exercise.

Uploaded by

Elias Khoury
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Dr.

Ziad EL BALAA Semester 1

I3350 - Lab 3

Based on the following list: course (Info 400, Info 402, Info 403, Info 407, Info 409, Info
430, Info 433, Info 439)

Exercise 1

Create a new application named ListCours that allows selecting an item from the list
(ListView) and displaying it in a field (TextView)

Exercise 2

Based on the following list: course (Info 400, Info 402, Info 403, Info 407, Info 409, Info
430, Info 433, Info 439, Application Web, Application Java, Programmation Impérative
I, Programmation Impérative II, XML, PHP, HTML, XHTML)

Create a new application named AutoCompleteCours that allows entering one letter and
the application propose a list of courses that begin with this letter.

I3350 1
Dr. Ziad EL BALAA Semester 1

Exercise 3

Create an application GenerateListView that allows entering words and displays these
words in a ListView.

This application contains:


• 1 EditText : to enter words
• 2 buttons : “Enter” et “Show List”

When we click on the button “Enter”


• If the EditText is empty, display a Toast “The EditText is empty”
• Else add the word in a list and delete it from the EditText
When we click on the button “Show List”
• If the list is empty, display a Toast “The List is empty”
• Else, display the entered words in a ListView

I3350 2
Dr. Ziad EL BALAA Semester 1

Exercise 4

Create an application SpinnerToList that allows select en item from a spinner and
displays the corresponding content in a ListView.

This application contains:


• 1 Spinner : to select an item
• 1 ListView : to display the corresponding content

When we select an item from the Spinner List (L1, L2, L3, M1) the list of corresponding
courses is displayed in a ListView.

The corresponding courses are:


For L1 = {"Info 100", "Info 102", "Info 103"};
For L2 = {"Info 200", "Info 202", "Info 203"};
For L3 = {"Info 300", "Info 302", "Info 303"};
For M1 = {"Info 400", "Info 402", "Info 403"};

I3350 3
Dr. Ziad EL BALAA Semester 1

Exercise 5

Create an application ListToGrid that allows selecting items from the ListView and
displays them in a GridView.

This application contains:


• 1 ListView : to select items
• 1 button : “Show Selection”
• 1 GridView : to display selection

When we click on the button “Show Selection”, the selected items of the ListView will
be displayed in a GridView.

I3350 4

You might also like