apk.fm / News / Android Developers Blog: The Beta for Android 13 is out now: Android 13 Beta 1

Android Developers Blog: The Beta for Android 13 is out now: Android 13 Beta 1


Posted by Dave Burke, VP of Engineering

Android13 Logo

It’s already April and we’ve been making regular progress refining the options and stability of Android 13, constructing round our core themes of privateness and safety, developer productiveness, in addition to pill and huge display help. Right this moment we’re transferring into the following part of our cycle and releasing the primary Beta of Android 13.

For builders, there’s lots to discover in Android 13, from privateness options like the brand new notification permission and picture picker, to APIs that assist you construct nice experiences, like themed app icons, fast settings tile placement, and per-app language help, in addition to capabilities like Bluetooth LE audio and MIDI 2.0 over USB. In Beta 1, we’ve added new permissions for extra granular entry to media information, improved audio routing APIs, and extra. We’ll have extra to share at Google I/O, arising on Might 11-12, so please save the date!

We’re inviting you to offer Beta 1 a attempt as we welcome extra early adopters to give us suggestions on this launch. You’ll be able to attempt Android 13 Beta 1 immediately on supported Pixel units by enrolling right here to get the replace over-the-air. If you happen to’re already operating a developer preview of Android 13, your machine will robotically get this and future updates over the air. As at all times, downloads for Pixel and the Android Emulator are additionally accessible. Go to the Android 13 developer web site for particulars on get began growing and testing your app.

What’s new in Beta 1?

We’re persevering with to give attention to privateness and safety, whereas providing you with new APIs that will help you construct nice experiences in your customers. Beta 1 contains the most recent updates to options we introduced earlier, like the brand new notification permission, picture picker, themed app icons, improved localization and language help, and extra. Beta 1 additionally introduces a small variety of new options, so give these a attempt to tell us what you assume!

Extra granular permissions for media file entry – Beforehand, when an app needed to learn shared media information in native storage, it wanted to request the READ_EXTERNAL_STORAGE permission, which gave entry to all forms of media information. To deliver extra transparency and management to customers, we’re introducing a brand new set of permissions with extra granular scope for accessing shared media information.

With the brand new permissions, apps now request entry to a selected kind of file in shared storage:

Allow My App to access music and other audio files on this device

When the permissions are granted by the person, apps can have learn entry to the respective media file sorts. To simplify the expertise for customers, If an app requests READ_MEDIA_IMAGE and READ_MEDIA_VIDEO on the identical time, the system shows a single dialog for granting each permissions. In case your app accesses shared media information, you’ll must migrate to the brand new permissions when your app targets Android 13. Extra right here.

Higher error reporting in Keystore and KeyMint – For apps that generate keys, Keystore and KeyMint now present extra detailed and correct error indicators. We’ve added an exception class hierarchy below java.safety.ProviderException, with Android-specific exceptions that embrace Keystore/KeyMint error codes, and whether or not the error is retryable. You can even modify the strategies for key technology, signing, and encryption to throw the brand new exceptions. The improved error reporting ought to now offer you what it’s essential to retry key technology.

Anticipatory audio routing – To assist media apps determine how their audio goes to be routed, we’ve added new audio route APIs within the AudioManager class. The brand new getAudioDevicesForAttributes() API permits you to retrieve a listing of units that could be used to play the required audio, and we added the getDirectProfilesForAttributes() API that will help you perceive whether or not your audio stream could be performed immediately. Use these new APIs to find out one of the best AudioFormat to make use of in your audio observe.

App compatibility

If you happen to haven’t examined your app for compatibility with Android 13 but, now’s the time to do it! With Android 13 now in Beta, we’re opening up entry to early-adopter customers in addition to builders. Which means within the weeks forward, you may anticipate extra customers to be attempting your app on Android 13 and elevating any points that they discover.

To check for compatibility, set up your printed app from Google Play or different source on a tool or emulator operating Android 13 Beta and work by way of all the app’s flows. Evaluation the habits adjustments to focus your testing. After you’ve resolved any points, publish an replace as quickly as attainable.


With Beta we’re getting nearer to Platform Stability in June 2022. Beginning then, app-facing system behaviors, SDK/NDK APIs, and non-SDK lists might be finalized. At the moment, you must end up your closing compatibility testing and launch a totally suitable model of your app, SDK, or library. Extra on the timeline for builders is right here.

Get began with Android 13!

Right this moment’s Beta launch has all the things it’s essential to attempt the Android 13 options, take a look at your apps, and provides us suggestions. Simply enroll any supported Pixel machine right here to get this and future Android 13 Beta and have drop Beta updates over-the-air. If you happen to’ve already put in a developer preview construct, you’ll robotically get these updates. To get began growing, arrange the SDK.

For even broader testing on supported units, attempt Android 13 Beta on Android GSI photographs, and when you don’t have a tool you may take a look at on the Android Emulator — simply obtain the most recent emulator system photographs by way of the SDK Supervisor in Android Studio.

For full particulars on get the Beta, go to the Android 13 developer web site.

Source hyperlink

Take a comment