Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Dr.

Ziad EL BALAA Semester 1

I3350 - Lab 4

Exercise 1

Create a new application named MenuDemo that contains


- An Option Menu where the elements are: New, Parameters
- A Context Menu where the elements are: Delete, Share via. Share via contains
the sub-element: Bluetooth, WhatsApp
This menu is applied to the following list: "php", "xml", "c++", "java", "ios", "android"

Exercise 2

Create the application MenuCourse that contains the following interface:

When we click on the text "Course Code:" a Context Menu is displayed containing the
following items: I2201 and I2207.

When we click on the text "Credits:" a Context Menu is displayed containing the
following items: I3302 and I3350.

If we click on one of these items, the data displayed are:

For I2201 : For I2207 : For I3302 : For I3350 :


Course Name: HTML Course Name: Réseau Course Name: PHP Course Name: BDD
Course Code: I2201 Course Code: I2207 Course Code: I3302 Course Code: I3350
Credits: 3 Cts Credits: 5 Cts Credits: 4 Cts Credits: 4 Cts

The application also contains an Option Menu with elements: More... and Reset. The
element More... contains the sub items: Info 438 and Info 439.

If we click on one of these items, the data displayed are:

Pour info 438 : Pour info 439 :


Course Name: Android, Java Course Name: Final project
Course Code: Info 438 Course Code: Info 439
Credits: 6 Cts Credits: 6 Cts

N.B: the value of Course Code is the title of the item.

If we click on "Reset" the three fields will be empty.

I3350 1

You might also like