Skip to content
المشاريع

حول

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

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…