The Android 7.1 refresh presents an assortment of new elements and capacities for clients and designers. This archive features what's new for designers.
Application Shortcuts
You can utilize the new easy routes highlight to convey clients from the launcher straightforwardly to key activities inside your application. Clients basically long-press your application's launcher symbol to uncover the application's alternate routes, at that point tap on an easy route to bounce to the related activity. These easy routes are an awesome approach to draw in clients, and they let you surface the usefulness of your application even before clients dispatch your application.
Every easy route references an expectation, each of which dispatches a particular activity or undertaking, and you can make an alternate way for any activity that you can express as a plan. For instance, you can make plans for sending another instant message, reserving a spot, playing a video, proceeding with a diversion, stacking a guide area, and substantially more.
You can make alternate ways for your application statically by adding them to an asset document in the APK, or you can include them progressively at runtime. Static easy routes are perfect for basic activities, and dynamic alternate ways let you feature activities in view of clients' inclinations, conduct, area, et cetera. You can present to five easy routes in each of your applications. Note, notwithstanding, that some launcher applications don't demonstrate each alternate way you've enlisted for your application.
 |
Image keyboard support: Lets users input images and other content directly from a keyboard.
|
After your application includes alternate routes, they're accessible on any launcher that backings them, for example, the Pixel launcher (the default launcher on Pixel gadgets), the Now launcher (the default launcher on Nexus gadgets), and different launchers that offer help.
Any application can make easy routes, and any launcher application can include bolster for alternate ways. Android 7.1 gives an API to applications to enroll alternate routes and launchers to peruse the enlisted easy routes. For subtle elements, see the App Shortcuts designer documentation.
 |
Add captin
App shortcuts: Surface key actions and take users deep into your app instantly |
Picture Keyboard Support
Clients frequently need to speak with emojis, stickers, and different sorts of rich substance. In past adaptations of Android, delicate consoles (otherwise called input technique editors or IMEs) could send just unicode emojis to applications. For rich substance, applications needed to either construct application particular emojis that couldn't be utilized as a part of different applications, or utilize workarounds like sending pictures through an Easy Share Action or the clipboard.
Presently in Android 7.1, the Android SDK incorporates the Commit Content API, which gives an all inclusive approach to IMEs to send pictures and other rich substance specifically to a word processor in an application. The API is additionally accessible in v13 Support Library as of modification 25.0.0.
With this API, you can construct informing applications that acknowledge rich substance from any console, and in addition, consoles that can send rich substance to any application. For subtle elements, see the Image Keyboard Support designer documentation.
New Professional Emoji
With Android 7.1, we're including new emoji that speak to a more extensive scope of callings for ladies and men. The new emoji bring equality between our current male emoji and female emoji and are accessible in an assortment of skin tones.
In case you're a console or informing application designer, you should begin consolidating these emoji into your applications. You can powerfully check for the new emoji characters by calling Paint.hasGlyph().
 |
| Add caption |
Upgraded Live Wallpaper Metadata
You would now be able to give metadata about your live backdrops to any part that is showing a review of the backdrop, for example, a backdrop picker application. You can indicate existing metadata characteristics, for example, name, depiction, and creator, and in addition new qualities for a setting URL and title to interface clients to more data about the backdrop.
For more data, see the Android Developers blog.
Round Icon Resources
You can utilize the Image Asset apparatus to rapidly make roundabout symbol resources.
Applications would now be able to characterize roundabout launcher symbols, which are utilized on gadgets that help them. At the point when a launcher asks for an application symbol, the system returns either android:icon or android:roundIcon, contingent upon the gadget manufacture design. Along these lines, applications should make a point to characterize both android:icon and android:roundIcon assets when reacting to launcher goals. You can utilize Image Asset Studio to configuration round symbols.
You should make a point to test your application on gadgets that help the new roundabout symbols, to perceive how your roundabout application symbols look and how they are shown. One approach to test your assets is to run the Android emulator and utilize a Google APIs Emulator System focusing on API level 25. You can likewise test your symbols by introducing your application on a Google Pixel gadget.
 |
| Add caption |
For more data about outlining application launcher symbols, see the Material Design rules.
Capacity Manager Intent
Applications would now be able to flame an ACTION_MANAGE_STORAGE plan, taking the client to the framework's Free up space screen. For instance, if an application requires more space than is at present accessible, it can utilize this purpose to give the client a chance to erase unneeded applications and substance to free up adequate space.
Enhanced VR Thread Scheduling
Android 7.1 gives new components to enhance VR string booking. This is helpful since virtual reality applications are exceptionally inactivity delicate.
Applications would now be able to assign one string as a VR string. While the application is in VR mode, the framework will plan that string all the more forcefully to limit inactivity. A procedure may just have one VR string at once, and the framework may subject that string to limitations on the measure of time it can run. The setting has no impact when the application is not in VR mode.
To assign a string as a VR string, call the new ActivityManager.setVrThread() technique.
Demo User Hint
Applications would now be able to verify whether the gadget is running as the demo client.
Applications can call the new UserManager.isDemoUser() strategy to check whether the application is running in a demo client sandbox. This permits applications to alter the beginning knowledge to a potential client. For instance, when running as a demo client, an application may give more help to the client, or clarify its elements in more detail.
APIs for Carriers and Calling Apps
The framework now gives new communication components to bearers and phone applications, including:
Multi-endpoint calling
CDMA voice protection property
Source sort bolster for Visual Voicemail
Transporter design alternatives for overseeing video communication
New Screen Densities for Wear Devices
Android now bolsters a few new screen densities for Wear gadgets, which all the more nearly coordinate a few gadgets' physical determinations. This gives you a chance to calibrate the designs in your Wear applications to the screens they'll be shown on, if fundamental.
The new gadget densities are:
DENSITY_260
DENSITY_300
DENSITY_340