
Explore Android generative ai with Gemini Pro, Vision Pro API, and Jetpack Compose to enable chat, image understanding, and prompts, with secure Firebase logging and Firestore storage.
Initialize the Android project from scratch using GitHub resources, update build.gradle with Firebase splash screen, navigation, markdown, and AI integration, and set icons and color themes.
Connect Android app to Firebase via Android Studio, set up authentication and Firestore, configure Google services plugin and dependencies, sync, then connect to Gemini API.
Explore the Gemini API, focusing on Gemini Nano for offline, small-device use, and learn how to easily integrate Gemini Nano into Android Studio with an API key workflow.
Configure the Gemini api in Android Studio by adding the sdk dependency, securely storing the api key with a plugin and local properties, and building to access the key.
Build an Android app with generative ai features using Firebase Authentication and a Jetpack Compose UI, including a login page, signup flow, and prompts for gpt responses.
Enable Firebase authentication in Firebase console by selecting sign-in providers such as email and password and Google, add SHA-1 fingerprints from Android Studio, and sync Gradle to generate sign-in report.
Create a Firebase authentication repository and data layer for Android, implementing login, create user, sign out, password reset, and current user checks via flows and a sealed response class.
Create a Google auth client to enable one-tap sign in and handle sign-in requests with an intent sender. Sign in with Firebase credentials using Google credentials and a callback flow.
Implement a signup viewmodel for authentication, with state, events, and form validation, backed by a repository and graph-based injection, plus verification email flow.
Learn to implement a signup screen in Jetpack Compose, wiring view model state, navigation to login, back handling, input fields, animated error messages, privacy text, and a loading indicator.
Explore manual dependency injection using a dedicated application class and graph to provide dependencies and test the sign-up flow in a Jetpack Compose Android app.
Develop a login view model that handles email and Google sign-in via the repository and Firebase user state. Manage loading, errors, and email verification with login events and state.
Implement a login screen in Jetpack Compose with a login view model, handling Google sign-in, verification emails, sign-up navigation, and user feedback via snackbars and navigation to the home screen.
Set up android navigation with sealed routes, nested authentication, login and sign-up screens, parameterized arguments, and a tabbed home using an enum of tabs with icons.
Implement navigation actions with a nav controller in android, using single-top launches, popping stacks, and nested graphs, to route login, home, and other screens via routes and arguments.
Implement a forgot password screen using a viewmodel with an auth repository, managing state and events, sending a password reset, and handling loading and errors.
Create a forgot password screen in Jetpack Compose with a scaffold, top app bar, email input, error messaging, and navigation back to login via the view model.
Create a navigation graph in the main activity using a remember nav controller, and implement login, signup, forgot password, sign-in with google, and prepare Gemini API integration.
Connect the Gemini API to your Android app and enable API calls while integrating Firebase Firestore to store user data between the API and the user.
Connect Firebase Firestore to store user data for the Gemini API chat; enable Firestore, create a database, select location, and start in test mode.
Create a models package with data classes for chat message, chatroom, and participant, including text and multimodal Gemini Pro Vision, plus a repository to interface with the API and UI.
Build a robust chat repository using a generative model with a single instance, Firebase authentication and Firestore, enabling chat rooms, message handling, and titles via flows and snapshot listeners.
Create a chat room UI and a chat room view model with Hilt-injected repositories to manage chat rooms and the current user, while handling loading, errors, and new chat creation.
Build a chat room screen in Jetpack Compose by wiring a view model, loading data from Firestore, and navigating to the messages screen with lazy lists and formatted dates.
Configure the main activity scaffold to display a top app bar and bottom navigation, toggle visibility by active screen, and expose a chat room through a floating action button.
Route users by checking the auth state to show the home or login screen. Bind bottom navigation bar to the selected tab index and use animated visibility as destinations change.
Fix the floating action button icon by using a transparent image resource so the icon appears correctly inside the floating action button.
Leverage a nav controller to log out and navigate to the login screen, clearing the backstack, and implement a dynamic start destination based on authentication while handling Google sign-in loading.
Shows a test run app built with Android, Firebase, and Jetpack Compose that creates a new chat entry and demonstrates debugging index setup and navigation between messages and chat room.
Navigate from chart item or chatroom to the messages screen to enable user model communication, and create the message view model and messages screen in a new package.
Develop a message view model that wires the chat repository, chat room id and title, initializes the current user, observes messages and history updates, and sends messages via Firestore.
Create a chat message screen in Jetpack Compose, connect a chat view model to render chat bubbles and a chat list, and implement a message input with a bottom bar.
Build a chat list with a lazy column, support model and user messages in chat bubbles, and enable markdown rendering and clipboard copy.
Implement chat bubble items and chat list in a messages screen, pass modifiers to animate placement, manage list state, and build a navigation graph in Jetpack Compose.
Define a message route with chat id and chat title as arguments. Read them from the backstack, create a view model with a factory, and navigate with singleTop and popUpTo.
Fix bugs in a generative ai android app by saving the chart title as text in firebase and setting the chat bubble width to 0.40, clear storage to prevent crashes.
Add a photo reasoning feature to the chat with a Gemini Vision multi-modal model that processes images and streams generated responses.
Create a photo reasoning screen in a Jetpack Compose app by wiring the photo reasoning view model, image loading, and URI management to handle taking or selecting images for prompts.
Learn to build a customizable user input text field in Jetpack Compose, handling keyboard type, text changes, focus states, and accessibility within a box scope.
Design a photo reasoning viewmodel that manages user input, focus state, and image selection, including picking or taking photos, validating non-blank questions, and previewing selected images.
Arrange multiple image URIs in a lazy row, provide remove actions via a circular surface and icon, and load images asynchronously with Coil while applying padding, clipping, and rounded corners.
Display result logic models UI state with when, showing a centered circular progress indicator during loading, rendering a styled success card with markdown output, and an error card.
Launch a coroutine to load and map bitmaps, build an image request with 768 pixels and exact precision, and handle errors with try-catch via the viewmodel scope.
Create and customize navigation graph with routes and tabs in Jetpack Compose, including fade in and fade out transitions. Build a photo reasoning screen and test prompts; explore chat features.
Update Firebase rules to restrict read and write in Firestore to authenticated users, publish changes, and verify that accounts see only their data.
Explore Gemini API on Android, building chat functionality and visual reasoning, secure app with Firebase Authentication, store data in Firestore and Firebase Storage, and create polished UI with Jetpack Compose.
Join us at the forefront of mobile development with Generative AI. In this course, you'll harness the power of this groundbreaking technology to revolutionize your Android apps, creating features that mesmerize users and elevate your projects to new heights.
No need to start from scratch! We'll utilize advanced pre-trained models such as Google's Gemini Pro, enabling you to focus on crafting innovative functionalities like:
Conversational Chatbots: Develop chatbots that engage users in natural, intelligent conversations, fueled by Gemini Pro's capabilities.
Image Analysis Powerhouse: Tap into the potential of Google's Vision Pro API to extract invaluable insights from images seamlessly integrated within your apps.
Stunning & Responsive UI: Master the art of crafting beautiful and user-friendly interfaces using the modern Jetpack Compose framework.
Secure User Management: Implement rock-solid Firebase Authentication for seamless and secure logins and user management.
Plus, as a bonus, you'll delve into dependency injection best practices, ensuring your code remains clean and maintainable throughout.
Don't miss this opportunity to shape the future of Android development with Generative AI. Enroll today and embark on a journey that will not only enhance your skills but also redefine what's possible in the world of mobile applications. Join us and become a pioneer in Generative AI Android development!