Skip to content
Projekte

Über uns

Kotlin Multiplatform sample that uses Gemini Generative AI APIs. Runs on Android, iOS, Desktop and Wasm based Compose for Web.

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

kotlin-version

Kotlin/Compose Multiplatform sample to demonstrate Gemini Generative AI APIs (text and image based queries). Uses Generative AI SDK.

Running on

Set your Gemini API key (gemini_api_key) in local.properties (which should also contain your Android sdk.dir).

Building

The project is split into per-platform modules:

  • androidApp — Android application
  • wearApp — Wear OS application
  • composeApp — shared Kotlin Multiplatform code plus the Desktop and Web (Wasm) entry points
  • iosApp — iOS application (Xcode project)

Run each target with:

  • Android — ./gradlew :androidApp:installDebug (or run the androidApp configuration from Android Studio)
  • Wear OS — ./gradlew :wearApp:installDebug
  • Desktop — ./gradlew :composeApp:hotRunDesktop (or packageDistributionForCurrentOS to build a native installer)
  • Web (Wasm) — ./gradlew :composeApp:wasmJsBrowserDevelopmentRun
  • iOS — open iosApp/iosApp.xcodeproj in Xcode and run

Related posts:

Screenshots

Android

Assistant Chat

iOS

Wear OS

Wasm based Compose for Web

Full set of Kotlin Multiplatform/Compose/SwiftUI samples

Ähnliche Projekte entdecken

Wird geladen…