From d984bfb38dfa7e60cc6bdc1b3ccd1ca10213d352 Mon Sep 17 00:00:00 2001 From: AKASH KOBAL <98216083+AkashKobal@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:06:03 +0530 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad8e2c5..ddf2a2f 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,23 @@ ## This repository outlines how you can use Android Studio to build an application that implements Generative AI using the [Google AI SDK](http://ai.google.dev/tutorials/android_quickstart?utm_source=android&utm_medium=referral). It lays out the process in three steps. Before beginning, ensure that you are running the [latest preview version of Android Studio](https://developer.android.com/studio/preview). ### Step 1: Build on the New Project template for AI -_Start Android Studio and open a new project using File > New Project. Select the new Gemini API starter template._ +_Start Android Studio and open a new project using File > New Project. Select the new Gemini API starter template._
+ +![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20211255.png)
+![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20211317.png)
+ ### Step 2: Generate the API key -_In the next step of the wizard, after you choose a project name and location, provide an API key for authentication to the Gemini API. If you don't have a Gemini API key, click the link provided in the wizard to navigate to Google AI Studio and request a new key. Once completed, copy your new API key back into the wizard. Click Finish._ +_In the next step of the wizard, after you choose a project name and location, provide an API key for authentication to the Gemini API. If you don't have a Gemini API key, click the link provided in the wizard to navigate to Google AI Studio and request a new key. Once completed, copy your new API key back into the wizard. Click Finish._
+ +![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20211353.png)
+![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20223922.png)
+![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20224046.png)
### Step 3: Start prototyping -_Android Studio will automatically set up a project for you with a connection to the Gemini API, simplifying your workflow. Click Run to see the code in action in the Android Emulator. The app comes with a hard-coded prompt asking the model to "Summarize the following text for me"; you can edit or expand the prompt directly in the code to modify what it can do. You can learn more about creating prompts in the Google AI Studio documentation._ +_Android Studio will automatically set up a project for you with a connection to the Gemini API, simplifying your workflow. Click Run to see the code in action in the Android Emulator. The app comes with a hard-coded prompt asking the model to "Summarize the following text for me"; you can edit or expand the prompt directly in the code to modify what it can do. You can learn more about creating prompts in the Google AI Studio documentation._
+ +![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20222853.png)
+![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20224408.png)
+![alt text](https://github.com/AkashKobal/Gemini-App-Starter/blob/main/screenshots/Screenshot%202024-04-16%20224423.png)
+