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” collection, this week’s content material and updates are your gateway to understanding the right way 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 growth journey, prepare for per week full of insightful periods, sensible demos, and provoking success tales that’ll enable you to 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 might 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 growth. Perceive which AI fashions and variations you may work with. Find out about developer instruments that can assist 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 submit explains giant 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 submit: A quick introduction to large language models for Android Developers
We’ll then present a glance behind the scenes at our work enhancing developer productiveness with Gemini in Android Studio. We’ll talk about Studio’s new AI code completion function, how we have been working to enhance the accuracy and high quality of advised code, and the way this function can profit your workflow.
Learn the weblog submit: Gemini in Android Studio: Code Completion gains powerful model improvements
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 enable you to perceive the right way to convey your individual AI mannequin to Android gadgets, and how one can combine instruments and applied sciences from Google and different sources. The power to run refined AI fashions instantly on gadgets – whether or not it is a smartphone, pill, or embedded system – opens up thrilling potentialities for higher efficiency, privateness, usability, and price 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 purposes. By following this information, builders can harness PyTorch fashions to reinforce 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 might be redefining the capabilities of Android apps. With Gemini 1.5 Professional and 1.5 Flash, you will have the instruments that you must create apps which might be really clever and interactive.
On Thursday, we’ll provide you with a codelab that’ll enable you to perceive the right way 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 submit exploring the potential of the Gemini API with case research. We’ll delve into how Android builders are leveraging generative AI capabilities in revolutionary methods, showcasing real-world examples of apps which have efficiently built-in the Gemini API. From meal planning to journaling and customized person experiences, the article highlights examples of how Android builders are already benefiting 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 may learn the way system directions can form the mannequin conduct, how JSON assist streamlines growth, and the way multimodal capabilities and performance calling can unlock thrilling new use instances on 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 most recent AI developments tailor-made for Android engineers, showcasing how these applied sciences can elevate your app growth recreation. By way of participating 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 talk about constructing generative AI options quickly utilizing Vertex AI in Firebase. And we’ll dive into harnessing the facility 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 supply complete AI options for cross-platform Gemini growth. The AI capabilities showcased throughout Android AI Week can prolong to different platforms, comparable to built-in AI in Chrome. Net builders can leverage comparable instruments and methods to create internet experiences enhanced by AI. Builders can run Gemini Professional within the cloud for pure language processing and different advanced person 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 growth journey, we wish you to remember a couple of vital issues:
- Privateness: Prioritize person privateness and knowledge safety when implementing AI options, particularly when dealing with delicate person info. When it turns into obtainable, go for on-device AI options like Gemini Nano at any time when potential to reduce knowledge publicity.
- Seamless person expertise: Be sure that AI options seamlessly combine into your app’s general person expertise. AI ought to improve the person expertise, not disrupt it.
- Moral issues: AI applied sciences are developed and deployed in a manner that advantages society whereas minimizing potential hurt. By contemplating equity, transparency, privateness, accountability, and societal influence, builders can play an important 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. Attempt to create AI-powered options which might be truthful and inclusive.
AI on Android Spotlight Week is a chance to discover the most recent in AI and its potential for Android app growth. We encourage you to delve into the wealth of assets shared through 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 era of AI-powered apps.
What’s subsequent
Come again to this weblog submit for updates; we’ll add hyperlinks to weblog and video content material and extra all through the week. Comply with Android Developers on X and Android Developers at LinkedIn, and bear in mind to make use of the hashtag #AndroidAI to share your AI-powered Android creations, and be part of the colourful neighborhood of builders pushing the boundaries of cellular AI.