Android7.0新特性、新功能 

基本概念

1:  Google Duo

    Google Duo:Google Duo是一款视频通话工具应用APPGoogle DuoAllo视频辅助技术,即使网速不快也能流畅通话

2:  GMS

    GMS:全称为Google Mobile Service,即谷歌移动服务。GMSGoogle开发并推动Android的动力,也是Android系统的灵魂所在。

(1):基本介绍

GMS目前提供有SearchSearch by VoiceGmailContact SyncCalendar SyncTalkMapsStreet ViewYouTubeAndroid Market(ICS上更改为Play store)服务。当用户使用谷歌服务的时候,谷歌可以把广告嵌入各种谷歌的服务中,比如:用户在使用谷歌地图的时候,就能发现搜索地名关键字的广告。在使用谷歌移动搜索的时候,不用说,当然也是有广告的。谷歌其实是拿用户的注意力来换取广告主的金钱。而且Android智能手机操作系统其实也就是谷歌把自己的服务主动放到了手机上,进一步巩固自己的市场地位。

      (2):级别

依据GMS,谷歌对android手机给予不同程度的授权,把搭载Android系统的手机厂商分为三个级别,

1.免费使用Android操作系统,但不内嵌GMS

2.内嵌部分GMS服务,但手机不能打上谷歌的商标;

3.内嵌所有的GMS服务,也可以使用谷歌商标。。如果在android手机中内置有谷歌GMS服务的话,是等同被谷歌官方认证过的产品。

目前在市面上,只有少数的手机厂商通过了GMS认证,比如:

HTC宏达国际电子股份有限公司中国台湾

Samsung Electronics三星电子韩国

Motorola Mobility(摩托罗拉移动技术)美国

Sony Ericsson索尼爱立信英国

LG ElectronicsLG电子)韩国

Lumigon 丹麦陆力更手机公司丹麦

ARCHOS爱可视法国

TOSHIBA东芝日本

而在大陆地区,目前所有行货手机都不能通过GMS认证。GMS认证并不是想象的那么容易,谷歌要根据厂商的实力和地区因素来考虑是否认证。对于厂商来说,GMS除了获得更多的谷歌服务权限之外,还是拉开品牌区隔度的有效手段,也就是身份证明。由此可见从一个厂商是否通过GMS认证,来简单的判断这个厂商的综合能力。

 

      7.0变更部分

     37.0变更的部分:

1):全新下拉快捷开关页

在安卓7.0中,下拉打开通知栏顶部即可显示5个用户常用的快捷开关,支持单击开关以及长按进入对应设置。如果继续下拉通知栏即可显示全部快捷开关,此外在快捷开关页右下角也会显示一个编辑按钮,点击之后即可自定义添加/删除快捷开关,或拖动进行排序。

2):通知消息快捷回复

安卓7.0加入了全新的API,支持第三方应用通知的快捷操作和回复,例如来电会以横幅方式在屏幕顶部出现,提供接听/挂断两个按钮;信息/社交类应用通知,还可以直接打开键盘,在输入栏里进行快捷回复。

3):通知消息归拢

安卓7.0会将同一应用的多条通知提示消息归拢为一项,点击该项即可展开此前的全部通知,允许用户对每个通知执行单独操作。

4):夜间模式

安卓7.0中重新加入了夜间深色主题模式,该功能依然需要在系统调谐器中开启,从顶部下划打开快捷设置页,然后长按其中的设置图标,齿轮旋转10秒钟左右即可提示已开启系统调谐器,之后用户在设置中即可找到系统调谐器设置项。点开其中的色彩和外观,即可找到夜间模式,开启后即可使用全局的深色主题模式,同时亮度和色彩也会进行一定的调整,该功能可以基于时间或地理位置自动开启。另外,系统调谐器中也提供了RGB红绿蓝三色调节滑动条,允许用户手动精细调节,例如减少蓝色或增加红色以提供类似护眼模式的效果。

5):流量保护模式

安卓7.0新增的流量保护模式不仅可以禁止应用在后台使用流量,还会进一步减少该应用在前台时的流量使用。其具体实现原理目前尚不清楚,推测其有可能使用了类似Chrome浏览器的数据压缩技术。此外,谷歌还扩展了ConnectivityManager API的能力,使得应用可以检测系统是否开启了流量保护模式,或者检测自己是否在白名单中。安卓7.0允许用户单独针对每个应用,选择是否开启数据保护模式。

6):全新设置样式

安卓7.0启用了全新的设置样式,首先每个分类下各个子项之间的分割线消失了,只保留分类之间的分割线。全新的设置菜单还提供了一个绿色的顶栏,允许用户通过后方的下拉箭头,快速设定勿扰模式等。除了勿扰模式外,顶栏菜单还可以显示诸多其他的设置状态,例如数据流量的使用情况,自动亮度是否开启等。谷歌也在安卓7.0的设置中加入了汉堡菜单,在二级设置界面中的左上角,你就会看到这个汉堡菜单,点击后即可看到所有设置项,方便用户快速跳转。

7):改进的Doze休眠机制

谷歌在安卓7.0中对Doze休眠机制做了进一步的优化,在此前的安卓6.0中,Doze深度休眠机制对于改善安卓的续航提供了巨大的作用。而在安卓7.0中,谷歌对Doze进行了更多的优化,休眠机制的使用规则和场景有所扩展,例如只要手动在后台删掉应用卡片,关屏后该应用就会被很快深度休眠。

8):菜单键快速应用切换

双击菜单键,就能自动切换到上一个应用。此外,如果你不停地点击菜单键的话,就会在所有应用中不间断地轮换,应用窗口会自动放大,顶部还会出现倒计时条,停止点击且倒计时结束后,当前应用会自动放大并返回到前台。

 

Android N重点在三个方面做了改进

4Android N重点在三个方面做了改进,分别是性能、安全、生产力。当然这里介绍的都是一些大面上的关键变化,细节改进会非常之多

(1):首先,Android N正式支持Vulkan API,包括其全部特性,尤其是能够大大降低CPU系统开销,提升描绘指令(Draw Call),当然也支持预编译着色器,这对于应用、游戏开发无疑是个大好消息。

      Vulkan:一个跨平台的图形和计算API。它来自Khronos Group,面向现代GPUVulkan不只适用于智能手机,还适用于PC、控制器,甚至是嵌入  式设备。Vulkan 1.0规范是今年早些时候发布的。

2):应用编译与安装方面,Android N不会一股脑地全部进行AOT预先编译,而是结合JIT实时编译、混合编译,都针对每个应用进行优化,可大大提升应用安装速度、性能、存储和能效,号称安装速度比现在快最多75%。

3):安全方面,Android N将会支持基于文件的加密、媒体框架硬化、无缝升级,特别是最后一点,Android N会使用两个系统镜像来确保OTA更新顺利、安全。

Google发现,在多任务列表里,99%的人只会关注最近七个,所以Android N会自动移除更老的任务,同时增加了一个清除所有按钮(内存释放控可以满足了),而双击最近按钮会自动将最后一个使用的应用调到前台。

同时,分屏多任务也会正式加入进来。
通知同样得到了大幅改进,可以直接回复消息,长按通知可将其静音或者拦截。

 

文档部分摘要

5:变化摘要

(1):Core apps (subject to geo-availability)

● Google Play Store

● Google Search

● Chrome Browser

● Google Drive

● Gmail

● Google Duo1

● Maps

● Google Play Music

● Google Photos

● Google Play Movies

● YouTube

(2):Core apps for 512MB RAM devices

On devices with 512MB RAM2, the following apps constitute the Core GMS apps:

● Google Play Store

● Google Search

● Chrome Browser

● Gmail

● Google Duo 1

● Maps

● Google Photos

● YouTube

Google is actively optimizing Core GMS apps for devices with 512MB RAM devices. The improvements will

(3):Google Settings

一级菜单之间有横线,二级菜单没有分割的横线,如下图

 android 7.0新特性,新功能,GMS4.0新特性_第1张图片android 7.0新特性,新功能,GMS4.0新特性_第2张图片

4):Unknown sources

   未知的来源必须设置成禁止状态,以此保护用户

        

5):Developer Options Settings

● USB debugging MUST be off by default.

● Android 7.0 or later devices MUST provide a menu in the Settings app which allows users to switch

between available WebView providers on the device. Its user experience MUST align with the AOSP

Implementation.

       (6):  Doze Extended for Android 7.0

谷歌在安卓7.0中对Doze休眠机制做了进一步的优化,在此前的安卓6.0中,Doze深度休眠机制对于改善安卓的续航提供了巨大的作用。而在安卓7.0中,谷歌对Doze进行了更多的优化,休眠机制的使用规则和场景有所扩展,例如只要手动在后台删掉应用卡片,关屏后该应用就会被很快深度休眠。

 

2016.10.17 补充GMS4.0的新的变更:

 GMS变更部分

1Google Legal Settings

If device preloads GMS. Tapping the Google legal menu item brings up a pop-up activity which shows the

Google legal terms page. This mechanism is implemented by querying an activity which resolves

android.settings.TERMS intent. Currently, the GoogleServicesFramework app in GMS implements this

activity. GMS device implementations MUST preserve this mechanism, so that Google legal’ items can be

made available to the user.

2Location Settings

GMS devices are required to use the location provider implemented by Google Play services. As the Location settings menu in the AOSP Settings app heavily depend on the items injected with android.location.SettingInjectorService API, GMS device implementations MUST preserve this mechanism and the location settings item layouts in the Settings app.

Location Settings布局如下图所示:

                   android 7.0新特性,新功能,GMS4.0新特性_第3张图片

                        Location Settings布局

3:Developer Options Settings

   Android 7.0 or later devices MUST provide a menu in the Settings app which allows users to switch between available WebView providers on the device. Its user experience MUST align with the AOSP implementation.

4:Doze Extended for Android 7.0

    睡眠有新的扩展要求:

  Android 7.0 introduces the extended Doze mode which inherits all features of Android 6.0, and improves the battery saving performance by limiting further what an app can do in the background. All Android 7.0 or later handheld devices MUST support Doze Extended feature.

5:Runtime Permission

   要满足以下要求:

   (1):All preloaded applications that use a dangerous permission MUST be compiled against the Android

6.0 or later SDK regardless of whether the device is upgraded from Android 5.x or has a fresh install

of Android 6.0.

   (2):Android 6.0 GMS includes GooglePackageInstaller app, which is a Google-signed, prebuilt version of AOSP PackageInstaller. Every GMS device has to preload GooglePackageInstaller in place of AOSP PackageInstaller. Note that it has to be preloaded as a privileged app, since AOSP PackageInstaller becomes a privileged app in Android 6.0.If a device is updated from previous version of Android to 6.0, then the PackageInstaller.apk in the

  (3):pre-6.0 system image must be replaced by GooglePackageInstaller.apk during OTA update process.

6:Combined Chrome/WebView

    Chrome/WebView现在放到一起

7:Contacts Metadata Backup

   为避免客户更换手机导致联系人丢失,新增保存联系人的要求,具体如下:

   Android 7.0 allows users to backup such contacts metadata in addition to contacts data so that they can get the same exact contacts experience as they did on their old Android device, including usage stats, favorites,speed dial, custom merges, default photos, primary number + email settings, and more, when users get a new Android device.

   Android 7.0 GMS includes necessary framework overlay files to set Google Play services as the sync

adapter for the information.

products/gms_overlay/packages/providers/ContactsProvider/res/values/config.xml ) This

feature MUST be supported by all Android 7.0 handheld devices.

8:Daydream

   VRCore is a new optional GMS app for the Google VR Services, which is supported by Android 7.0 or later devices.

要求和相关认证如下:

(1):The device MAY preload VRCore app according to the geo-availability.For GMS devices that declare android.hardware.vr.high_performance feature flag:

(2):The partner MUST sign VR MADA addendum. Please contact your TAM/BD for this.

(3):The device MUST preload VRCore app according to the geo-availability and successfully complete Daydream-ready certification.

9 Google将在201610月中旬发布一个新的feature,在setting菜单中将可以查询到Device Certification status,将可以显示对应此软件版本是否已经通过Google CTS认证

具体如下文:

Device Certification status in Play 

A new feature is coming to the Google Play Store app in the upcoming release aimed for mid October that will enable end users, retailers, carriers, and OEMs to find the Device Certification status within the Settings menu. This shows whether the device build fingerprint was Google certified or not. This also indicates whether the device itself has a proper license for Google apps and has passed Google and Android compatibility testing. We encourage you to train your sales representatives to highlight this feature to end users at the point of sale. 

 

 

更多相关文章

  1. Android 内功心法(1.3)——android常用设计模式之观察者模式
  2. 解析 ViewTreeObserver 源码,体会观察者模式、Android消息传递(下)
  3. Android知识体系总结之Android部分之通知篇
  4. Android 学习笔记 —— Android 四大组件 与 MVC 架构模式
  5. Android总Activity的启动模式分为四种

随机推荐

  1. Android(安卓)UI开发第二十七篇――实现
  2. Android(安卓)插件化分析(3)- Activity启动
  3. android 手机欢迎界面不显示的问题?
  4. Android(安卓)开机视频
  5. Android(安卓)CursorAdapter
  6. android recovery模式流程
  7. Android(安卓)四大组件流程、Handler、As
  8. (ios实现)用c/c++混合编程方式为ios/andr
  9. Kotlin Android
  10. Android(安卓)N Settings 架构剖析