DevCon 2025: Harness What's New in Android for Optimal Development

Presented by Rajeev Varma (Sr. Manager, Software Engineering) and Nicola De Zolt L. (Software Engineer) at Zebra.

Agenda

Security Features in Android 14/15

Android Security & Privacy Features

New OS features can impact apps in three ways: impacting all apps, apps targeting specific API levels, or new features.

Minimum Installable Target API: Android 14 requires a minimum target API level of 23, and Android 15 requires 24. Apps targeting older SDK versions may face compatibility issues or be blocked.

Credential Manager: A unified system for sign-in, supporting multiple methods like traditional passwords, Passkeys (FIDO Alliance standard), and federated sign-in solutions (Google, Apple, OAuth). It offers backward compatibility and a consistent user experience.

Screenshot Detection: A new API, Activity.ScreenCaptureCallback, allows apps to detect screenshots within their own bounds. This feature is relevant for privacy and prevents indiscriminate tracking. Note: This does not capture screenshots via Media Projection APIs. A method to block screenshots using activity.getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE) is available.

Screen Recording Detection: A callback is invoked when an app transitions between visible and invisible states during screen recording. An app is considered visible if its activities are being recorded.

Partial Screen Sharing: Users can share or record specific app windows instead of the entire screen. This feature includes MediaProjection callbacks for customization and enhances multitasking by allowing users to restrict content sharing to a single app.

Key Management for End-to-End Encryption: Android 15 introduces E2eeContactKeysManager for storing cryptographic public keys, enabling secure, end-to-end encrypted communication. Keys are identified by ownerPackageName, deviceId, and accountId.

Overlay Restrictions: For Zebra Android 13+, getWindow().setHideOverlayWindows(true) prevents non-system overlay windows from drawing on top of the calling window. Requires Manifest.permission.HIDE_OVERLAY_WINDOWS.

Zebra MX, Android Core and Performance Features

MX: A Closer Look at Zebra's Value Add

MX is an abstraction layer for application developers, providing access to over 300 Enterprise Grade APIs. Developers interface with well-defined Configuration Service Providers (CSPs) that remain stable.

MX Features:

Android Core and Performance Features

Exact Alarms:

Impacts all apps running on Android 14+. Starting with Android 12, setting exact alarms through the Alarm Service class is restricted. Android 13 introduced the USE_EXACT_ALARM permission, granted automatically but not revokable. Android 14 denies this permission by default, requiring explicit user consent. Backup and restore operations will not persist this permission.

Typed Foreground Services:

Impacts apps targeting API Level 34+. Android 14 requires apps to declare specific foreground service types (e.g., mediaPlayback, camera, location) for clarity and control. For use cases not fitting these types, migrating to WorkManager or user-initiated data transfer jobs is recommended.

Runtime Broadcast Receivers Export Behavior:

Impacts apps targeting API Level 34+. API Level 33 made the export specification optional for context-registered receivers. Receivers must specify RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED, unless only receiving system broadcasts.

Restrictions on BOOT_COMPLETED Broadcast Receivers:

Impacts apps targeting API Level 35+. BOOT_COMPLETED receivers cannot launch certain foreground services (e.g., dataSync, camera, mediaProjection, microphone), or a ForegroundServiceStartNotAllowedException will be thrown.

Loudness Control:

New feature in API 35. Android 15 introduces loudness standardization for a better user experience, aiming to avoid audio loudness inconsistencies. The LoudnessCodecController class provides recommended loudness parameter updates for audio decoders, optimizing audio for different output devices.

Improved Large Screen Multitasking:

New features in API 35. Android 15 enhances multitasking on large screen devices, allowing users to save split-screen app combinations and pin the taskbar for quick app switching.

Migrating, Debugging, Optimizing

Reduce Your Anxiety in Moving to the next Android Dessert

Key Points: Understand requirements for mobile devices and apps on Android 14, identify the best migration methods, and recognize the reasons for timely migration. Android 14 offers latest security patches, bug fixes, and new features.

Get your Team Up and Running on Android 14: Learn about OS changes, their impact on applications, and establish a periodic update plan.

Migration Roadmap

CASE #1: App targeting API 33/34, running on Android 13/14

CASE #2: App targeting API 29, running on Android 11

Debugging Tools

Compatibility Framework: Helps identify compatibility changes impacting an app. For example, an app targeting API 29 (Android 10) running on Android 14 shows no issues.

Emulating API 34 can help identify runtime exceptions.

Memory Optimization & Power Management Guidelines

Memory Optimization

Power Management

Availability of Android 14 & 15 for Zebra Devices

Android 14

Currently available for platforms including:

Android 15

To be released by Q3/Q4 2025.

Online References

Summary

Today we covered:

Questions?

PDF preview unavailable. Download the PDF instead.

cfw2-presentation-customer-facing-devcon2025-en-us

Related Documents

Preview Zebra Android 14 Release Notes - GMS
Official release notes for Zebra Android 14 (GMS) update, version 14-28-15.00-UG-U05-STD-HEL-04. Includes highlights, hardware compatibility, software packages, and detailed upgrade information for various Zebra devices.
Preview Zebra Android 11 Release Notes - Update 11-49-09.00-RG-U00-STD-HEL-04
Detailed release notes for Zebra Android 11, covering highlights, software packages, security updates, new features, and resolved issues for version 11-49-09.00-RG-U00-STD-HEL-04.
Preview Zebra Conversion Package HE_FULL_UPDATE_11-99-99.00-RN-U585-STD-HEL-04 Release Notes
Release notes for the Zebra Conversion Package HE_FULL_UPDATE_11-99-99.00-RN-U585-STD-HEL-04, covering highlights, software packages, migration details to Android 13, resolved issues, and version information for supported Zebra devices.
Preview Zebra Android 11 Release Notes: 11-61-11.00-RN-U00-STD-HEL-04
Comprehensive release notes for Zebra Android 11, version 11-61-11.00-RN-U00-STD-HEL-04. This document details highlights, software packages, security updates, new features, and resolved issues for various Zebra devices.
Preview Zebra Android 11 Release Notes: Update 11-61-11.00-RG-U00-STD-HEL-04
Detailed release notes for Zebra Android 11, version 11-61-11.00-RG-U00-STD-HEL-04. This document outlines software package updates, security enhancements, new features, and resolved issues for various Zebra devices.
Preview Zebra PTT Express for Android v4.0.23303 Release Notes - January 2024
Release notes for Zebra PTT Express for Android version 4.0.23303, detailing highlights, supported devices, rebranding, usage notes, known issues, and documentation for January 2024.
Preview Zebra PTT Pro Android Client Version 3.3.10331 Release Notes
Release notes for Zebra PTT Pro Android Client Version 3.3.10331, detailing new features, resolved issues, and known issues. Includes device and OS support information, important links to documentation, and a history of previous releases.
Preview Zebra Conversion Package Release Notes: HE_FULL_UPDATE_11-99-99.00-RG-U555-STD-HEL-04 (GMS)
Release notes for the Zebra Conversion Package HE_FULL_UPDATE_11-99-99.00-RG-U555-STD-HEL-04 (GMS), covering highlights, software packages, migration details for Android 13, version information, device support, known constraints, and important links.