Posted by Joseph Lewis – Technical Author, Android AI
AI on Android Highlight Week this 12 months runs September thirtieth to October 4th! As a part of the Android “Highlight Weeks” sequence, this week’s content material and updates are your gateway to understanding find out how to combine cutting-edge AI into your Android apps. Whether or not you are a seasoned Android developer, an AI fanatic, or simply beginning out in your improvement journey, prepare for per week stuffed with insightful classes, sensible demos, and provoking success tales that’ll aid you construct intuitive and highly effective AI integrations.
All through the week, we’ll dive into the core applied sciences driving AI experiences on Android. This weblog will likely be up to date all through the week with hyperlinks to new bulletins and assets, so examine again right here day by day for updates!
Monday: Getting began with AI
September 30, 2024
Discover ways to start with AI on Android improvement. Perceive which AI fashions and variations you possibly can work with. Find out about developer instruments that will help you begin constructing options empowered with AI.
We’ll information you thru the variations between conventional programming and machine studying, and distinction conventional machine studying with generative AI. The put up explains massive language fashions (LLMs), the transformer structure, and key ideas like context home windows and embeddings. It additionally touches on fine-tuning and the way forward for LLMs on Android.
Learn the weblog put up: A fast introduction to massive language fashions for Android Builders
We’ll then present a glance behind the scenes at our work bettering developer productiveness with Gemini in Android Studio. We’ll focus on Studio’s new AI code completion function, how we have been working to enhance the accuracy and high quality of prompt code, and the way this function can profit your workflow.
Learn the weblog put up: Gemini in Android Studio: Code Completion good points highly effective mannequin enhancements
Tuesday: On-device AI capabilities with Gemini Nano
October 1, 2024
Uncover how Gemini Nano empowers Android builders to unlock the total potential of generative AI, providing personalization and privateness advantages for next-generation apps. We’ll share how one can start integrating your Android apps with on-device LLMs. Search for extra info and bulletins right here on Tuesday!
Wednesday: On-device AI with customized fashions
October 2, 2024
On Wednesday, we’ll aid you perceive find out how to carry your individual AI mannequin to Android units, and how one can combine instruments and applied sciences from Google and different sources. The power to run subtle AI fashions straight on units – whether or not it is a smartphone, pill, or embedded system – opens up thrilling potentialities for higher efficiency, privateness, usability, and value effectivity.
We’ll additionally provide you with an in depth walkthrough of how Android builders can leverage Google AI Edge Torch to transform PyTorch machine studying fashions for on-device execution, utilizing the LiteRT and MediaPipe Duties libraries. This walkthrough consists of code examples and explanations for changing a MobileViT mannequin for picture classification and a DIS mannequin for segmentation, and highlights the steps concerned in making ready these fashions for seamless integration into Android functions. By following this information, builders can harness PyTorch fashions to boost their Android apps with superior machine studying capabilities.
Thursday: Entry cloud fashions with Android SDKs
October 3, 2024
Faucet into the boundless potential of Gemini 1.5 Professional and Gemini 1.5 Flash, the revolutionary generative AI fashions which can be redefining the capabilities of Android apps. With Gemini 1.5 Professional and 1.5 Flash, you will have the instruments you have to create apps which can be actually clever and interactive.
On Thursday, we’ll provide you with a codelab that’ll aid you perceive find out how to combine the Gemini API capabilities into your Android initiatives. We’ll information you thru crafting efficient prompts and combine Vertex AI in Firebase. By the tip of this hands-on tutorial, you can implement options like textual content summarization in your individual app all powered by the cutting-edge Gemini fashions.
Subsequent we’ll publish a weblog put up exploring the potential of the Gemini API with case research. We’ll delve into how Android builders are leveraging generative AI capabilities in modern methods, showcasing real-world examples of apps which have efficiently built-in the Gemini API. From meal planning to journaling and customized consumer experiences, the article highlights examples of how Android builders are already profiting from Gemini transformative capabilities of their apps.
We’ll additionally share with you examples of superior options of the Gemini API to transcend easy textual content prompting. You will find out how system directions can form the mannequin habits, how JSON assist streamlines improvement, and the way multimodal capabilities and performance calling can unlock thrilling new use instances in your apps.
Friday: Construct with AI on Android and past
October 4, 2024
Because the capstone for AI on Android Highlight Week, we’ll host a dialogue with Kateryna Semenova, Oli Gaymond, Miguel Ramos, and Khanh LeViet to speak about constructing with AI on Android. We’ll discover the newest AI developments tailor-made for Android engineers, showcasing how these applied sciences can elevate your app improvement sport. By way of partaking discussions and real-world examples, we’ll unveil the potential of AI, from quick, non-public on-device options utilizing Gemini Nano to the highly effective capabilities of Gemini 1.5 Flash and Professional. We’ll focus on constructing generative AI options quickly utilizing Vertex AI in Firebase. And we’ll dive into harnessing the ability of AI with security and privateness in thoughts.
Work with Gemini past Android
As we wrap issues up for AI on Android Highlight Week, know that we’re striving to offer complete AI options for cross-platform Gemini improvement. The AI capabilities showcased throughout Android AI Week can lengthen to different platforms, comparable to built-in AI in Chrome. Net builders can leverage comparable instruments and strategies to create net experiences enhanced by AI. Builders can run Gemini Professional within the cloud for pure language processing and different advanced consumer journeys. Or, you discover the advantages of performing AI inferenceclient-side, with Gemini Nano in Chrome.
Construct with usability and privateness in thoughts
As you embark in your AI improvement journey, we wish you to remember a couple of essential concerns:
- Privateness: Prioritize consumer privateness and knowledge safety when implementing AI options, particularly when dealing with delicate consumer info. When it turns into out there, go for on-device AI options like Gemini Nano every time doable to reduce knowledge publicity.
- Seamless consumer expertise: Make sure that AI options seamlessly combine into your app’s general consumer expertise. AI ought to improve the consumer expertise, not disrupt it.
- Moral concerns: AI applied sciences are developed and deployed in a approach that advantages society whereas minimizing potential hurt. By contemplating equity, transparency, privateness, accountability, and societal impression, builders can play a significant position in making a future the place AI serves humanity’s greatest pursuits. Be aware of the moral implications of AI, comparable to potential biases in your AI fashions. Try to create AI-powered options which can be truthful and inclusive.
AI on Android Highlight Week is a chance to discover the newest in AI and its potential for Android app improvement. We encourage you to delve into the wealth of assets shared in the course of the week and start experimenting with AI in your individual initiatives. The way forward for Android is rooted in AI and machine studying, and with the instruments and information shared throughout Android AI Week, builders are well-equipped to construct the following technology of AI-powered apps.
What’s subsequent
Come again to this weblog put up for updates; we’ll add hyperlinks to weblog and video content material and extra all through the week. Observe Android Builders on X and Android Builders at LinkedIn, and keep in mind to make use of the hashtag #AndroidAI to share your AI-powered Android creations, and be part of the colourful group of builders pushing the boundaries of cell AI.