ArsTechnica

Gear & Gadgets / Product News & Reviews

Surprise! The Android N Developer Preview is out right now

Android N brings split-screen, redesigned notifications, and more power savings.

Google I/O is happening on May 18-20, but forget Google I/O—the developer preview of the next version of Android is launching right nowGoogle has posted the Android N Developer Preview for the Nexus 6P, Nexus 5X, Nexus 6, Pixel C Nexus 9, Nexus Player, and the General Mobile 4G, an Android One phone.

Before you get too invested in the interface on display here, it's worth noting that the Android M Developer Preview has gone through several designs (like the weird letter-indexed app drawer) and features (day/night mode) that have not made it to the Developer Preview. In fact, the whole point of this super-early preview seems to be to gather as much feedback as possible. "The sooner we hear from you, the more of your feedback we can integrate," Google says.

As we saw in the Android M Developer Preview, Google has been working hard on matching Windows and iOS by building a native side-by-side app mode in Android. For Android N, the feature is apparently ready for prime time. The gallery above shows off the feature, which works on tablets and phones—it looks a lot like what is currently shipping on Samsung phones. The one question mark is how to actually turn it on and control it. On Samsung phones and in the Android N app preview, for instance, buttons on the recent app screen would trigger split screen mode. There are no such buttons in the screenshots.

Like most of the big platform changes, developers will need to opt in to split-screen mode by targeting Android N and adding a new manifest attribute called android:resizableActivity to their apps. This attribute lets developers specify minimum allowable dimensions and whether to resize the app on the fly or kill the activity and redraw it with new dimensions. There's also a new "picture in picture" mode, which we presume turns apps into tiny floating windows.

The notification panel is totally redesigned, lining up perfectly with earlier leaks. Power controls now live at the top of the notification panel, and at the end is an expandable drop-down button. The card motif on the notification panel is gone, replaced by a more-minimal white sheet with thin line separators. You can now reply directly from a notification without having to open the app, a feature that uses the same RemoteInput API that Android Wear uses, so many apps are already compatible with it. 

Notifications can also be "bundled" now from a single app, which sounds a lot like how Android Wear works. Developers can choose to put an app's notification stack into a single line; tapping on the new expand button or using a two-finger gesture will then expand the bundled notifications.

Google's power-saving "Doze" mode has been improved in Android N, too. Previously, it only worked when the phone was stationary, but now Google says that "Doze additionally saves battery whenever the screen turns off." We'll have to dig into the exact implications of this change, but originally, Doze would disable network access and wake locks, with only apps using "high-priority messages" being able to push through Doze mode. Using this system every time the phone shuts off wouldn't be something that everyone would want, but we'll have to see how it works in practice. We'd guess that "screen off" is a less extreme version of Doze, while "stationary" is a stricter version. Google also says it has done more work on "Project Svelte," making Android run better on lower-specced devices.

Google has also previously talked about switching Android N's Java implementation from an Apache Harmony-base to the Oracle-licensed OpenJDK. With this change also comes the chance to update to Java 8, giving app developers the use of lambdas and other Java 8 features. The Java 8 features aren't exclusive to Android N; Google says that "many popular Java 8 language features" can be used in normal development and Android's "Jack" compiler will spit out an app compatible with Android 2.3 Gingerbread and above. With the switch to OpenJDK and its Jack compiler, Google says it's "looking forward to tracking the Java language more closely while maintaining backward compatibility."

As usual, the developer preview doesn't have a name yet—it's still just "Android N." However, Hiroshi Lockheimer, the head of Android, has been having a lot of fun teasing everyone about the new name, saying in a separate blog post, "What will the N-release be named? We’re nut tellin’ you yet." Will "Nutella" be the new name? Lockheimer also mentions that Google will " hand off the final N release to device makers this summer." Will OEMs get some time alone with Android N, or was that a release date window?

If you're interested in trying the Developer Preview, Google is launching the "Android Beta Program" over at g.co/androidbeta. It seems to just be over-the-air delivery of the Developer Preview, while the traditional full images are still available at developer.android.com/preview. Google warns that this preview is "for developers only and not intended for daily use or consumer use."

Those are all the features Google announced, but we haven't gotten to try out Android N yet for ourselves. There are certainly tons more goodies hidden inside. We'll load it up and be back for a full hands-on later.

Expand full story

You must to comment.