Elements Of Android Q 0.5 » MIRLIB.RU - ТВОЯ БИБЛИОТЕКА
Категория: КНИГИ » ПРОГРАММИРОВАНИЕ
Elements Of Android Q 0.5
/
Название: Elements Of Android Q 0.5
Автор: Mark L. Murphy
Издательство: CommonsWare, LLC
Год: 2019
Страниц: 109
Язык: английский
Формат: pdf (true), rtf, epub
Размер: 10.1 MB

Эта книга предназначена для разработчиков с опытом разработки приложений для Android более 1 года. Если вы новичок в Android, перед тем как продолжить читать эту книгу, подумайте о прочтении «Элементы Android Jetpack», «Изучение Android» или их обоих. Также обратите внимание, что примеры в этой книге написаны на Kotlin.

This book is designed for developers with 1+ years of Android app development experience. If you are fairly new to Android, please consider reading Elements of Android Jetpack, Exploring Android, or both, before continuing with this book.
Also note that this book’s examples are written in Kotlin.

One of the bigger privacy issues in Android is the availability of location data. Users like certain types of apps, such as navigation assistants, knowing where the user is. Users do not like arbitrary use of location data, though, and various ad networks and malicious apps have been harvesting location data inappropriately.
So, in Android Q, location access gets locked down even further than before.

Background Location Access
The change that will get the most attention is that there are new limitations on getting location data in the background. There are two main scenarios for this:
• The app had been in the foreground, but the user switches to another app. For example, the user might be using a navigation app but then receive a phone call, at which point the device UI switches to an in-call screen. Ideally, the navigation app will continue to receive location data, despite being (temporarily) in the background… but in Android Q, this requires a bit of additional work.
• The app is operating purely in the background (e.g., JobScheduler jobs) and wants to get the user’s location. This requires an additional permission on Android Q.

What’s New in Version 0.5?
Since Q Beta 5 did not change any APIs from Q Beta 4, there were few changes in this update.
A short new chapter was added on how to use PackageInstaller, now that ACTION_INSTALL_PACKAGE is deprecated.
Most of the remaining changes are bug fixes.

Скачать Elements Of Android Q 0.5







[related-news]
[/related-news]
Комментарии 0
Комментариев пока нет. Стань первым!