Posted by Dave Burke, VP of Engineering
We’re only a few weeks away from the official launch of Android Q! As we put the ultimate polish on the brand new platform, at this time we’re rolling out Beta 6, the final Beta replace. Now’s the time to ensure your apps are prepared, earlier than we convey the official launch to customers. Take this chance to complete up your testing and publish your app updates quickly to provide customers a clean transition to Android Q.
You may get Beta 6 at this time on Pixel gadgets by enrolling right here. If you happen to’re already enrolled and obtained Beta 5, you may routinely get Beta 6 quickly. Companions collaborating within the Android Q Beta program can even be updating their gadgets over the approaching weeks — go to their websites to study extra. To get began with Android Q, go to developer.android.com/preview.
Look ahead to extra data on the official Android Q launch coming quickly!
What’s in Beta 6?
As we speak’s Beta 6 replace consists of the newest Android Q system photographs for Pixel and Android Emulator, the ultimate API 29 SDK, and up to date construct instruments for Android Studio. Beta 6 consists of the entire options, system behaviors, and developer APIs that you simply’ll discover within the ultimate platform, so it offers you every thing it’s good to get your apps prepared. For customers, Beta 6 consists of many new fixes and optimizations — check out the discharge notes for particulars.
We have made additional refinements to Gesture Navigation in Beta 6 primarily based on person suggestions. First, to make sure dependable and constant operation, there is a 200dp vertical app exclusion restrict for the Again gesture. Second, we have added a sensitivity desire setting for the Again gesture. Look ahead to extra particulars coming quickly in our weblog put up collection on optimizing for gesture navigation.
Get your apps prepared for Android Q!
With the patron launch coming quickly, we’re asking all Android builders to replace your present apps for compatibility as quickly as attainable.
Right here’s the way to do it:
Set up your app on Android Q: Set up your present app from Google Play onto an Android Q Beta system or emulator, then check. Your app ought to look nice and run properly, with full performance, and deal with the entire Android Q conduct modifications correctly. Look ahead to impacts from privateness modifications, gestural navigation, modifications to dynamic linker paths for Bionic libraries, and others.
Check with the Android Q privateness options, equivalent to the brand new location permissions, restrictions on background exercise begins, modifications to information and identifiers, and others. See the privateness guidelines to get began, and evaluate the conduct modifications doc for extra areas to check.
Check for makes use of of restricted non-SDK interfaces and transfer to public SDK or NDK equivalents as an alternative. Particulars right here.
Check the libraries and SDKs in your app: If you happen to discover a difficulty, strive updating to the newest model of the SDK, or attain out to the SDK developer for assist. It’s also possible to report SDK compatibility points right here.
Replace and publish your appropriate app: If you’ve completed your testing and made any updates, we suggest publishing your appropriate app immediately. This lets Android Beta customers check the app now, and helps you ship a clean transition to customers as they replace to Android Q.
We understand that supporting these modifications is an funding for you too, so because of all of you who’ve prioritized the work to get your apps prepared for Android Q!
Improve your app with Android Q options and APIs
Subsequent, if you’re prepared, dive into Android Q and study in regards to the new options and APIs that you should use. Listed below are among the high options to get began with.
We suggest these for each app:
Darkish Theme: Guarantee a constant expertise for customers who allow system-wide darkish theme by including a Darkish Theme or enabling Pressure Darkish.
Help gestural navigation in your app by going edge-to-edge and ensuring your customized gestures are complementary to the system navigation gestures.
Optimize for foldables: Ship seamless, edge-to-edge experiences on at this time’s progressive gadgets by optimizing for foldables.
We suggest these if related in your app:
Extra interactive notifications: In case your notifications embrace messages, allow instructed replies and actions in notifications to interact customers and allow them to take motion immediately.
Higher biometrics: If you happen to use biometric auth, transfer to BiometricPrompt, the popular solution to assist fingerprint auth on fashionable gadgets.
Enriched recording: To assist captioning or gameplay recording, allow audio playback seize — it’s an effective way to succeed in extra customers and make your app extra accessible.
Higher codecs: For media apps, strive AV1 for video streaming and HDR10+ for prime dynamic vary video. For speech and music streaming, you should use Opus encoding, and for musicians, a local MIDI API is offered.
Higher networking APIs: In case your app manages IoT gadgets over Wi-Fi, strive the brand new community connection APIs for capabilities like configuring, downloading, or printing.
These are only a few of the various new options and APIs in Android Q — to see all of them, go to the Android Q Beta web site for builders.
Publish your app updates to Google Play
As quickly as you are prepared, publish your APK updates to Google Play which are compiled in opposition to, or optionally focusing on, API 29. To make it possible for your up to date app runs properly on Android Q in addition to older variations, strive utilizing Google Play testing tracks. With tracks you’ll be able to safely get early suggestions from a small group of customers after which do a staged rollout to manufacturing.
How do I get Beta 6?
It’s simple! Simply enroll any supported Pixel system right here to get the replace over-the-air. If you happen to’re already enrolled, you may obtain the replace quickly and no motion is required in your half. Downloadable system photographs are additionally obtainable right here. Companions who’re collaborating within the Android Q Beta program can be updating their gadgets over the approaching weeks. See android.com/beta for particulars.
To get began creating, obtain the official API 29 SDK and instruments into the steady launch of Android Studio three.four, or for the newest Android Q assist replace to Android Studio three.5 Beta. Then observe these directions to configure your setting, and see the discharge notes for identified points.
Please proceed to share your suggestions and requests in our problem tracker. You should utilize our hotlists for submitting platform points (together with privateness and conduct modifications), app compatibility points, and third-party SDK points.
A giant thanks to our developer neighborhood in your participation in our latest Reddit AMA on r/androiddev! It’s at all times nice to listen to what’s essential to you and we hope we have been in a position to assist!