Sunday, November 10, 2024

Latest Posts

showcase of modern Android apps



Posted by Thomas Ezan, Sr Developer Relation Engineer

With the appearance of Generative AI, Android builders now have entry to capabilities that had been beforehand out of attain. For example, now you can simply add picture captioning to your app with none laptop imaginative and prescient data.

With the upcoming launch of the steady model of VertexAI in Firebase in a couple of weeks (out there in Beta Since Google I/O), you can effortlessly incorporate the capabilities of Gemini 1.5 Flash and Gemini 1.5 Professional into your app. The inference runs on Google’s servers, making these capabilities accessible to any machine with an web connection.

A number of Android builders have already begun leveraging this expertise. Let’s discover a few of their creations.

Generate your meals for the week

The staff behind Meal Planner, a meal planner and procuring record administration app, is leveraging Gemini 1.5 Flash to create authentic meal plans. Primarily based on the consumer’s weight loss program, the variety of folks you’re cooking for and any meals allergic reactions or intolerances, the app routinely creates a meal plan for the chosen week.

For every dish, the mannequin lists elements and portions, considering the variety of parts. It additionally gives directions on tips on how to put together it. The app routinely generates a procuring record for the week based mostly on the ingredient record for every meal.

moving image of Meal Planner app user experience

To allow dependable processing of the mannequin’s response and to combine it within the app, the staff leveraged Gemini’s JSON mode. They specified responseMimeType = “software/json” within the mannequin configuration and outlined the anticipated JSON response schema within the immediate (see API documentation).

Following the launch of the meal technology characteristic, Meal Planner obtained overwhelmingly optimistic suggestions. The characteristic simplified meal planning for customers with dietary restrictions and helped cut back meals waste. Within the months after its introduction, Meal Planner skilled a 17% surge in premium customers.

Journaling whereas chatting with Leo

A number of months in the past, the staff behind the journal app Life needed to offer an modern strategy to let their customers log entries. They created “Leo”, an AI diary assistant chatting with customers and changing conversations right into a journal entry.

To switch the habits of the mannequin and the tone of its responses, the staff used system directions to outline the chatbot persona. This permits the consumer to set the habits and tone of the assistant: Choose “Skilled and formal” and the mannequin will hold the dialog strict, choose “Pleasant and cheerful” and it’ll loosen up the dialogue with numerous emojis!

moving image of Leo app user experience

The staff noticed a rise of consumer engagement following the launch of the characteristic.

And if you wish to know extra about how the Life builders used Gemini API of their app, we had an ideal dialog with Jomin from the staff. This dialog is a part of a brand new Android podcast sequence known as Android Construct Time, which you could additionally watch on YouTube.

Create a nickname on the fly

The HiiKER app gives offline climbing maps. The app additionally fosters a neighborhood by letting customers score trails and leaving feedback. However customers signing up don’t all the time add a username to their profile. To keep away from the chance of reducing the conversion fee by making username choice necessary at signup time, the staff determined to make use of the Gemini API to recommend distinctive usernames based mostly on the consumer’s nation or space.

moving image of HiiKER app user experience

To generate authentic usernames, the staff set a excessive temperature worth and performed with the top-Ok and top-P values to extend the creativity of the mannequin.

This AI-assisted characteristic led to a big elevate within the share of customers with “full” profiles contributing to a optimistic influence on engagement and retention.

It’s time to construct!

Generative AI continues to be a really new house and we’re simply beginning to have quick access to those capabilities for Android. From enabling superior personalization, creating pleasant interactive experiences or simplifying signup, you may need distinctive challenges that you’re making an attempt to resolve as an Android app developer. It’s a nice time to start out taking a look at these challenges as alternatives that generative AI might help you deal with!

You’ll be able to study extra concerning the superior options of the Gemini Cloud fashions, discover an introduction to generative AI for Android builders, and get began with Vertex AI in Firebase documentation.

To study extra about AI on Android, take a look at different assets we’ve out there throughout AI in Android Highlight Week.

Use #AndroidAI hashtag to share your creations or suggestions on social media, and be part of us on the forefront of the AI revolution!

Latest Posts

Stay in touch

To be updated with all the latest news, offers and special announcements.