Android N for Developer Preview
Android N is still in active development, but you can try it now as part of the N Developer Preview. The sections below highlight some of the new features for developers.
Multi-window support
In Android N, we're introducing a new and much-requested multitasking feature into the platform — multi-window support.
Users can now pop open two apps on the screen at once.
- On phones and tablets running Android N, users can run two apps side-by-side or one-above-the-other in splitscreen mode. Users can resize the apps by dragging the divider between them.
- On Android TV devices, apps can put themselves in picture-in-picture mode, allowing them to continue showing content while the user browses or interacts with other apps.
Especially on tablets and other larger-screen devices, multi-window support gives you new ways to engage users. You can even enable drag-and-drop in your app to let users conveniently drag content to or from your app — a great way to enhance your user experience.
It's straightforward to add multi-window support to your app and configure how it handles multi-window display. For example, you can specify your activity's minimum allowable dimensions, preventing users from resizing the activity below that size. You can also disable multi-window display for your app, which ensures that the system will only show your app in full-screen mode.
For more information, see the Multi-Window Support developer documentation.
Timeline and updates
Notification enhancements
In Android N we've redesigned notifications to make them easier and faster to use. Some of the changes include:
- Template updates: We're updating notification templates to put a new emphasis on hero image and avatar. Developers will be able to take advantage of the new templates with minimal adjustments in their code.
- Bundled notifications: The system can group messages together, for example by message topic, and display the group. A user can take actions, such as Dismiss or Archive, on them in place. If you’ve implemented notifications for Android Wear, you’ll already be familiar with this model.
- Direct reply: For real-time communication apps, the Android system supports inline replies so that users can quickly respond to an SMS or text message directly within the notification interface.
- Custom views: Two new APIs enable you to leverage system decorations, such as notification headers and actions, when using custom views in notifications.
-
Android for Work
Android for Work adds many new features and APIs for devices running Android N. Some highlights are below — for a complete list of Android for Work updates related to Android N, please see Android for Work Changes.
Download For Nexus devices & general mobile 4G (Android One)
0 comments :
Post a Comment