Communities and Collections
Posts
Post has attachment
Public
Part 2: Get hands-on with the #Android MediaPlayer API by building an audio player app from the ground up!
Learn here: goo.gl/cwbjLz
When you’re playing audio and you change your screen orientation, then there might be issues with playback. This article is just focused on MediaPlayer, and it doesn’t go into the client server architecture you would need to implement in order to handle audio playback in the background even when your app’s activities aren’t running or in the foreground.
Learn here: goo.gl/cwbjLz
When you’re playing audio and you change your screen orientation, then there might be issues with playback. This article is just focused on MediaPlayer, and it doesn’t go into the client server architecture you would need to implement in order to handle audio playback in the background even when your app’s activities aren’t running or in the foreground.
Post has attachment
Public
Optimize your #Android Wear 2.0 app w/ these design considerations for nav, notifications, and more
Learn here: goo.gl/937XPV
Wear 2.0 launched back in February with added support for new hardware features in addition to adopting new Material Design themes, guidelines, and a simpler vertical UI pattern. It also introduces a complications API, making it easier for apps to provide data to watch faces, and watch faces to incorporate external data. The final big update was that, apps targeting Wear 2.0 now have the ability to operate in a standalone mode, without needing a connection to a companion app on the phone.
Learn here: goo.gl/937XPV
Wear 2.0 launched back in February with added support for new hardware features in addition to adopting new Material Design themes, guidelines, and a simpler vertical UI pattern. It also introduces a complications API, making it easier for apps to provide data to watch faces, and watch faces to incorporate external data. The final big update was that, apps targeting Wear 2.0 now have the ability to operate in a standalone mode, without needing a connection to a companion app on the phone.
Post has attachment
Public
New features in ConstraintLayout help you build various types of layouts using chains and setting size as a ratio
Check out our post here: goo.gl/nFWF2V
When using ConstraintLayout, your app can advantage of remarkable UI performance benefits and improved layout editor support during development. In almost all cases when you would have previously needed a deeply-nested layout, ConstraintLayout should be your go-to layout for optimal performance and ease of use.
Check out our post here: goo.gl/nFWF2V
When using ConstraintLayout, your app can advantage of remarkable UI performance benefits and improved layout editor support during development. In almost all cases when you would have previously needed a deeply-nested layout, ConstraintLayout should be your go-to layout for optimal performance and ease of use.
Post has attachment
Public
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.
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.
Post has attachment
Public
Inkspace is an Android Experiment drawing tool that uses the accelerometer to show you your drawings in 3D
Read more here: http://goo.gl/nfVfgb
Inkspace was built using OpenFrameworks (http://www.openframeworks.cc/) an open source C++ toolkit for creative coding that works on a variety platforms, including Android. On android (as well as platforms like the rPI) it uses a makefile system, which the eclipse IDE interacts with, to compile and run your app.
Read more here: http://goo.gl/nfVfgb
Inkspace was built using OpenFrameworks (http://www.openframeworks.cc/) an open source C++ toolkit for creative coding that works on a variety platforms, including Android. On android (as well as platforms like the rPI) it uses a makefile system, which the eclipse IDE interacts with, to compile and run your app.
Post has attachment
Start on Android and succeed on Google Play
Apply to work with us: goo.gl/fyWPLh
Are you a startup or independent dev planning to launch your Android app or game on Google Play, or have done so in the past 6 months? Apply to work with us to gain access to tools, perks, guidance, and other great benefits with Start on Android!
Apply to work with us: goo.gl/fyWPLh
Are you a startup or independent dev planning to launch your Android app or game on Google Play, or have done so in the past 6 months? Apply to work with us to gain access to tools, perks, guidance, and other great benefits with Start on Android!
Post has attachment
Get acquainted with the Android MediaPlayer API by going on a journey to build a simple audio player app with us!
Learn more here: goo.gl/6EAkwV
Android Media APIs encompass a lot of advanced functionality that allow developers to create rich media experiences. They include things like ExoPlayer, MediaSession, audio focus, volume shaping, and lots of other amazing capabilities just around media playback and control.
Learn more here: goo.gl/6EAkwV
Android Media APIs encompass a lot of advanced functionality that allow developers to create rich media experiences. They include things like ExoPlayer, MediaSession, audio focus, volume shaping, and lots of other amazing capabilities just around media playback and control.

Post has attachment
Public
Want to learn about the new 'Install unknown apps' permission and the security benefits it brings for both Android users and developers?
Learn all about them here: goo.gl/akzriS
In Android O, the 'Install unknown apps' permission makes it safer to install apps from unknown sources. This permission is tied to the app that prompts the install— just like other runtime permissions—and ensures that the user grants permission to use the install source before it can prompt the user to install an app.
Learn all about them here: goo.gl/akzriS
In Android O, the 'Install unknown apps' permission makes it safer to install apps from unknown sources. This permission is tied to the app that prompts the install— just like other runtime permissions—and ensures that the user grants permission to use the install source before it can prompt the user to install an app.
Post has attachment
We’ve been listening. We are continuing to make the leanback API v26 even better for developing engaging user experiences
Learn about a few of the new components in this mini series:
goo.gl/1c275V and goo.gl/Mk235B
Learn about a few of the new components in this mini series:
goo.gl/1c275V and goo.gl/Mk235B
Post has attachment
Public
Are your background services & broadcast receivers ready for Android Oreo?
Learn more in our video here: goo.gl/WQciXY
Android Oreo introduces important background execution limits that all developers should be aware of, such as not being able to freely launch services from the background and restrictions on implicit broadcast receivers.
Learn more in our video here: goo.gl/WQciXY
Android Oreo introduces important background execution limits that all developers should be aware of, such as not being able to freely launch services from the background and restrictions on implicit broadcast receivers.
Wait while more posts are being loaded


