OaidDemo:获取oaid的demo,用于获取小米,华为,oppo,vivo等指定系统及以上的oaid,用来替代之前获取的IMEI。具体使用请参考Readme下面的链接博客

上传者: 42113456 | 上传时间: 2021-08-07 17:58:55 | 文件大小: 2.18MB | 文件类型: ZIP
OaidDemo 获取oaid的demo,用于获取小米,华为,oppo,vivo等指定系统及以上的oaid,用来替代之前获取的IMEI 目前代码基于《移动智能终端补充设备标识体系统一调用SDK开发者说明文档v1.10》编写, 官方文档和sdk见MSA官网: Tips v1.1中只保留了获取OAID的方法,其它关于IMEI和权限等代码已删除。 v1.0项目中的相关获取方法的调用,在DevicesUtil.java 工具类中编写,整合了获取oaid,IMEI,AndroidId,UUID等方法。 关于获取IMEI: 在获取IMEI时,Android 6.0及以上需要手动获取权限,Demo中获取权限的相关方法写在rxpermissions2 文件夹里面了,如需要使用可直接把整个文件夹复制到项目中(使用的是 中提供的获取权限得方法,仅供参考使用), 同时需要引用rxJava2.x或者jxJava3

文件下载

资源详情

[{"title":"( 52 个子文件 2.18MB ) OaidDemo:获取oaid的demo,用于获取小米,华为,oppo,vivo等指定系统及以上的oaid,用来替代之前获取的IMEI。具体使用请参考Readme下面的链接博客","children":[{"title":"OaidDemo-master","children":[{"title":".gitignore <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"key","children":[{"title":"jks.png <span style='color:#111;'> 16.46KB </span>","children":null,"spread":false},{"title":"oaiddemo.jks <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"hgb","children":[{"title":"oaiddemo","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 703B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 960B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 6.73KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"content_main.xml <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 10.17KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 405B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 14.78KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 8.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 708B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":[{"title":"supplierconfig.json <span style='color:#111;'> 136B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"hgb","children":[{"title":"oaiddemo","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"MyApplication.java <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"MiitHelper.java <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"DevicesUtil.java <span style='color:#111;'> 764B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"hgb","children":[{"title":"oaiddemo","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"release","children":[{"title":"app-release.apk <span style='color:#111;'> 2.15MB </span>","children":null,"spread":false},{"title":"output.json <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"miit_mdid_1.0.10.aar <span style='color:#111;'> 264.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false}],"spread":true},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明