谷歌Google SDK 对比 华为 HMS sdk,列表

岳奇逸
2023-12-01

Google Message Services sdk:gms

APIDescription in build.gradle
Google+com.google.android.gms:play-services-plus:17.0.0
Google Account Logincom.google.android.gms:play-services-auth:17.0.0
Google Actions, Base Client Librarycom.google.android.gms:play-services-base:17.1.0
Google Sign Incom.google.android.gms:play-services-identity:17.0.0
Google Analyticscom.google.android.gms:play-services-analytics:17.0.0
Google Awarenesscom.google.android.gms:play-services-awareness:18.0.0
Google Castcom.google.android.gms:play-services-cast:18.1.0
Google Cloud Messagingcom.google.android.gms:play-services-gcm:17.0.0
Google Drivecom.google.android.gms:play-services-drive:17.0.0
Google Fitcom.google.android.gms:play-services-fitness:18.0.0
Google Location and Activity Recognitioncom.google.android.gms:play-services-location:17.0.0
Google Mobile Adscom.google.android.gms:play-services-ads:18.3.0
Mobile Visioncom.google.android.gms:play-services-vision:19.0.0
Google Nearbycom.google.android.gms:play-services-nearby:17.0.0
Google Panorama Viewercom.google.android.gms:play-services-panorama:17.0.0
Google Play Game servicescom.google.android.gms:play-services-games:19.0.0
SafetyNetcom.google.android.gms:play-services-safetynet:17.0.0
Google Paycom.google.android.gms:play-services-wallet:18.0.0
Wear OS by Googlecom.google.android.gms:play-services-wearable:17.0.0

 

Huawei mobile service:hms


implementation'com.huawei.android.hms:hwid-tv:{version}'
implementation 'com.huawei.hms:hwid:{version}'
implementation 'com.huawei.hms:ads-lite:13.4.28.305'
implementation 'com.huawei.hms:ads-identifier:3.4.28.305'
implementation 'com.huawei.hms:ads-installreferrer:3.4.28.305'
implementation 'com.huawei.hms:hianalytics:4.0.1.300' 
implementation 'com.huawei.hms:awareness:{version}' 
implementation 'com.huawei.hms:drive:{version}'
implementation 'com.huawei.hms:push:{version}'
implementation 'com.huawei.hms:dtm-api:{version}'
implementation 'com.huawei.hms:iap:4.0.1.300'  
implementation 'com.huawei.hms:game:4.0.1.300'  
implementation 'com.huawei.hms:fido:4.0.0.300'
implementation 'com.huawei.hms:hihealth-base:{version}'
implementation 'com.huawei.hms:identity:{version}' 
implementation 'com.huawei.hms:location:{version}'
implementation 'com.huawei.hms:nearby:4.0.1.300'
implementation 'com.huawei.hms:panorama:{version}'
implementation 'com.huawei.hms:panorama-local:{version}'
implementation 'com.huawei.hms:safetydetect:4.0.0.300'
implementation 'com.huawei.hms:scan:{version}'
implementation 'com.huawei.hms:site:{version}'
implementation 'com.huawei.hms:maps:{version}'

// 引入基础SDK 
implementation 'com.huawei.hms:ml-computer-vision:1.0.2.300' 
// 引入中英文文字识别模型能力包 
implementation 'com.huawei.hms:ml-computer-vision-ocr-cn-model:1.0.2.300' 
// 引入日韩语文字识别模型能力包 
implementation 'com.huawei.hms:ml-computer-vision-ocr-jk-model:1.0.2.300' 
// 引入拉丁语文字识别模型能力包 
implementation 'com.huawei.hms:ml-computer-vision-ocr-latin-model:1.0.2.300' 
// 引入卡证识别plugin包 
implementation 'com.huawei.hms:ml-computer-card-icr-cn-plugin:1.0.2.300' 
// 引入卡证识别能力包 
implementation 'com.huawei.hms:ml-computer-card-icr-cn-model:1.0.2.300' 
// 引入图像分类能力包 
implementation 'com.huawei.hms:ml-computer-vision-image-classification-model:1.0.2.300' 
// 引入对象跟踪与检测能力包  
implementation 'com.huawei.hms:ml-computer-vision-object-detection-model:1.0.2.300' 
// 引入人脸检测能力包 
implementation 'com.huawei.hms:ml-computer-vision-face-recognition-model:1.0.2.300' 
// 引入多类别分割能力包 
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-multiclass-model:1.0.2.300' 
// 引入人像分割能力包 
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-body-model:1.0.2.300' 

        由于政治原因,导致华为开始自造炉灶,构建Android消息服务框架,替代google在android上全球霸主的gms框架。
目前和hms交流了一些,看好华为框架设计,实际上大体的思想和gms谷歌框架类似,也是软件工程分而治之的通用思想无可厚非。很多的hms设计,也是学习借鉴gms框架的经验,由于hms打造快速、时间短,难免会有一些问题性能和功能问题存在,大家要理解,给他时间。
        实际上,hms是吃亏的,它只能保证功能被用起来,完整的工具生态链,还是google掌握着。未来可期吧。

 类似资料: