您的位置:首页 > 移动开发 > Android开发

android7.1新特性

2017-03-12 11:11 169 查看
1.You can use the new shortcuts feature
to bring users from the launcher directly to key actions within your app.can create a shortcut for any action 。Any
app can create shortcuts, and any launcher app can add support for shortcuts. Android 7.1 provides an API for apps to register shortcuts and launchers to read the registered shortcuts. For details, see the App
Shortcuts developer documentation.

可以使用新的快捷方式直接进入APP的某个主要功能里面。

2. Now in Android 7.1, the Android SDK includes the Commit Content API, which provides a universal
way for IMEs to send images and other rich content directly to a text editor in an app. The API is also available in v13 Support Library as of revision 25.0.0.

With this API, you can build messaging apps that accept rich content from any keyboard, as well as, keyboards that can send rich content to any app. For details, see the Image
Keyboard Support developer documentation

可以使用输入法输入图片和其他的多媒体内容。

3.With Android 7.1, we’re adding new emoji that represent a wider range of professions for women as well as men. 

增加了表情

4.You can now provide metadata about your live wallpapers to any component that’s displaying a preview of the wallpaper, such as a wallpaper picker app. You can show existing metadata
attributes such as label, description, and author, as well as new attributes for a context URL and title to link users to more information about the wallpaper.

可以提供壁纸的元数据给任何组件

5、Apps can now define circular launcher icons, which are used on devices that support them. 

可以使用圆形图标。

6、Apps can now fire an 
ACTION_MANAGE_STORAGE
 intent,
taking the user to the system's Free up space screen. 

增加了存储管理的intent,可以直接进入“”“Free up space”界面

7、Android 7.1 provides
new features to improve VR thread scheduling. Apps can now designate one thread as a VR thread. While the app is in VR
mode, the system will schedule that thread more aggressively to minimize latency. A process may only have one VR thread at a time, and the system may subject that thread to restrictions
on the amount of time it can run. The setting has no effect when the app is not in VR mode.

改善了VR线程的调度。现在可以指定VR线程,系统会自动调度VR线程减少延迟。一个进程只能有一个VR线程。

8、Apps
can now check to see if the device is running as the demo user.

支持检查是否运行在演示模式,新增接口 
UserManager.isDemoUser()。


9、The
system now provides new telephony features for carriers and telephone apps,、


支持新的运营商和通话API,


Multi-endpoint calling多方呼叫
CDMA voice privacy property语音私有特性
Source type support for Visual Voicemail虚拟语音邮件的源类型支持
Carrier configuration options for managing video telephony运营商配置选项可以用来支持视频通话
10、Android now supports several new screen densities for Wear devices, which more closely match some devices' physical specifications. This lets you fine-tune the graphics in
your Wear apps to the screens they'll be displayed on, if necessary.
支持可穿戴设备新的屏幕密度。

DENSITY_260

DENSITY_300

DENSITY_340
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: