Skip to content

Using Gemini Starter Template in Android Studio I have developed similar app with extra images and latest dependencies and model.

Notifications You must be signed in to change notification settings

prathamngundikere/Implementing_GeminiAPI_in_Android_App

Repository files navigation

Implementing Gemini API in an Android App

This repository serves as a refined version of the Android Studio Gemini Starter template. The default template often introduces issues such as outdated dependency versions or incompatible models. To address these, I have made all the necessary adjustments to ensure smooth functionality.

Features

  • Seamless Gemini API Integration: Updated dependencies for compatibility.
  • Clean Project Setup: Resolved configuration issues for a streamlined development experience.
  • Fully Functional Example: A working implementation of Gemini API, ready to use.

How to Use

Follow these steps to get started:

  1. Clone the Repository
    Clone this repository to your local machine using the following command:

    git clone https://github.com/prathamngundikere/Implementing_GeminiAPI_in_Android_App.git
  2. Set Up API Key

    • Navigate to the local.properties file in the project root.

    • Add your API key as shown below:

      apikey="your_api_key_here"
  3. Sync the Project

    Open the project in Android Studio and sync the Gradle files.

  4. Run the Application

    Build and run the project on your desired Android device or emulator

Screenshots

Home Screen Adding Prompt Final Result

Why Use This Repository?

This repository eliminates the headaches often encountered with the default Gemini Starter template by ensuring:

  • Updated dependency versions.
  • Compatible model usage.
  • Clear instructions for setup and deployment.

Feel free to fork this project, open issues, or submit pull requests for further improvements!

About

Using Gemini Starter Template in Android Studio I have developed similar app with extra images and latest dependencies and model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages