Quotora is a futuristic, dark tech-themed Random Quote Generator Android application built with Kotlin 2.0, Jetpack Compose (Material 3), and MVVM Architecture for the CodeAlpha Android Application Development Internship.
The app delivers inspirational, motivational, technology, and philosophical quotes with glowing neon cyan and electric purple accents, edge-to-edge sharp aesthetic, local JSON asset fallback, live REST API quote fetching, bookmarking, and native Android sharing.
| Home Screen | Saved Quotes |
|---|---|
![]() |
![]() |
| Settings Screen | About Screen |
|---|---|
![]() |
![]() |
- Random Quotes on Demand: Instant generation of quotes with author name and category tag.
- Animated Card Transitions: Smooth cross-fade and scale animations when loading new quotes.
- 7 Curated Categories: Filter by Motivation, Tech/Innovation, Life, Success, Wisdom, Philosophy, and Leadership.
- Category Filter Chips: Scrollable interactive chips for instant category filtering.
- Live REST API Fetching: Automatically fetches dynamic quotes from live endpoints (
Quotable API/ZenQuotes/DummyJSON). - Offline Fallback Engine: Built-in 50+ curated quotes in
assets/quotes.json. If network is unavailable or API fails, the app seamlessly falls back to offline storage without disrupting user experience.
- Save favorite quotes with one tap.
- Dedicated Favorites Screen with real-time search bar to filter by quote text, author, or category.
- Copy quote text or share directly from saved list.
- Purge/Clear options with confirmation dialogs.
- Obsidian Dark Cyber Theme: Edge-to-edge layout with sharp cut-corner cards (
CutCornerShape). - Neon Glow Accents: Vivid Neon Cyan (
#00F2FE), Electric Purple (#9D4EDD), and Cyber Lime accents. - 3 Color Themes: Switch between Dark Tech, Cyber Neon, and Matrix Green in Settings.
- Share Button: Share quotes natively via any social or messaging app (
Intent.ACTION_SEND). - Copy to Clipboard: Quick copy with Toast feedback.
- Settings Screen: Toggle theme modes, REST API vs Offline engine, default category preferences.
- About Screen: Breakdown of app architecture, tech stack, developer bio, and CodeAlpha internship credits.
Quotora strictly adheres to modern Android app development best practices:
- Language: Kotlin 2.0
- UI Framework: Jetpack Compose with Material Design 3
- Architecture: MVVM (Model-View-ViewModel) + Clean Data Layer
- State Management: Kotlin
StateFlow,collectAsState, andViewModel - Data Persistence:
SharedPreferences(Favorites & Preferences) +GsonJSON Serializer - Networking:
HttpURLConnectionwith Kotlin Coroutines (Dispatchers.IO) - Async Execution: Kotlin Coroutines & Flows
Quotora/
βββ app/
β βββ src/
β β βββ main/
β β β βββ assets/
β β β β βββ quotes.json # Local offline 50+ quote dataset
β β β βββ java/com/maheswara660/quotora/
β β β β βββ data/
β β β β β βββ model/Quote.kt # Data Model with Gson annotations
β β β β β βββ repository/QuoteRepository.kt # Asset & REST API fallback engine
β β β β βββ ui/
β β β β β βββ components/CyberComponents.kt # Custom headers, chips, bottom nav
β β β β β βββ screens/
β β β β β β βββ HomeScreen.kt # Interactive quote card & generator
β β β β β β βββ FavoritesScreen.kt # Bookmarked quotes with search
β β β β β β βββ SettingsScreen.kt # Theme & REST API settings
β β β β β β βββ AboutScreen.kt # App & internship metadata
β β β β β βββ theme/
β β β β β β βββ Color.kt # Cyber neon color palette
β β β β β β βββ Theme.kt # Custom CutCorner themes
β β β β β βββ viewmodel/QuoteViewModel.kt # MVVM StateFlow manager
β β β β βββ MainActivity.kt # Host Activity with Scaffold & Crossfade
β β β βββ AndroidManifest.xml
β βββ build.gradle.kts
βββ README.md
- Android Studio Ladybug (2024.2.1+) or IntelliJ IDEA with Android SDK.
- JDK 17 or higher.
- Android Device or Emulator running Android 7.0 (API level 24) or higher.
git clone https://github.com/Maheswara660/CodeAlpha_RandomQuoteGenerator.git
cd CodeAlpha_RandomQuoteGenerator
./gradlew assembleDebugThe compiled APK will be generated at:
app/build/outputs/apk/debug/app-debug.apk
This project is created for educational and internship portfolio demonstration.



