Skip to content
프로젝트

소개

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

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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

관련 프로젝트 살펴보기

불러오는 중…