MAD Ch2 Part One
MAD Ch2 Part One
Chapter 2
Contents
➔ Generic UI Development
➔ Building Layout
➔ Describe Intents
➔ Describe Services
➔ Explain characteristics of mobile applications
➔ Successful mobile application development
Generic UI Development
Generic UI Development
➔ Creating a generic user interface (UI) involves leveraging the
platform's rich set of components and adhering to best
practices that ensure a responsive and user-friendly
experience.
➔ Here’s an overview of the key aspects involved in generic
UI development for Android apps.
• Understand the Android Platform Architecture
• Follow the Android App Development Process
• Write Clean and Readable Code
• Use Third-Party Libraries and Frameworks
• Optimize App Performance
• Ensure App Security
• Design User-Friendly and Accessible Interfaces
Understand the Android Platform Architecture
➔ Android architecture
contains a different
number of components
to support any Android
device’s needs.
➔ Understanding
Android’s architecture
is essential for
building efficient
applications.
Understand the Android Platform Architecture
cont…
Usage of onPause()
→ Pause running processes (e.g., media playback, animations,
sensor updates).
→ Save user progress (e.g., store form data, game state, or
draft messages).
→ Release resources (e.g., unregister listeners, stop
background threads).
→ Reduce power consumption (e.g., stop GPS tracking when not
needed).
onStop()