Tag Archives: Explore

Introducing Jetpack Emoji Picker: A New Way to Add Emojis to Your Android App

Posted by Lin Guo, Software Engineer

The use of emojis in communication has become increasingly popular in recent years. These small icons can be used to express a wide range of emotions and can add a personal touch to messages. However, adding emojis to your Android app can be a bit of a challenge. That's where the Emoji picker library comes in. You can simply add a few lines of code to your app, and you'll be able to start using emojis right away. It's the easiest way to get started with emojis, and it will make your app more fun and expressive.

Moving image of using EmojiPicker on Google Pixel 6 Pro
Figure 1. Emoji Picker

Some useful features provided by the library

Up-to-date emojis without tofu (☐)

Every year, new emoji versions are published, and we will regularly update the library to provide these new emojis. Higher-end phones will be able to render these newer emojis without any problem. For lower-end phones, newer emoji may be displayed as a small square box called tofu (☐). The library guarantees to detect and remove them. This ensures the library is compatible across multiple Android versions/devices.

Smooth UI

The library has several optimizations that attempt to reduce startup latency and speed up scrolling experience, such as caching renderable emojis, drawing emojis asynchronously and RecyclerView optimizations.

Personalized inclusive experience

User selections are persistent in the library. Emojis that are newly chosen will be shown at the top row, making it simpler for users to find and share them. The library also offers a variety of emojis that represent different people and cultures in the variant panels. If the user chooses an emoji from one of the variation panels (Figure 2), the choice is retained and set as the default in the main panel.

Image showijng diversity of characters to choose from in EmojiPicker
Figure 2. Emoji variants

Integrate emoji picker into your app in 3 steps

Step 1: Import the library in build.gradle 
dependencies { implementation "androidx.emoji2:emojipicker:$version" }

Step 2: Inflate the EmojiPickerView

Optionally set emojiGridColumns and emojiGridRows based on the desired size of each emoji cell

An example that uses EmojiPickerView in XML
<androidx.emoji2.emojipicker.EmojiPickerView app:emojiGridColumns="9" />

A very simple emoji picker should now be presented on your app! For the next step, we assume you would like to do something to the picked emoji.


Step 3: Provide listener to the picked emoji
// a listener example emojiPickerView.setOnEmojiPickedListener { findViewById<EditText>(R.id.edit_text).append(it.emoji) }

Now you have a basic functioning emoji picker. To customize it further (e.g, override some styles or provide a different behavior to the recent emoji row), please refer to our api and sample app.

Feel free to file Bug Report or Feature Request to help us improve the library!

MakerSuite expands to 179 countries and territories, and adds helpful features for AI makers

Posted by Simon Tokumine, Director of Product Management

When we announced MakerSuite earlier this year, we were delighted to see people from all over the world sign up for the waitlist. With MakerSuite we want to help anyone become an AI maker and easily create innovative AI applications with Google’s large generative models. We’re excited to see how it’s being used.

Today, we’re expanding access to MakerSuite to cover 179 countries and territories, including anyone with a Google Workspace account. This means that more developers than ever can sign up to create AI applications with our latest language model, PaLM 2.

We’re also introducing three helpful features:

  • Automatically optimize your text prompts
  • Image showing prompt suggestion in MakerSuite
    Want to write better prompts? Now, you can write a text prompt and click "Prompt Suggestion" to get ideas and suggestions to get better responses 
  • Enable dark mode
  • Image showing light mode and dark mode UX in MakerSuite
    In MakerSuite, you can now switch from light mode to dark mode in the settings.
  • Import and export your data with Google sheets and CSV to save time and collaborate effectively
  • Image showing import data function in MakeSuite
    Import and export your data to and from Google Sheets or CSV files easily. This can save you time by eliminating the need to recreate data that you have already created. It can also help you collaborate more effectively with others by allowing you to share your results easily.

Easily go from MakerSuite to code

Since the PaLM API is integrated into MakerSuite, it’s easy to quickly try different prompts from your browser, and then incorporate them into your code—no machine learning expertise required.

Moving image showing how users can copy their code with one click to integrate it into their project
Once your prompt is ready, simply copy your code in just one click and integrate it into your project

Get started

Sign up and learn more on our Generative AI for Developers website. Be sure to check out our quick-start guide, browse our prompt gallery, and explore sample apps for inspiration. We can't wait to see what you build with MakerSuite!

Explore your world with these new Google Maps features

https://lh5.googleusercontent.com/RZK2IimfzK2Pl_ApOPsfwa2ROyDLcm1gl_DU2oY9Psr2SA3a-k6k5BKo2-KHgInO_15EH8WyuGKcSAJzHLJPgEiRqgVBLtis05RrWWiYg23yMIwqvXriIgzB96bSOOwALCp8MuGZ
From showing you the quickest morning commutes, to helping you stay safe on your ride home at the end of the day, Google Maps has a long history of building India-first features to keep Indians on the move, safely.


But we want to help with more than just getting from A to B. Starting today, we are happy to announce three new features in Google Maps available to Indian users on their phones: a redesigned, India-inspired Explore tab, a new For You experience, and dining Offers that help you find places you’re likely to enjoy with deals to make the experience even sweeter. Whether it's finding things to do in an area or getting offers on dining out, or recommending places and experiences, we hope Google Maps can now help you discover a new side to your city. 




Explore tab: Ever since we launched the Explore tab, it has been a one-tap means of getting suggestions on dining, events, and things to do based on the area being viewed. But we wanted to make this experience even more helpful; to reflect the rich diversity of local neighborhoods and communities. Which is why we have redesigned the Explore tab for India.


We’ve heard that Indian Maps users prefer a more assistive and visual browsing experience that is easy to access. Based on top queries and the way people interact with Google Maps in India, we’ve added seven shortcuts that you can access from the Explore tab: Restaurants, Petrol Pumps, ATMs, Offers, Shopping, Hotels, and Medical Shops. Using machine learning, we automatically identify the top suggestions across these categories in every city.


In addition to exploring near your location, you can now also explore other popular neighborhoods in your city -- simply tap the arrow option next to “Explore Nearby”. Using machine learning, we’re  able to automatically identify the top areas in every city. Besides your own city, you can also look up other Indian cities by just searching the city name -- an easy way to get up to speed before you travel.




For You: Didn’t know about that hip new cafe that opened up in a neighboring suburb? Now it’s easier than ever to stay in-the-know: tap the For You tab to get inspiration on new restaurants, trending places, and personalized recommendations tailored to your interests. This feature also uses the ‘Your Match’ score, which uses machine learning to combine what we know about millions of places with the information you’ve added -- restaurants you’ve rated, cuisines you’ve liked, and places you have visited. The first time you use this feature you can select the areas/localities you are interested in, and get more personalized and relevant recommendations over time.


Not only that, users can now ‘follow’ a business and get business updates, news on events and stay on top of any offers posted by them in the ‘For You’ tab. We’ll also recommend other businesses based on merchants you follow -- these interests are user-defined and also inferred by Google.


The For You tab offers a simple, assistive experience to help you discover your city with a single tap -- and it will continue to improve over time.




Offers: Everyone loves a good deal, but keeping track of offers from newspaper clippings or email announcements or through multiple apps can be hard — and lead to a bulging wallet. That's why we've added a way to discover local offers, starting with restaurants. We are launching an Offers section where you can find deals and claim them at restaurants across the top 11 Indian metros. Simply tap the ‘Offers’ shortcut in the Explore tab or filter for restaurants with offers. We’re launching this feature in partnership with EazyDiner, where you can now find offers for over 4,000 restaurants and hope to add many more categories and partners soon.


We can’t wait for you to try out these new features, and to discover those hidden gems in your city. Happy exploring!

Posted by Krish Vitaldevara, Director, Google Maps, and Chandu Thota, Director, Google Maps