Saturday, September 6, 2025

MCA 3 Kotlin & Android Development Glossary

 Prepared By : Prof. Uday Shah (HOD-IT)


Kotlin & Android Development Glossary

 Notifications

  • NotificationManager : System service to manage and display notifications.
  • NotificationCompat.Builder : Helper class for building notifications with backward compatibility.
  • Custom Notification : User-defined design for notifications.
  • Media Style Notification : Notification with media controls (play, pause, etc.).
  • Progress Notification : Shows progress (e.g., download percentage).
  • Persistent Notification (Foreground Service) : Always running notification, tied to ongoing service.
  • PendingIntent : Token for future action triggered by notification.
  • TaskStackBuilder : Helps create proper back stack for activities launched from notifications.

 Data Persistence & Storage

  • SharedPreferences : Key-value storage for small data.
  • Internal Storage : Private file storage inside app’s memory.
  • External Storage : Shared file storage (SD card or device storage).
  • SQLite Database : Local relational database for structured storage.
  • CRUD (Create, Read, Update, Delete) : Basic database operations.
  • Room Database : Modern SQLite wrapper with simpler API and lifecycle support.

Networking & APIs

  • Permissions : App rights (e.g., internet, storage, camera).
  • Web Services : Online services used to fetch/send data.
  • HTTP Requests : Communication with servers using methods (GET, POST, etc.).
  • Retrofit : Type-safe HTTP client for Android.
  • JSON (JavaScript Object Notation) : Lightweight data format for APIs.
  • XML (Extensible Markup Language) : Alternative structured data format.

 Modern Kotlin Tools

  • Moshi : Library for JSON parsing in Kotlin.
  • Gson : Google’s JSON parsing library.
  • Coroutine :Lightweight concurrency mechanism for async tasks.
  • suspend Function : Function that can be paused/resumed in coroutines.
  • Dispatchers (IO/Main/Default) : Define where coroutine runs (background or main thread).
  • withContext : Switch coroutine context.

App Publishing & Monetization

  • App Monetization : Earning from apps (ads, in-app purchases, paid apps).
  • Versioning : Managing app versions (versionCode, versionName).
  • App Signing : Securing APK with digital key before publishing.
  • Google Play Publishing : Releasing apps on Play Store.

Jetpack & Components

  • Jetpack : Android libraries for modern app development.
  • CameraX : Jetpack library for camera apps.
  • Sensor Manager: Manages device sensors (accelerometer, gyroscope, etc.).
  • ViewModel : Stores and manages UI-related data.
  • LiveData : Observable data holder for UI.
  • WorkManager : Schedules background tasks reliably.

Core Kotlin Concepts

  • val : Immutable variable (cannot change).
  • var: Mutable variable (can change).
  • fun : Function keyword.
  • class: Blueprint for objects.
  • object : Singleton instance or object declaration.
  • data class : Class for storing data with auto-generated methods.
  • sealed class : Restricts class hierarchy for controlled type handling.
  • interface : Defines a contract of methods to be implemented.
  • enum class : Defines constants in structured form.
  • Extension Function: Adds new function to existing class.
  • Null Safety (? and !!) : Prevents null pointer exceptions.
  • Elvis Operator (?:) : Returns default value if null.
  • Lambda : Anonymous function for concise code.
  • Higher-order Function : Function that takes/returns another function.