Categories: AndroidNews

Android N Developer Preview now available

Google today announced   Developer Preview of the N release of Android ,the earlier preview allows us to hand off the final N release to device makers this summer, so they can get their hands on the latest version of Android earlier than ever. N Developer Preview includes an updated SDK with system images for testing on the official Android emulator and on Nexus 6, Nexus 5X, Nexus 6P, Nexus Player, Nexus 9, and Pixel C devices



Multi-window – A new manifest attribute called android: resizableActivity is available for apps targeting N and beyond. If this attribute is set to true, your activity can be launched in split-screen modes on phones and tablets. You can also specify your activity’s minimum allowable dimensions, preventing users from making the activity window smaller than that size. Lifecycle changes for multi-window are similar to switching from landscape to portrait mode: your activity can handle the configuration change itself, or it can allow the system to stop the activity and recreate it with the new dimensions. In addition, activities can also go into picture-in-picture mode on devices like TVs, and is a great feature for apps that play video

phones and tablets. Using the RemoteInput API enables users to reply to incoming message notifications quickly and conveniently, without leaving the notification shade.

Bundled notifications – With N, you can use the Notification.Builder.setGroup() method to group notifications from the same app together – for example individual messages from a messaging app. Grouped notifications can be expanded into individual notifications by using a two-finger gesture or tapping the new expansion button. Learn more here.

Efficiency –  In N, Doze additionally saves battery whenever the screen turns off. If you’ve already adapted your app for Doze, e.g. by using the GCM high priority message for urgent notifications, then you’re set; if not, here’s how to get started. Also, we’re continuing to invest in Project Svelte, an effort to reduce the memory needs of Android so that it can run on a much broader range of devices, in N by making background work more efficient. If you use JobScheduler for background work, you’re already on the right track. If not, N is a good time to make that switch. And to help you out, we’re making JobScheduler even more capable, so now you can use JobScheduler to react to things like changes to content providers.

Data saver: The data saver mode comes in handy when you are accessing the Internet using a mobile data plan. In Android N, the data saver mode is now available device-wide and users don’t have to set any threshold limit when the data saver feature should get activated. After activating the data saver mode from settings, the system blocks background data access to apps, which will help save data consumption.

Improved Java 8 language support – You can now use many popular Java 8 language features, including lambdas and more, on Android versions as far back as Gingerbread. The new features help reduce boilerplate code. For example, lambdas can replace anonymous inner classes when providing event listeners. Some Java 8 language features –like default and static methods, streams, and functional interfaces — are also now available on N and above



Stay connected with us for more Tech News Facebook Twitter Instagram YouTube Subscribe by Email

Recent Posts

CMF Phone 2 Pro vs Nothing Phone 3a Lite

Nothing has launched the Nothing Phone 3a Lite smartphone. Check out the price, specs, and…

5 hours ago

Nothing Phone (3a) Lite with Dimensity 7300 Pro Launched

Nothing has launched the Nothing Phone (3a) Lite smartphone. It has a 6.77-inch FHD+ 120Hz…

5 hours ago

OnePlus 15 to launch in India on November 13

OnePlus to launch the OnePlus 15 smartphone in India on November 13. OnePlus 15 has…

5 hours ago

Moto X70 Air with Snapdragon 7 Gen 4, 4800mAh Battery launched

Motorola has launched the Moto X70 Air smartphone in China. It features a sleek design…

1 day ago

OnePlus 15 vs iQOO 15

OnePlus has launched the OnePlus 15 with the Snapdragon 8 Elite Gen 5. Check out…

2 days ago

OnePlus Ace 6 with Snapdragon 8 Elite Launched

OnePlus has launched the OnePlus Ace 6 smartphone in China. It has a 6.83-inch 1.5K…

2 days ago