Profile cover photo
Profile photo
Chris Cartland
4,918 followers -
Let's do something awesome.
Let's do something awesome.

4,918 followers
About
Posts

Post has shared content
A coworker and I made a thing for media developers :)
Check out our Android Media Controller Tool APK

Get the code here: github.com/googlesamples/android-media-controller

Android provides a powerful set of media APIs that make it possible for multiple apps to work together to play media. This makes it easy for existing mobile apps that use audio services to integrate with Android Auto, Android Wear, the Google Assistant, and even other apps in the Android ecosystem (e.g. https://goo.gl/LTRoy3).

A good way to test these integrations is to use the products directly (e.g. using your media app with Android Auto). This is great for QA, but not ideal for development. A bug in a media app may only be exposed if Android Auto calls the API in a very specific order. Android developers may prefer to have an app that can quickly test all of the APIs, to ensure that Android Auto, Wear, or the Google Assistant can use them in any order.

We built the Android Media Controller tool to give developers another way to test media apps. This tool is an APK that uses the same TransportControls as Auto, Wear, and the Google Assistant for connecting to a MediaSession, playing media from a search, and playing a specific media item based on a media ID. Developers can use this tool to connect to their app and test all of the TransportControls in the Android Support Library and Android framework.

In order to utilize this tool, your app must allow connections to its MediaBrowserService. See how to control client connections to your MediaSession with onGetRoot() - https://goo.gl/SfRkAH.
Add a comment...

Post has attachment
Chris Cartland commented on a post on Blogger.
The Glide Typing features is something I missed a lot on iOS. Glad to see Google has been able to bring it over, and wow, along with a few more things as well.
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Just another day. #dogwoodweek8 #dogwood52
Photo
Add a comment...

Post has shared content
We just launched MediaBrowserServiceCompat. This has been a highly requested feature that allows you to easily expose your media and controls to other Android components, and it works with Android API 4+.
MediaBrowserServiceCompat and the modern media playback app
Pro-tip by @108723596340082219264

Media playback apps benefit greatly from being tightly integrated into the system and devices such as Android Auto and Android Wear, but these don’t need to one off integrations. Using MediaBrowserServiceCompat you can take advantage of a single communication protocol between your media playback service and your UI, Android Auto, and Android Wear.

Check out our blog post (https://goo.gl/e8udCG) for all the details on how it all works and how you can use it to #BuildBetterApps
Add a comment...

Post has attachment
"I love reading about music theory, because it puts words to things I already experience." ‪#‎dogwoodweek7‬ ‪#‎dogwood52
Photo
Add a comment...

Post has attachment
Photo
Add a comment...

Post has attachment
I made an attempt at manually creating an HDR image. This kind of sunset photo is impossible with (most) traditional cameras because the sun is too bright compared to the darker foreground.

My goal here is to capture what they eye sees naturally even when the camera can't.
Photo
Add a comment...

Post has attachment
I tried to capture this warm and relaxing afternoon in Cayucos while keeping the iconic Morro Rock as a landmark in the background.
Photo
Add a comment...

Post has attachment
You can watch Super Bowl 50 for free on Android TV. Nice work CBS Sports!
Add a comment...
Wait while more posts are being loaded