Connect with us

Android

Google Rolls Out The Second Android 14 Developer Preview

Google has released the second Developer Preview of Android 14, enhancing privacy, security, performance, developer productivity, and user customization.

It further refines the large-screen device experience on tablets, foldables, and more. Last month, Android 14’s first developer preview was released, bringing downloads for Pixel and a timeline for its release.

Supports tablets and foldable form factors

Android 14 brings a new level of convenience with support for tablets and foldable form factors. Google has provided get started with building for large screens and foldables to help developers jumpstart their apps.

Moreover, the app quality guidance for large screens contains detailed checklists to review your app. Plus, libraries supporting low latency stylus and motion prediction have been released.

Improved Privacy and security

Android 14 is committed to providing users with the highest quality platform for all, ensuring privacy and security are always at the core. With app sandboxing, open source code, and open app development, users have more control to protect their information.

Selected photos access with Photo Picker

Google recommends using the Photo Picker for permissionless access to media on Android 4.4 and later. For apps that use the visual media permissions (SDK 33+), Android 14 users can select which photos and videos to give access to. The permission choices are:

  • Allow access to all photos: the full library of all on-device photos & videos is available
  • Select photos: only the user’s selection of photos & videos will be temporarily available via MediaStore
  • Don’t allow: access to all photos and videos is denied

Credential manager

Android 14 introduces Credential Manager, a platform API supported by Google all the way back to Android 4.4 (API level 19) devices. The API makes sign-in simpler and more secure, with the ability to retrieve and store credentials with user-configured credential providers.

It even supports the industry standard for passwordless sign-in: passkeys, which work across different operating systems and browsers.

Safer implicit intents

Android 14 apps need to take extra precaution when creating pending intents with implicit intents. To prevent unexpected code paths, the intents must be made immutable or explicit; otherwise, an exception will be thrown.

Background activity launching

Android 10 and higher have restrictions in place to reduce background activity launching. With Android 14, foreground apps have more control over what activities other apps can start. To ensure an interruption-free experience, apps targeting Android 14 need to grant privileges when sending a PendingIntent or binding a Service.

Streamlining background work

Android 14 brings a range of improvements to make your experience smoother than ever. System health, battery life, and user experience get a boost thanks to streamlined background work.

Background optimizations

Developer Preview 2 has improved Android’s memory management system for better resource usage. Background work is now disallowed much faster than on Android 13, seconds after an app goes into the cached state, outside of conventional Android app lifecycle APIs like foreground services, JobScheduler and WorkManager.

Fewer non-dismissible notifications

Android 14 provides more control over notifications. With FLAG_ONGOING_EVENT, users can dismiss notifications on unlocked devices. However, when the device is locked, these notifications stay non-dismissible. Important notifications, such as system and device policy notifications, remain fully non-dismissible.

Improved App Store Experiences

Android 14 introduces several new PackageInstaller APIs that allow app stores to enhance their user experience:

  • requestUserPreapproval() enables deferred download of APKs until after installation approval.
  • setRequestUpdateOwnership() allows installers to indicate responsibility for app updates.
  • setDontKillApp() facilitates seamless installation of optional features using split APKs.
  • InstallConstraints API provides installers with a way to ensure app updates occur at an opportune moment.

Personalization – Regional Preferences

Personalization allows users to tailor their experience to their regional preferences. With Android, users can adjust temperature units, the first day of the week, and numbering systems to fit their needs.

This provides a discoverable and centralized location to change app preferences, and allows them to be backed up and restored. APIs, intents and a broadcast receiver for ACTION_LOCALE_CHANGED allow developers to build apps that adjust to the user’s preferences.

App compatibility

Google is working hard to ensure app compatibility in Android 14. For developers, now is the time to test the new features and provide feedback. Also, it’s a great opportunity to conduct compatibility tests and identify any necessary app changes.

You can do this without altering the targetSdkVersion by using the behavior change toggles in Developer Options. Platform Stability will be reached in June 2023, giving you several weeks to do your final testing before the official release.

Get started with Android 14 – Developer Preview 2

Pixel devices including the Pixel 7 Pro, Pixel 7, Pixel 6a, Pixel 6 Pro, Pixel 6, Pixel 5a 5G, Pixel 5, and Pixel 4a (5G) can install the Android 14 developer preview by flashing a system image – from here. If you do not own a Pixel device, you can use the 64-bit system image with the Android Emulator in Android Studio.

Android 14 Beta program

Google has announced that it will open up enrollment for the Android 14 Beta program once it reaches Beta releases. For now, the Android Beta program is not available for Android 14.

Speaking on the announcement, Dave Burke, VP of Engineering, said,

Today, we’re releasing the second Developer Preview of Android 14, building on the work of the first developer preview of Android 14 from last month with additional enhancements to privacy, security, performance, developer productivity, and user customization while continuing to refine the large-screen device experience on tablets, foldables, and more.

Recent

Redmi Note 12T Pro performance, Redmi Note 12T Pro price, Redmi Note 12T Pro specs, Redmi Note 12T Pro review, Redmi Note 12T Pro features, Redmi Note 12T Pro release date Redmi Note 12T Pro performance, Redmi Note 12T Pro price, Redmi Note 12T Pro specs, Redmi Note 12T Pro review, Redmi Note 12T Pro features, Redmi Note 12T Pro release date
Latest Devices34 mins ago

Redmi Note 12T Pro Teased Ahead of Launch

Redmi Note 12T Pro 144Hz display Dimensity 8200 Ultra 5080mAh battery teased ahead launch Xiaomi has started teasing the Redmi...

Acer Aspire 5 13th Gen Price And Specifications Acer Aspire 5 13th Gen Price And Specifications
Computer38 mins ago

Acer Aspire 5 13th Gen Price And Specifications

Acer Aspire 5 13th Gen Intel Core i5 / i7 RTX 2050 GPU launched in India After the recent unveiling...

News42 mins ago

HONOR 90 and HONOR 90 Pro Price And Specifications Announced

HONOR 90 and HONOR 90 Pro 6.7″ FHD+ 120Hz OLED curved display Snapdragon 7 Gen 1 & 8+ Gen 1...

MediaTek And NVIDIA Pioneer AI Accelerated Computing Automotive MediaTek And NVIDIA Pioneer AI Accelerated Computing Automotive
Chipset47 mins ago

MediaTek And NVIDIA Pioneer AI Accelerated Computing Automotive

MediaTek And NVIDIA Pioneer AI Accelerated Computing Automotive MediaTek and NVIDIA have joined forces to develop a comprehensive lineup of...

2nd Gen Satellite performance, 2nd Gen Satellite price, 2nd Gen Satellite specs, 2nd Gen Satellite review, 2nd Gen Satellite features, 2nd Gen Satellite release date 2nd Gen Satellite performance, 2nd Gen Satellite price, 2nd Gen Satellite specs, 2nd Gen Satellite review, 2nd Gen Satellite features, 2nd Gen Satellite release date
News52 mins ago

ISRO deploys GSLV-F12 with NVS-01 2nd Gen NavIC satellite

ISRO Deploys GSLV F12 NVS 01 2nd Gen NavIC Satellite ISRO today announced that it has successful deployed NVS-01, the...

Ambrane Crest Pro Price And Specifications Ambrane Crest Pro Price And Specifications
Wearables55 mins ago

Ambrane Crest Pro Price And Specifications

Ambrane Crest Pro 1.52″ display Rugged design Bluetooth calling up to 7 days of battery life launched for Rs 2499...

OnePlus 11 5G performance, OnePlus 11 5G price, OnePlus 11 5G specs, OnePlus 11 5G review, OnePlus 11 5G features, OnePlus 11 5G release date OnePlus 11 5G performance, OnePlus 11 5G price, OnePlus 11 5G specs, OnePlus 11 5G review, OnePlus 11 5G features, OnePlus 11 5G release date
News60 mins ago

OnePlus 11 5G Marble Odyssey Limited Edition launched India

OnePlus 11 5G Marble Odyssey Limited Edition launched India OnePlus has launched OnePlus 11 5G Marble Odyssey, the company latest...

BGMI is back Starts rolling out batches BGMI is back Starts rolling out batches
entertainment1 hour ago

BGMI is Back Starts Rolling Out Batches

BGMI is back Starts rolling out batches Krafton India has relaunched Battlegrounds Mobile India (BGMI), as promised, after almost a...

Karan Johar Praises Maniesh Paul After Rafuchakkar Teaser Karan Johar Praises Maniesh Paul After Rafuchakkar Teaser
entertainment14 hours ago

Karan Johar Praises Maniesh Paul After Rafuchakkar Teaser

Karan Johar praises Maniesh Paul after Rafuchakkar teaser Can’t wait see this Maniesh Paul is all set with his debut...

Kangana Ranaut performance, Kangana Ranaut price, Kangana Ranaut specs, Kangana Ranaut review, Kangana Ranaut features, Kangana Ranaut release date Kangana Ranaut performance, Kangana Ranaut price, Kangana Ranaut specs, Kangana Ranaut review, Kangana Ranaut features, Kangana Ranaut release date
entertainment14 hours ago

Kangana Ranaut Takes A Swipe At Priyanka Chopra Jonas “pay parity”

Kangana Ranaut takes a swipe at Priyanka Chopra Jonas’ “pay parity” revelation in Bollywood; says, Most A listers (women) films...