Add Android app skeleton (Kotlin/Compose, Catppuccin Mocha theme)
Full app scaffold wired to the backend: onboarding, content-length picker, map screen (permission flow + text-search fallback), guide screen with a swipeable place-card stack driven by on-device TTS narration and a 60s re-scan loop, place detail screen with mute/favorite controls, favorites (Room-backed), and settings. Hilt for DI, Retrofit+kotlinx.serialization for the API client, DataStore for onboarding/content-length prefs, FusedLocationProviderClient for location. The 2GIS MapKit integration is isolated behind map/DgisMapView.kt (currently a placeholder) since its exact Maven coordinates need confirming from the 2GIS developer portal. Verified by actually building it: installed a minimal Android SDK (platform 34 + build-tools, no emulator) and JDK 17 locally, then ran :app:compileDebugKotlin, :app:assembleDebug (produced a real debug APK), and :app:lintDebug (0 errors, 44 non-blocking warnings, mostly "newer dependency version available"). Caught and fixed two real bugs this way: a wrong Maven artifact for the Retrofit kotlinx.serialization converter, and missing ExperimentalMaterial3Api opt-in. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
ca28c93daf
commit
c5596870fb
59 changed files with 2695 additions and 0 deletions
32
android/app/src/main/res/values/strings.xml
Normal file
32
android/app/src/main/res/values/strings.xml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name">guideCity</string>
|
||||
|
||||
<string name="onboarding_title">Welcome to guideCity</string>
|
||||
<string name="onboarding_body">guideCity is a walking tour guide. Grant location access and we\'ll find interesting places nearby and narrate their history as you explore Moscow on foot.</string>
|
||||
<string name="onboarding_ok">OK</string>
|
||||
|
||||
<string name="content_length_title">How much detail would you like?</string>
|
||||
<string name="content_length_short">Short</string>
|
||||
<string name="content_length_medium">Medium</string>
|
||||
<string name="content_length_long">Long</string>
|
||||
<string name="content_length_continue">Continue</string>
|
||||
|
||||
<string name="map_location_permission_rationale">guideCity needs your location to find nearby places. You can also search for a place by name instead.</string>
|
||||
<string name="map_grant_permission">Grant location access</string>
|
||||
<string name="map_search_placeholder">Search for a place instead…</string>
|
||||
|
||||
<string name="guide_no_places_nearby">No places found nearby yet.</string>
|
||||
<string name="guide_favorite_add">Add to favorites</string>
|
||||
<string name="guide_favorite_remove">Remove from favorites</string>
|
||||
<string name="guide_mute">Mute narration</string>
|
||||
<string name="guide_unmute">Resume narration</string>
|
||||
|
||||
<string name="favorites_title">Favorites</string>
|
||||
<string name="favorites_empty">No favorites yet. Tap the heart icon on a place to save it here.</string>
|
||||
|
||||
<string name="settings_title">Settings</string>
|
||||
<string name="settings_content_length_label">Content length</string>
|
||||
|
||||
<string name="place_not_found">Place not found.</string>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue