Courses / Mobile Application Development (CDE-315) – BS CS 5th Semester
Assignment 1 (Weeks 1–4) – "My Department" Multi-Screen App and Platform Report
Week 4 – iOS: Architecture and Framework · 600 min read
Assignment 1 – "My Department" Multi-Screen App and Platform Report
Covers: Weeks 1–4 (mobile apps and platforms, HTML5 for mobiles, Android architecture, iOS architecture; Labs 1–4) CLOs: CLO-1 (discuss architectures and frameworks), CLO-2 (develop apps with current tools) Type: Individual · Marks: 20 · Suggested due: end of Week 5
Part A – Practical (14 marks)
Build an Android app "My Department" (Java, XML Views, min SDK 24) with three activities:
| Screen | Requirements |
|---|---|
| 1. Home | Department name and logo (drawable), a short welcome text from strings.xml, buttons Students and About |
| 2. Students | Shows one student card at a time – photo (res/drawable), name and roll number (strings.xml); Next/Previous buttons cycle through at least 4 students (Lab 3 technique) |
| 3. Student Detail / About | Opened with an explicit intent; receives the selected student's name and roll number with putExtra; has a Back button (finish()) and returns a short "Viewed" result to the previous screen (Activity Result API) |
Also:
- Add an Urdu translation (
values-ur/strings.xml) for all screen titles and buttons. - Log every lifecycle callback of all activities with the tag
A1and include a Logcat screenshot showing the sequence when you open Students → Detail → Back. - Create a mobile-friendly web page version of the Home screen (HTML5 + CSS, viewport tag, one media query, a
tel:and amailto:link) – Lab 2 technique.
Part B – Written report (6 marks, 2–3 pages)
- Draw the Android software stack and the iOS layer architecture side by side; explain how each layer of one platform corresponds to the other. (3)
- Your department wants an app for both Android and iOS with a small budget. Compare native, hybrid, cross-platform and PWA approaches in a table and recommend one with reasons. (2)
- Explain what you observed in the Logcat lifecycle sequence and why
onStop()of the first activity was called but notonDestroy(). (1)
Deliverables
- Zipped project (delete the
buildfolders) or GitHub link, the debug APK, the HTML/CSS files, and the report (PDF) with screenshots.
Rubric
| Criterion | Excellent | Satisfactory | Weak |
|---|---|---|---|
| Three activities and navigation (4) | All screens work, data passed and returned correctly | Navigation works, minor issues | Missing screens or crashes |
| Resources (3) | All text/images from resources, Urdu version complete | Most from resources | Hard-coded text |
| Lifecycle evidence (2) | Correct log sequence with explanation | Log only | Missing |
| Web page (2) | Responsive, viewport, media query, links | Partly responsive | Not mobile-friendly |
| Code quality (3) | Clear names, comments, no warnings | Readable | Messy |
| Report (6) | Accurate diagrams, reasoned comparison | Mostly correct | Incomplete |
Academic integrity: you may use tutorials and AI assistants for learning, but you must understand and explain every line in the viva. Copied projects get zero.
Previous: Week 4 Lab 4 – Create Two Activities and Move Between Them · Next: Week 5 Theory – Application Development with Windows Mobile; Eclipse; Fragments
All lessons in Mobile Application Development (CDE-315) – BS CS 5th Semester