Postingan

Menampilkan postingan dengan label APIs

Working with Multiple JobServices

Posted by Isai Damier, Software Engineer, Android DA Working with Multiple JobServices In its continuous effort to improve user experience, the Android platform has introduced strict limitations on background services starting in API level 26. Basically, unless your app is running in the href="https://developer.android.com/about/versions/oreo/background.html#services">foreground , the system will stop all of your app's background services within minutes. As a result of these restrictions on background services, JobScheduler jobs have become the de facto solution for performing background tasks. For people familiar with services, JobScheduler is generally straightforward to use: except in a few cases, one of which we shall explore presently. Imagine you are building an Android TV app. Since channels are very important to TV Apps, your app should be able to perform at least five different background operations on channels: publish a channel, add programs to a channel, s...

Android Testing Support Library 1.0 is here!

Gambar
Posted by Michael Amygdalidis, Stephan Linzner and Nick Korostelev from the Mobile-Ninjas team at Google We're pleased to announce the version 1.0 release of the Android Testing Support Library (ATSL). ATSL version 1.0 is a major update to our existing testing APIs and comes with lots of new features, improved performance, stability, and bug fixes. It provides full API parity with the now deprecated Android platform testing APIs. This release also adds a number of features that we discussed in our href="https://www.youtube.com/watch?v=pK7W5npkhho">Google I/O 2017 talk, such as native support for href="https://developer.android.com/training/testing/espresso/multiprocess.html">Multiprocess Espresso and the href="https://developer.android.com/training/testing/junit-runner.html#using-android-test-orchestrator">Android Test Orchestrator . We are also happy to announce that, starting with version 1.0, we're distributing releases on Google'...

Welcome to your New Home on Android TV

Posted by Paul Saxman , Android Devices and Media Developer Relations Lead src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9kf-UXnjVJESMfbuzC-1fFbpnYyXmglBUfu1JZmB3NX1FB8TMhmki8o5DAtcBaMWlf2b9ctuqdboooFZoaQkGnC84mAzRC9JM0bRkgli4AD3EhLZrMUpaoiAtBiaSvvUZwaP5SwNb2bKN/s1600/image1.png" /> Android TV brings rich app experiences and entertainment to the biggest screen in your house, and with Android O, we’re making it even easier for users to access content from their favorite apps. We’ve built a new, content-centric home screen experience for Android TV, and we're bringing the Google Assistant to the platform as well. These features put content that users want to access a few clicks, or spoken words, away. The New Android TV Home Screen The new Android TV home screen organizes video content into channels and programs in a way that’s familiar to TV viewers. Each Android TV app can publish multiple channels, which are represented as rows of programs on th...