30 September 2024
AI on Android Spotlight Week this year runs September 30th to October 4th! As part of the Android “Spotlight Weeks” series, this week’s content and updates are your gateway to understanding how to integrate cutting-edge AI into your Android apps. Whether you're a seasoned Android developer, an AI enthusiast, or just starting out on your development journey, get ready for a week filled with insightful sessions, practical demos, and inspiring success stories that'll help you build intuitive and powerful AI integrations.
Throughout the week, we'll dive into the core technologies driving AI experiences on Android. This blog will be updated throughout the week with links to new announcements and resources, so check back here daily for updates!
Learn how to begin with AI on Android development. Understand which AI models and versions you can work with. Learn about developer tools to help you start building features empowered with AI.
We'll guide you through the differences between traditional programming and machine learning, and contrast traditional machine learning with generative AI. The post explains large language models (LLMs), the transformer architecture, and key concepts like context windows and embeddings. It also touches on fine-tuning and the future of LLMs on Android.
Read the blog post: A quick introduction to large language models for Android Developers
A quick introduction to large language models for Android Developers |
We'll then provide a look behind the scenes at our work improving developer productivity with Gemini in Android Studio. We'll discuss Studio's new AI code completion feature, how we've been working to improve the accuracy and quality of suggested code, and how this feature can benefit your workflow.
Read the blog post: Gemini in Android Studio: Code Completion gains powerful model improvements
Generate useful prompts for app development in Android Studio |
We're excited to offer developers experimental access to the latest version of Gemini Nano starting with the Pixel 9 series devices. Access to experiment with Gemini Nano gives you the ability to test on-device integrations with your apps. Note that experimental access is for development purposes, and is not for production usage at this time.
Read the Gemini Nano experimental access blog post and developer guide.
Gemini Nano is now available on Android via experimental access |
As we bring powerful AI capabilities to your Android devices, we're equally committed to building privacy and safety into every interaction. Read our blog post for an intro into privacy and safety for Gemini Nano. It provides an introductory look into how Gemini Nano and AICore work together to deliver powerful on-device GenAI capabilities while prioritizing users’ privacy and safety.
Read the blog post: An Introduction to Privacy and Safety for Gemini Nano
An Introduction to Privacy and Safety for Gemini Nano |
Ready to dive into the technical side of things? This video walks you through the process of accessing and utilizing Gemini Nano's capabilities, and how you can use open models on Android-powered devices. Discover how to integrate this cutting-edge technology into your own applications and unlock the potential of on-device AI. Whether you're a seasoned developer or just starting your AI journey, this video provides valuable insights and practical knowledge.
Watch the video: A Walkthrough for Android’s on-device GenAI solutions
On Wednesday, we'll help you understand how to bring your own AI model to Android devices, and how you can integrate tools and technologies from Google and other sources. The ability to run sophisticated AI models directly on devices – whether it's a smartphone, tablet, or embedded system – opens up exciting possibilities for better performance, privacy, usability, and cost efficiency.
Read the blog post: How to bring your own AI model to Android devices
How to bring your own AI model to Android devices |
We'll also give you a detailed walkthrough of how Android developers can leverage Google AI Edge Torch to convert PyTorch machine learning models for on-device execution, using the LiteRT and MediaPipe Tasks libraries. This walkthrough includes code examples and explanations for converting a MobileViT model for image classification and a DIS model for segmentation, and highlights the steps involved in preparing these models for seamless integration into Android applications. By following this guide, developers can harness PyTorch models to enhance their Android apps with advanced machine learning capabilities.
Read the blog post: PyTorch Machine Learning Models on Android
PyTorch Machine Learning Models on Android |
Tap into the boundless potential of Gemini 1.5 Pro and Gemini 1.5 Flash, the revolutionary generative AI models that are redefining the capabilities of Android apps. With Gemini 1.5 Pro and 1.5 Flash, you'll have the tools you need to create apps that are truly intelligent and interactive.
On Thursday, we'll give you a codelab that'll help you understand how to integrate the Gemini API capabilities into your Android projects. We'll guide you through crafting effective prompts and integrate Vertex AI in Firebase. By the end of this hands-on tutorial, you'll be able to implement features like text summarization in your own app all powered by the cutting-edge Gemini models.
Try the codelab: Add Gemini capabilities to your Android app
Add Gemini capabilities to your Android app |
We'll publish a blog post exploring the potential of the Gemini API with case studies. We'll delve into how Android developers are leveraging generative AI capabilities in innovative ways, showcasing real-world examples of apps that have successfully integrated the Gemini API. From meal planning to journaling and personalized user experiences, the article highlights examples of how Android developers are already taking advantage of Gemini transformative capabilities in their apps.
Read the blog: Gemini API in Action: Showcase of Innovative Android apps
Gemini API in action: showcase of innovative Android apps |
We've recorded a podcast episode with Jomin George from the team behind Life, a journaling app that integrated the Gemini API. Jomin shared his experience building a chatbot with Vertex AI in Firebase.
Listen to the podcast: Integrating Gemini API in Android or watch the video version.
Android Build Time with Christopher Cartland |
We'll also share with you examples of advanced features of the Gemini API to go beyond simple text prompting. You'll learn how system instructions can shape the model behavior, how JSON support streamlines development, and how multimodal capabilities and function calling can unlock exciting new use cases for your apps.
Read the blog: Advanced capabilities of the Gemini API for Android developers
Advanced capabilities of the Gemini API for Android developers |
As the capstone for AI on Android Spotlight Week, we'll host a discussion with Kateryna Semenova, Oli Gaymond, Miguel Ramos, and Khanh LeViet to talk about building with AI on Android. We'll explore the latest AI advancements tailored for Android engineers, showcasing how these technologies can elevate your app development game. Through engaging discussions and real-world examples, we will unveil the potential of AI, from fast, private on-device solutions using Gemini Nano to the powerful capabilities of Gemini 1.5 Flash and Pro. We'll discuss building generative AI solutions rapidly using Vertex AI in Firebase. And we'll dive into harnessing the power of AI with safety and privacy in mind.
Watch the video: Build with AI on Android and beyond
As we wrap things up for AI on Android Spotlight Week, know that we're striving to provide comprehensive AI solutions for cross-platform Gemini development. The AI capabilities showcased during Android AI Week can extend to other platforms, such as built-in AI in Chrome. Web developers can leverage similar tools and techniques to create web experiences enhanced by AI. Developers can run Gemini Pro in the cloud for natural language processing and other complex user journeys. Or, you explore the benefits of performing AI inferenceclient-side, with Gemini Nano in Chrome.
As you embark on your AI development journey, we want you to keep in mind a few important considerations:
Android AI Spotlight Week 2024 is an opportunity to explore the latest in AI and its potential for Android app development. We encourage you to delve into the wealth of resources shared during the week and begin experimenting with AI in your own projects. The future of Android is rooted in AI and machine learning, and with the tools and knowledge shared during Android AI Week, developers are well-equipped to build the next generation of AI-powered apps.
If you are building generative AI features we would love to have a conversation with you! Complete this form to keep in touch.
Follow Android Developers on X and Android Developers at LinkedIn, and remember to use the hashtag #AndroidAI to share your AI-powered Android creations, and join the vibrant community of developers pushing the boundaries of mobile AI.