Google has released the final, public version of Android P. The latest operating system will henceforth be known as Android 9 Pie. The new platform gains APIs galore and Google wants developers to get to work optimizing their apps with the latest tools.
Google’s VP of Engineering, David Burke, says it is important for developers to test their apps for compatibility with Android 9 as soon as possible. “Just install your current app from Google Play on a device or emulator running Android 9. As you work through the flows, make sure your app runs and looks great, and that it handles the Android 9 behavior changes properly,” said Burke in a blog post.
One of the biggest behavior changes is the new user interface, which drops the multitasking button in favor of swiping gestures.
Developers should watch for uses of non-SDK interfaces in their apps, as Android 9 restricts access to some non-SDK interfaces. Burke suggests developers reduce their reliance on such tools.
Once you’ve given your app the once-over, Google recommends publishing to Google Play immediately. Be sure not to change the app’s platform targeting. This lets Android 9 users enjoy using the app while you take advantage of the Android 9 APIs to enhance it further.
Ready to start? Download the official API 28 SDK and assorted tools into either Android Studio 3.1 or 3.2. Developer will need to update their project’s compileSdkVersion to API Level 28. Once targeted at the new API level, be sure the app supports all the new behaviors.
When your app has fully adopted Android 9, developers can publish the APK updates to Google Play. Want feedback first? Try using Google Play’s beta testing feature.
Which devices have access to Android 9. As expected, Google’s own hardware is the first to receive the new OS. The Pixel, Pixel XL, Pixel 2, and Pixel 2 XL can all find Android 9 via the settings menu. Essential also made Android 9 Pie available to its PH1 Essential Phone. Developers who’ve participated in the Android Developer Preview should receive the final build over-the-air.
This officially concludes the Android 9 Developer Preview program. As such, the issue tracker is being closed so feedback concerning Android 9 will need to be issued against Pie in the AOSP issue tracker. the Android 9 platform a great one for developers and consumers.