Pixel 2 and Daydream View: new experiences in AR and VR

Pixel 2 and Daydream View: new experiences in AR and VR

Virtual and augmented reality have the potential to make computing more immersive, intuitive and powerful. With augmented reality (AR), you can interact with digital objects that are integrated seamlessly in the real world around you. With virtual reality (VR), you can experience what it’s like to go anywhere. We just announced the new Pixel 2, which gives you access to amazing smartphone AR and high-quality mobile VR in the same device.

AR: Have fun and get things done

Aside from taking great photos and videos, the Pixel 2 camera is factory calibrated and optimized for AR. It enables robust tracking, even in low-light conditions, and 60 frames per second rendering of AR objects. That means you’ll be able to have really engaging AR experiences.

To start, we’re putting AR objects and characters at your fingertips in a new experience called AR Stickers. With it, you’ll be able to express yourself with playful emojis and set the scene for your very own stories. If you’re powering through an afternoon slump, you can take a picture with a tired cup of coffee from the Foodmoji pack. Or, if you’re feeling festive, shoot a happy birthday video for your friend with lots of AR balloons. These stickers give you new ways to be creative and capture how you’re feeling, so you can share with the people in your life. It works right in the camera, and it’ll be exclusive to the Pixel. 

coffeegif2

We’ll release more new AR Sticker packs in the future, so keep your eyes peeled around the changing seasons, holidays and big pop culture moments. You’ll be able to interact with your favorite characters from “Stranger Things,” and be part of the scene as Eleven faces off against the Demogorgon. Team up with R2-D2 to save the day with the “Star Wars: The Last Jedi” pack. Hang out with your favorite NBA Stars and the cast of “Saturday Night Live.”

EDCWGIF

We’re previewing apps and experiences built by our partners with ARCore, the AR software development kit (SDK) for Android. With Houzz, you’ll be able to bring the showroom into your living room and see how different furniture, accent pieces and more fit into your space. Experience the real-time action of a League of Legends match through an AR map, built by Grab Games. And with LEGO, have fun building virtual models in AR with characters that come to life, without fear of stepping on that last 2×4 brick.

AR Stickers and lots of other AR experiences will be available in the coming months.

  • Houzz2
  • LOL2
  • LEGO2

VR: More immersive with an all-new Daydream View

We’re also announcing a new Google Daydream View headset, which you can pair with Pixel 2 or another Daydream-ready phone for great VR. 

With this new headset, we kept the best parts of the original and made them even better. The new Daydream View has high-performance lenses, which result in better image clarity and a wider field of view. It sports a premium two-tone fabric that makes the headset soft and light, and it comes in three new colors: Fog, Charcoal and Coral.

DDV3

There’s so much to experience on Daydream. Last year, we launched with 25 apps and games. Daydream now has more than 250 titles, so you’ll never run out of things to do. Over the last year, we’ve also seen how much people love watching immersive VR video on apps like YouTube VR. And no wonder: great VR video puts you in the center of the action. It’s a totally different experience from watching on a flat screen.

We’re bringing you more of these amazing, only-in-VR moments with a slate of new and exclusive premium content for Daydream. Get closer than front row seats with intimate performances from your favorite stars like Ed Sheeran in “Austin City Limits Backstage.” Hear personal confessions from huge comics like Trevor Noah in “The Confessional,” a YouTube VR original from Felix & Paul. With “The Female Planet,” follow in the footsteps of inspiring women like Gina Rodriguez and Inna Braverman. Venture to all seven continents with the new series “Discovery TRVLR,” and blast off into space with IMAX 3D in Google Play Movies.

  • ACL_carousel.png
  • TheConfessional_carousel.png
  • IMAX_carousel.png
  • Discovery_1_carousel.png

Learn more and buy

With Google Pixel 2, you’ll have easy access to both AR and VR. We can’t wait for you to get your hands on it and start exploring. Learn more and pre-order one at the Google Store.

The new Google Daydream View will be available later this year:

  • United States: Google Store, Verizon, Best Buy, AT&T, Amazon
  • Canada: Google Store, Best Buy, Rogers, Bell, Telus, Freedom, Videotron, Glentel
  • United Kingdom: Google Store, EE, Carphone Warehouse
  • Germany: Google Store, Deutsche Telekom, Vodafone, MediaMarkt, Saturn
  • Australia: Google Store, Telstra, JB Hi-Fi
  • India: Flipkart
  • Italy: Google Store
  • France: Google Store
  • Spain: Google Store
  • Japan: Google Store
  • Korea: Google Store

From now until the end of the year, your purchase of Daydream View will come with a bundle of top games to help get you started. (U.S., U.K. and Korea only).

gamespromo

Ask more of your phone: Google Pixel 2

Ask more of your phone: Google Pixel 2

“What if smartphones were smarter and simpler?” That’s the question we asked ourselves last year, and what we set out to answer when we launched our first Pixel phone made by Google. With Pixel, we set out to make the smartphone experience better and bring the best of Google to the most important device in your life. So we created the world’s best smartphone camera and the first phone with the Google Assistant. But we didn’t stop there.

Today, along with a new family of hardware products, we’re introducing Google Pixel 2. We want you to be able to ask even more from your phone—so we’re giving you the highest-rated camera ever that helps you take great pictures and interact with the world around you, all-day battery life, and an Assistant that understands you better and helps you get more done.

Pixel 2 is loaded with great features. Let me take you through a few of our favorites.

The best smartphone camera, again

Taking great photos and videos is one of the things you do most with your phone, so we set out to deliver the best photography experience. You get stunningly crisp, clear, and detailed photos in any light. You can also take high-quality portrait shots with the perfect background blurs, from both the front and back camera. New motion photos capture a few seconds of video around the shot so you can relive the moment around the picture. The Pixel 2 camera is powered by our computational photography and machine learning (ML) capabilities which make all these great features easy, fun and fast for you to use.

Pixel 2_Photo Collage.png

We’ve made video capture better too by combining both optical and electronic video stabilization to give you remarkably smooth video, even when you’re on the move. All of these great features mean you can take the best photos and videos with Pixel 2. And don’t just take our word for it—independent camera experts DxOMark have rated the Pixel 2 camera as the best camera of any smartphone, with an unprecedented score of 98. To top it off, we’re once again providing free unlimited storage for all of the photos and videos taken on your Pixel.

Your camera will also keep getting better over time. As just one example, coming soon and exclusive to Pixel, you’ll be able to play with Augmented Reality (AR) Stickers, so you can add playful emojis and virtual characters to your photos and videos and set the scene for your very own stories.

Search what you see

Pixel 2 owners will also get an exclusive preview of Google Lens—a new set of visual smarts that help you learn more about the world around you and get things done. Lens builds on Google’s advancements in computer vision and ML, combined with our Knowledge Graph which underpins Google Search. From day one, on your Pixel 2, you’ll be able to look up landmarks, books, music albums, movies and artwork by clicking on the Lens icon in Google Photos. You can also use Google Lens to copy URLs and contact info from a picture of a poster or business card. We’ll add capabilities on an ongoing basis, including the use of Lens in the Google Assistant.

Google_Lens_Demo_Landmark_GIF_01.gif

The Google Assistant, more helpful for you

The Google Assistant makes many tasks—from sending a text or making a call, to finding an answer—faster, easier and hands-free. You won’t need to edit the text messages you dictate as often as you do with other assistants. With Pixel 2, you can access your Google Assistant with a new feature called Active Edge. Just give the phone a quick squeeze—even when it’s in a case—and ask the Assistant for what you need.

Your Assistant now helps you manage more settings and apps on your phone. You can say “turn on do not disturb” on your way into the theater, instead of navigating settings, and soon you’ll be able to book concert tickets or buy flowers. You can control your music, your smart home devices and find answers to pretty much anything.

In the coming weeks, your Assistant on Pixel will also be able to help with your daily routines, just by using one simple phrase. For example, when you go to bed at night, with a simple “good night” your Assistant can silence your phone, turn off the lights, set your alarm and more. There are also routines coming to Pixel for the morning, your commute, when you get home, etc. So the Google Assistant on Pixel not only understands you better but can also be more personal to you, helping you get more done at any time.

Do more, worry less

We’ve all been caught with a dead battery, so we made sure the Pixel 2 has a battery that lasts all day.* And if you ever need a quick boost, 15 minutes of charging gives you up to seven hours of usage. It’s also water and dust resistant to the IP67 standard and comes with important security features baked in. With monthly security updates from Google, your Pixel will always have the most advanced security precautions built in—no more worrying about updating or upgrading.

We’re also making it easy to switch to Pixel. Most people will be able to copy their contacts, apps, messages, photos, and even their iMessages from their old phones to Pixel in 10 minutes or less. It’s fast and painless.

Just give me the deets, already

Pixel 2 comes in two sizes, with the same great features in both. There’s the 5-inch Pixel 2 with a crystal-clear cinematic OLED display, which comes in Just Black, Clearly White and Kinda Blue. The 6-inch Pixel 2 XL has a razor-sharp pOLED 18:9 display which allows us to create a full screen, immersive viewing experience, and comes in Just Black and Black & White.

Both phones are powered by Android 8.0 Oreo and come with an always-on display which lets you see notifications at a glance on Pixel’s screen without having to touch the power button. The new Now Playing feature, exclusive to Pixel, shows you what song is playing around you. With your permission it matches music to a database of thousands of songs that’s stored on your device, without sending any information to Google.

Alongside Pixel we’re launching new cases and accessories. That includes our customizable Google Live Cases, and a range of other cases, cables, headphones and more from over 25 partners in our “made for Google” program. The “made for” products will feature a badge on the packaging so you know they’ve been certified to meet Google’s compatibility standards.

Pixel 2 and Pixel 2 XL are available for pre-order today starting at $649 in the U.S. Both products are also available in Australia, Canada, Germany, India and U.K. We’ll be bringing Pixel 2 XL to Italy, Singapore and Spain later this year. In the U.S., we’re teaming up with Verizon to make Pixel available nationwide at all Verizon retail outlets as well as at Best Buy stores. Pixel is also being offered on the Google Store. And Project Fi fans will be happy to know that Pixel also works on the Fi network.

There’s so much more to Pixel 2, but I’m sure I’ve already taken up my word count. Visit google.com/phones to find out more. 

*Based on use of the included charger and a mix of talk, data, and standby use with always on display off.  Actual results may vary, see website for details.  

Google Pixelbook: the high performance Chromebook

Google Pixelbook: the high performance Chromebook

The way we use technology has changed so much over the past 10 years. We live online. We use tons of apps every day. We create and collaborate more than ever, and we’re constantly jumping across all our devices to get things done.

But while the way we use technology has changed, our laptops haven’t really kept up. They don’t run many of the apps we use and love on our phones. They’re not as portable as tablets. And they’re not always as versatile and helpful as they should be.

With Google Pixelbook, a new high-performance Chromebook, we’re hoping to change this. We’ve worked to combine the best parts of a laptop, a tablet, and a smartphone, to fit how we use technology today. Pixelbook comes with premium hardware; the speed, simplicity and security of Chrome OS; the smarts of the Google Assistant; and all your favorite apps on Google Play.

Beautifully versatile

Pixelbook is the thinnest, lightest laptop we’ve ever made, at just 10.3mm and 1.1 kilograms. It has a 4-in-1 design, so you can do anything you want with it. You can use it as a laptop, fold the keyboard underneath to easily watch your favorite show, read your favorite book or take notes in tablet mode when you’re on the go, or prop it into tent mode as you follow along with a recipe in the kitchen.

Pixelbook Hero US.jpg

The 12.3-inch high-resolution touchscreen display brings you vibrant colors and enough brightness to use outside, even on a sunny day. The thin keyboard is comfortable to use, with soft-touch keys and a backlit design that helps you work anywhere. The trackpad uses new, special touch-processing algorithms to make sure you can navigate with accuracy.

Performance hardware and software  

Pixelbook starts up in seconds, stays fast throughout the day, and won’t slow down over time. Chrome OS provides a more secure computing experience, with multiple layers of security and automatic updates. Pixelbook uses Intel® Core™ i5 and i7 processors and plenty of RAM to smoothly handle your multitasking needs.

With storage options up to 512 GB, you can store documents, movies, music and apps, and Google Drive will sync your most recent Google Docs, Sheets and Slides to your device, so you can keep working and watching even when you’re offline. Pixelbook’s battery lasts up to 10 hours and if you run low on juice, 15 minutes of charging gets you up to two hours. You can also use your Pixelbook charger with your Pixel phone, giving you one less thing to carry around.

Alongside Pixelbook we’re introducing the Google Pixelbook Pen, a smart, responsive stylus which gives you a natural and comfortable feel when you are sketching and writing. Pixelbook Pen uses machine learning for handwriting recognition, and we’ve reduced latency to just 10 milliseconds—so it feels as fast as writing with a pen on paper. It also has 60 degrees of angular awareness and 2,000 levels of pressure sensitivity, so it’s fast and responsive and naturally follows your hand movements.

A more helpful laptop

Pixelbook is the first laptop with the Google Assistant built in. Just say “Ok Google” or press the dedicated Assistant key, and you can talk or type to find answers or perform tasks. You can set a reminder, check your commute, look up a basketball score, open a new document, or find an email. Just like you can with your other devices, your Google Assistant gives you hands-free access to your music and entertainment and allows you to control your smart home to turn up the thermostat or turn down the lights.

You can also use your Pixelbook Pen to get help or take action on what’s on your screen—just press and hold the button on your Pixelbook Pen and circle an image or text. You can look up words, find out more about a picture, add an event to your calendar, and more.

It’s not just the Assistant that makes the Pixelbook a more helpful laptop. For example, when you don’t have access to WiFi, Pixelbook can automatically connect to your Pixel phone’s data. And you can ask your Google Assistant on Pixel to send an email to a colleague when you’re out and about, and then ask it to find their reply on your Pixelbook when you get back to work.

Your favorite Google Play apps, on a bigger screen

You can download your favorite apps on Google Play for Pixelbook, so you don’t have to switch between your phone and your laptop. For instance, listen to Spotify or use Adobe Lightroom to edit a photo before you post it to Instagram or Snapchat or play games like Asphalt 8.  You can even download Netflix to watch your favorite series both online and offline.

Pixelbook Pen is also great for drawing and designing in your favorite apps. Illustrate with Infinite Painter, design with AutoCAD, or jot down thoughts with Squid and Evernote. You can even take notes right from the lock screen with Google Keep.

Many more developers are building apps for the larger screen too, and you can check Google Play for the latest apps to try.

Get yours soon

Pixelbook is available in three configurations starting at $999 in the U.S., so you can choose the processing power, memory and storage you want. The Pixelbook Pen is $99. Both will be on sale at the Google Store and major retailers, including Best Buy, in the U.S., Canada and the U.K. Pre-orders start today.

So that’s the Pixelbook—a radically helpful laptop that’s designed to better fit how you work, play and create. To find out more, visit g.co/pixelbook.

Welcoming Mini and Max to the Google Home family

Welcoming Mini and Max to the Google Home family

Today, we’re welcoming two new products to the Google Home family: Google Home Mini is small and mighty for hands-free help in every room. And Google Home Max is our biggest and best-sounding Google Home ever. They’re both radically helpful, and packed with the power of the Google Assistant, including some brand new features.

Google Home Mini

Mini makes the Google Assistant more accessible than ever at home. We designed it to fit naturally in any room. It’s sleek and smooth, with no corners or edges, and about the size of a donut. Its fabric enclosure is durable, yet transparent enough to let through both light and sound. The LEDs under the fabric light up to show you when your Assistant hears you. And it projects 360-degree sound so you’ll never miss a beat. With far-field microphones, Mini can hear you even when there’s music playing or there’s other noise in the background. Mini comes in three colors—Chalk, Charcoal and Coral. At $49, Google Home Mini works on its own or you can have a few around the house, giving you the power of Google anywhere in your home.

Google Home Max

Max redefines audio, in a way that only Google can—with AI. Its high-fidelity sound is built on a foundation of premium hardware. With dual 4.5-inch high-excursion woofers, you’ll get deep, balanced bass. And Max can play loud, really loud…so you can fill even the largest room in your home with your favorite music. In fact, it’s 20 times more powerful than the original Google Home.

Max is our first speaker with Smart Sound, a new audio experience powered by Google’s artificial intelligence. It’s what allows Max to adapt to you—your environment, your context, and your preferences. Smart Sound automatically adjusts for where you place Max in a room, so if you decide to move your speaker a few feet, it will dynamically tune itself within seconds.

Max works with a wide range of music services and supports Bluetooth and auxiliary port . And Max was made to fit your space and style; it can be placed vertically or horizontally and comes in two colors—Chalk and Charcoal.

The Google Assistant

The entire Google Home family has the Assistant built in, so you can get answers from Google, tackle your day, enjoy your entertainment, and control your smart home. The Google Assistant is the only assistant that recognizes your voice, and up to five others in your home, so that you can all get a personalized experience The Assistant is always getting better, and today we’re introducing a few new features:

Help with everyday routines 
You can already say “Hey Google, good morning” to hear about your day, including your personalized schedule, commute time, the weather and news. Soon your Assistant will be even more helpful with your daily routines. With a single command, you can control multiple smart home devices plus get information you need in the moment. So “Hey Google, goodnight!” can turn off your lights, turn down the temperature, and let you know tomorrow’s first meeting.

You can also broadcast a message to let the family know when it’s time to get a move on. Just say “Hey Google, broadcast it’s time to leave for soccer practice!” and it’ll play on the other Google Home devices around the house.

Features for families
We’re making Google Home more fun for the whole family, with 50+ new experiences for you to try out. Learn something new, or imagine with storytime. There are also plenty of fun activities; go on an adventure with Mickey Mouse, identify your alter ego with the Justice League D.C. Super heroes, or play Freeze Dance in your living room. These experiences will be supported by Family Link accounts on the Assistant, letting parents create accounts for their children under 13.

Smarter home
Now you can control more than 1,000 smart home products from 100+ brands, with just your voice. Starting today, we’re also introducing new ways to control your Nest products. If you have a Chromecast, you can keep an eye on your home with just your voice. Say “Hey Google, show me the the backyard” to see a live feed, right on your TV. And it won’t stop there; learn more about the ways that Nest will work with your Google Assistant in the Nest Blog.

Learn more about all the new features available from the Google Assistant in this post.

Availability

Google Home Mini is $49 and will be available in stores starting October 19. You can pre-order yours online today at the Google Store, Best Buy, Walmart, Target, Verizon and more. Mini will also be available in the U.K., Canada, Germany, France, Australia, and soon Japan. Voice Match is now available in those countries as well. Google Home Max will launch in the U.S. for $399 and comes with 12 months of ad-free YouTube Music—this offer is for new subscribers only and you have until February to claim it (check out the terms). Starting November 13, you can pre-order online from the Google Store, Best Buy and other retailers.

5 Questions for Designer, Author and MAX Speaker Kelli Anderson

5 Questions for Designer, Author and MAX Speaker Kelli Anderson

Kelli Anderson is a designer, author, and all around creative innovator. She was also one of Adobe’s very first Creative Residents, and she’ll be speaking at Adobe MAX 2017 in Las Vegas, Oct. 18-20. We talked to Kelli about her work, her MAX session, her unique and delightful book, “This Book is a Planitarium: And Other Extraordinary Pop-Up Contraptions,” and about the concept of designing for good.

Video Playback with the Google Assistant on Android TV

Video Playback with the Google Assistant on Android TV

Posted by Benjamin Baxter, Developer Programs Engineer

How to integrate the Google Assistant in a TV app

Earlier this year, we announced that the Google Assistant will be coming to Android TV and it has arrived. The Google Assistant on Android TV will allow users to discover, launch and control media content, control smart devices like light bulbs, and much more. Your Assistant also understands that you’re interacting on a TV, so you’ll get the best experience possible while watching your favorite movies and TV shows.

The Google Assistant has a built-in capability to understand commands like “Watch The Incredibles”, and media controls, like pause, fast forward, etc. This article will walk through how to integrate the Google Assistant into your application.

There are no new APIs needed to integrate with the Google Assistant. You just need to follow the pattern that the Google Assistant expects from your app. If you want to experiment and play with the APIs and the Assistant, you can download this sample from github.

Discovery

The Google Assistant has made some changes to improve finding information on Android TV.

There are a few ways to expose your content to users through the Google Assisant.

Server side integration. (Requires registration and onboarding)

You need to provide your content catalog to Google. This data is ingested and available to the Google Assistant outside of your app.

This is not specific for Google Assistant. It will also enable other Google services such as search and discovery on Google Search, Google Play, Google Home App, and Android TV.

Client side integration. (Available to all apps)

If your app is already searchable, then you only need to handle the EXTRA_START_PLAYBACK flag, which we go into more detail later. Content will auto-play if the app name is explicitly specified in the search results or if the user is already in your app.

Once your app is searchable, you can test by asking the Assistant or, if you are in a loud area, test quietly by running the following adb command:

adb shell am start -a "android.search.action.GLOBAL_SEARCH" --es query \"The Incredibles\" 

Each app that responds to the search query will have a row displaying their search results. Notice that YouTube and the sample app, Assistant Playback, each receive their own rows for content that match the search query.

For specific searches such as “Play Big Buck Bunny”, the Assistant will present a card with a button for each app that exactly matched the search query. In the screenshot below, you can see the sample app, Assistant Playback, shows up as an option to watch Big Buck Bunny.

There are times when the Google Assistant will launch an app directly to start playing content. An example of when this occurs is when content is exclusive to the app; “Play the Netflix original House of Cards”.

Launching

When the user selects a video from search results, an intent is sent to your app. The priority order for the intent actions are as follows:

  1. Intent specified in the cursor returned from the search (SUGGEST_COLUMN_INTENT_ACTION).
  2. Intent specific in the searchable.xml file with the searchSuggestIntentAction value.
  3. Defaults to ACTION_VIEW.

In addition, the Assistant will also pass an extra to signal if playback should begin immediately. You app should be able to handle the intent and expect a boolean extra called EXTRA_START_PLAYBACK.

import static android.support.v4.content.IntentCompat.EXTRA_START_PLAYBACK;

public class SearchableActivity extends Activity {

   @Override
   protected void onCreate(@Nullable Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       if (getIntent() != null) {
           // Retrieve video from getIntent().getData().

           boolean startPlayback = getIntent().getBooleanExtra(EXTRA_START_PLAYBACK, false);
           Log.d(TAG, "Should start playback? " + (startPlayback ? "yes" : "no"));

           if (startPlayback) {
               // Start playback.
               startActivity(...);
           } else {
               // Show details for movie.
               startActivity(...);
           }
       }
       finish();
   }
}

You can test this by modifying and running the following adb command. If your app has a custom action, then replace android.intent.action.VIEW with the custom action. Replace the value of the -d argument with the URI you return from the Assistant’s query.

adb shell 'am start -a android.intent.action.VIEW --ez
android.intent.extra.START_PLAYBACK true -d <URI> -f 0x14000000'

The -f argument is the logical OR value from FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP. This will force your activity to be freshly launched.

For example, in the sample app, you can run the following command to launch playback of “Big Buck Bunny” as if the assistant had launched it.

adb shell 'am start -a android.intent.action.VIEW --ez
android.intent.extra.START_PLAYBACK true -d 
content://com.example.android.assistantplayback/video/2 -n
com.example.android.assistantplayback/.SearchableActivity -f 0x14000000'

The URI above is defined by the value of android:searchSuggestIntentData in searchable.xml (content://com.example.android.assistantplayback/video/) in addition to the value of SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID (2) returned from the query.

Note that intents may be cached by the Google Assistant up to 7 days. Your app could receive a request to play content that is no longer available. The intent handler should be designed to be stateless and not rely on any previously knowledge to handle the deep link. Your app should gracefully handle this situation. One solution would be to show an error message and let the user land on your main activity or another relevant activity.

Playback

If your app implements MediaSession correctly, then your app should work right away with no changes.

The Google Assistant assumes that your app handles transport controls. The Assistant uses the TransportControls to send media commands to your app’s MediaSession. Video apps must support the following controls wherever possible:

  • Play/Pause/Stop
  • Previous/Next
  • Rewind/Fast Forward (implemented with seekTo())

You can easily get a hook for these controls by implementing a MediaSession.Callback. If you play videos using PlaybackTransportControlGlue, then all your callback needs to do it sync the glue and the MediaSession. Otherwise use this callback to sync your player.

public class MyMediaSessionCallback extends MediaSessionCompat.Callback {

   private final PlaybackTransportControlGlue<?> mGlue;

   public MediaSessionCallback(PlaybackTransportControlGlue<?> glue) {
       mGlue = glue;
   }

   @Override
   public void onPlay() {
       Log.d(TAG, "MediaSessionCallback: onPlay()");
       mGlue.play();
       updateMediaSessionState(...);
   }

   @Override
   public void onPause() {
       Log.d(TAG, "MediaSessionCallback: onPause()");
       mGlue.pause();
       updateMediaSessionState(...);
   }

   @Override
   public void onSeekTo(long position) {
       Log.d(TAG, "MediaSessionCallback: onSeekTo()");
       mGlue.seekTo(position);
       updateMediaSessionState(...);
   }

   @Override
   public void onStop() {
       Log.d(TAG, "MediaSessionCallback: onStop()");
       // Handle differently based on your use case.
   }

   @Override
   public void onSkipToNext() {
       Log.d(TAG, "MediaSessionCallback: onSkipToNext()");
       playAndUpdateMediaSession(...);
   }

   @Override
   public void onSkipToPrevious() {
       Log.d(TAG, "MediaSessionCallback: onSkipToPrevious()");
       playAndUpdateMediaSession(...);
   }
}

Continue learning

Check out the following articles and training documents to continue learning about MediaSession and Video apps.

To play around with the Google Assistant on Android TV, download the sample app and run it on Nvidia Shield running Android M or above.

If you would like to continue the discussion, leave a response or talk to me on Twitter.

Best commute ever? Ride along with Google execs Diane Greene and Fei-Fei Li

Best commute ever? Ride along with Google execs Diane Greene and Fei-Fei Li

Editor’s Note: The Grace Hopper Celebration of Women in Computing is coming up, and Diane Greene and Dr. Fei-Fei Li—two of our senior leaders—are getting ready. Sometimes Diane and Fei-Fei commute to the office together, and this time we happened to be along to capture the ride. Diane took over the music for the commute, and with Aretha Franklin’s “Respect” in the background, she and Fei-Fei chatted about the conference, their careers in tech, motherhood, and amplifying female voices everywhere. Hop in the backseat for Diane and Fei-Fei’s ride to work.

(A quick note for the riders: This conversation has been edited for brevity, and so you don’t have to read Diane and Fei-Fei talking about U-turns.)

fei-fei and diane.gif

Fei-Fei: Are you getting excited for Grace Hopper?

Diane: I’m super excited for the conference. We’re bringing together technical women to surface a lot of things that haven’t been talked about as openly in the past.

Fei-Fei: You’ve had a long career in tech. What makes this point in time different from the early days when you entered this field?

Diane: I got a degree in engineering in 1976 (ed note: Fei-Fei jumped in to remind Diane that this was the year she was born!). Computers were so exciting, and I learned to program. When I went to grad school to study computer science in 1985, there was actually a fair number of women at UC Berkeley. I’d say we had at least 30 percent women, which is way better than today.

It was a new, undefined field. And whenever there’s a new industry or technology, it’s wide open for everyone because nothing’s been established. Tech was that way, so it was quite natural for women to work in artificial intelligence and theory, and even in systems, networking, and hardware architecture. I came from mechanical engineering and the oil industry where I was the only woman. Tech was full of women then, but now less than 15 percent of women are in tech.

Fei-Fei: So do you think it’s too late?

Diane: I don’t think it’s too late. Girls in grade school and high school are coding. And certainly in colleges the focus on engineering is really strong, and the numbers are growing again.

Fei-Fei: You’re giving a talk at Grace Hopper—how will you talk to them about what distinguishes your career?

Diane: It’s wonderful that we’re both giving talks! Growing up, I loved building things so it was natural for me to go into engineering. I want to encourage other women to start with what you’re interested in and what makes you excited. If you love building things, focus on that, and the career success will come. I’ve been so unbelievably lucky in my career, but it’s a proof point that you can end up having quite a good career while doing what you’re interested in.

I want to encourage other women to start with what you’re interested in and what makes you excited. If you love building things, focus on that, and the career success will come.

Diane Greene

Fei-Fei: And you are a mother of two grown, beautiful children. How did you prioritize them while balancing career?

Diane: When I was at VMware, I had the “go home for dinner” rule. When we founded the company, I was pregnant and none of the other founders had kids. But we were able to build a the culture around families—every time someone had a kid we gave them a VMware diaper bag. Whenever my kids were having a school play or parent teacher conference, I would make a big show of leaving in the middle of the day so everyone would know they could do that too. And at Google, I encourage both men and women on my team to find that balance.

Fei-Fei: It’s so important for your message to get across because young women today are thinking about their goals and what they want to build for the world, but also for themselves and their families. And there are so many women and people of color doing great work, how do we lift up their work? How do we get their voices heard? This is something I think about all the time, the voice of women and underrepresented communities in AI.

Diane: This is about educating people—not just women—to surface the accomplishments of everybody and make sure there’s no unconscious bias going on. I think Grace Hopper is a phenomenal tool for this, and there are things that I incorporate into my work day to prevent that unconscious bias: pausing to make sure the right people were included in a meeting, and that no one has been overlooked. And encouraging everyone in that meeting to participate so that all voices are heard.

Fei-Fei: Grace Hopper could be a great platform to share best practices for how to address these issues.

…young women today are thinking about their goals and what they want to build for the world, but also for themselves and their families.

Dr. Fei-Fei Li

Diane: Every company is struggling to address diversity and there’s a school of thought that says having three or more people from one minority group makes all the difference in the world—I see it on boards. Whenever we have three or more women, the whole dynamic changes. Do you see that in your research group at all?

Fei-Fei: Yes, for a long time I was the only woman faculty member in the Stanford AI lab, but now it has attracted a lot of women who do very well because there’s a community. And that’s wonderful for me, and for the group.

Now back to you … you’ve had such a successful career, and I think a lot of women would love to know what keeps you going every day.

Diane: When you wake up in the morning, be excited about what’s ahead for the day. And if you’re not excited, ask yourself if it’s time for a change. Right now the Cloud is at the center of massive change in our world, and I’m lucky to have a front row seat to how it’s happening and what’s possible with it. We’re creating the next generation of technologies that are going to help people do things that we didn’t even know were possible, particularly in the AI/ML area. It’s exciting to be in the middle of the transformation of our world and the fast pace at which it’s happening.

Fei-Fei: Coming to Google Cloud, the most rewarding part is seeing how this is helping people go through that transformation and making a difference. And it’s at such a scale that it’s unthinkable on almost any other platform.

Diane: Cloud is making it easier for companies to work together and for people to work across boundaries together, and I love that. I’ve always found when you can collaborate across more boundaries you can get a lot more done.

To hear more from Fei-Fei and Diane, tune into Grace Hopper’s live stream on October 4. 

Access information quicker, do better work with Google Cloud Search

Access information quicker, do better work with Google Cloud Search

We all get sidetracked at work. We intend to be as efficient as possible, but inevitably, the “busyness” of business gets in the way through back-to-back meetings, unfinished docs or managing a rowdy inbox. To be more efficient, you need quick access to your information like relevant docs, important tasks and context for your meetings.

Sadly, according to a report by McKinsey, workers spend up to 20 percent of their time—an entire day each week—searching for and consolidating information across a number of tools. We made Google Cloud Search available to Enterprise and Business edition customers earlier this year so that teams can access important information quicker. Here are a few ways that Cloud Search can help you get the information you need to accomplish more throughout your day.

1. Search more intuitively, access information quicker

If you search for a doc, you’re probably not going to remember its exact name or where you saved it in Drive. Instead, you might remember who sent the doc to you or a specific piece of information it contains, like a statistic.

A few weeks ago, we launched a new, more intuitive way to search in Cloud Search using natural language processing (NLP) technology. Type questions in Cloud Search using everyday language, like “Documents shared with me by John?,” “What’s my agenda next Tuesday?,” or “What docs need my attention?” and it will track down useful information for you.

NLP GIF

2. Prioritize your to-dos, use spare time more wisely

With so much work to do, deciding what to focus on and what to leave for later isn’t always simple. A study by McKinsey reports that only nine percent of executives surveyed feel “very satisfied” with the way they allocate their time. We think technology, like Cloud Search, should help you with more than just finding what you’re looking for—it should help you stay focused on what’s important.

Imagine if your next meeting gets cancelled and you suddenly have an extra half hour to accomplish tasks. You can open the Cloud Search app to help you focus on what’s important. Powered by machine intelligence, Cloud Search proactively surfaces information that it believes is relevant to you and organizes it into simple cards that appear in the app throughout your workday. For example, it suggests documents or tasks based on which documents need your attention or upcoming meetings you have in Google Calendar.

3. Prepare for meetings, get more out of them

Employees spend a lot of time in meetings. According to a study in the UK by the Centre for Economics and Business, office workers spend an average of four hours per week in meetings. It’s even normal for us to join meetings unprepared. The same group surveyed feels like nearly half of the time (47%) spent in meetings is unproductive.

Thankfully, Cloud Search can help. It uses machine intelligence to organize and present information to set you up for success in a meeting. In addition to surfacing relevant docs, Cloud Search also surfaces information about meeting attendees from your corporate directory, and even includes links to relevant conversations from Gmail.

Start by going into Cloud Search to see info related to your next meeting. If you’re interested in looking at another meeting later in the day, just click on “Today’s meetings” and it will show you your agenda for the day. Next, select an event in your agenda (sourced from your Calendar) and Cloud Search will recommend information that’s relevant to that meeting.

GIF 2

Take back your time and focus on what’s important—open the Cloud Search app and get started today, or ask your IT administrator to enable it in your domain. You can also learn more about how Cloud Search can help your teams here.

Android Excellence: congratulations to the new apps and games for Fall 2017

Android Excellence: congratulations to the new apps and games for Fall 2017

Posted by Kacey Fahey, Developer Marketing, Google Play

Android Excellence recognizes some of the highest quality apps and games on
Google Play. With a strong focus on great design, an engaging user experience,
and strong app performance, this set of apps
and games
show the diversity of content on Google Play. Whether you’re trying to better
manage personal finances with Money
Lover
or want to experience the thrill of stunt-racing with stunning
graphics and real-time challenges in Asphalt
8
, there’s something for everyone to enjoy.

One new awardee is Bring!,
a simple-to-use app that helps manage your grocery lists. Use the existing
catalog of items or add your own product photos, then share your lists and
message in-app to let others know when it’s time to shop. If you’re looking for
a new game to play, Karma.
Incarnation 1.
is a “wonderfully weird, puzzle-filled indie adventure game.”
With beautiful hand-drawn art, you guide the story’s hero through moments of
humor and challenge to be reunited with his love.

Congratulations to the new Android Excellence apps and games for Fall 2017.

New Android Excellence
apps
New Android Excellence
games
Agoda Asphalt
8
AlarmMon Bubble
Witch 3 Saga
Bring! Castle
Creeps
CastBox Crab
War
Email
by Edison
Crash
of Cars
Eve Dan
the Man
Fotor Dawn
of Titans
Mint Dream
Defense
Money
Lover
Iron
Marines
Onefootball Karma.
Incarnation 1.
Robinhood Postknight
Viki Sky
Force Reloaded
Zombie
Age 3

Explore other great apps and games in the Editors’ Choice section on Google Play.


How useful did you find this blogpost?





Now anyone can explore machine learning, no coding required

Now anyone can explore machine learning, no coding required

From helping you find your favorite dog photos, to helping farmers in Japan sort cucumbers, machine learning is changing the way people use code to solve problems. But how does machine learning actually work? We wanted to make it easier for people who are curious about this technology to learn more about it. So we created Teachable Machine, a simple experiment that lets you teach a machine using your camera—live in the browser, no coding required.

Teachable Machine is built with a new library called deeplearn.js, which makes it easier for any web developer to get into machine learning. It trains a neural net right in your browser—locally on your device—without sending any images to a server. We’ve also open sourced the code to help inspire others to make new experiments.

Check it out at g.co/teachablemachine.