Android-Google-Fit-Service-Skeleton:一个处理 Google Fit 授权和数据检索的最小 Android 项目。 Google Fit 在服务中运行,并且只有选定的部分会暴露给活动

上传者: 42116791 | 上传时间: 2023-03-07 10:38:05 | 文件大小: 89KB | 文件类型: ZIP
Android-Google-Fit-Service-Skeleton 人们希望在 Android 服务中运行 Google Fit,并最大限度地减少在他们的活动和片段中的 Google Fit 代码量。 该项目包含两个文件: MainActivity.java GoogleFitService.java ...试图做到这一点。 我在我的应用程序使用了这种模式,它非常可靠。 我有多个片段向服务发出请求,而 MainActivity 只包含一小组进行初始授权所需的 Fit 代码。

文件下载

资源详情

[{"title":"( 36 个子文件 89KB ) Android-Google-Fit-Service-Skeleton:一个处理 Google Fit 授权和数据检索的最小 Android 项目。 Google Fit 在服务中运行,并且只有选定的部分会暴露给活动","children":[{"title":"Android-Google-Fit-Service-Skeleton-master","children":[{"title":".gitignore <span style='color:#111;'> 81B </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;'> 657B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"ryansteckler","children":[{"title":"googlefitservice","children":[{"title":"ApplicationTest.java <span style='color:#111;'> 364B </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;'> 820B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 890B </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 194B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"ryansteckler","children":[{"title":"googlefitservice","children":[{"title":"MainActivity.java <span style='color:#111;'> 7.82KB </span>","children":null,"spread":false},{"title":"GoogleFitService.java <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 674B </span>","children":null,"spread":false},{"title":"app.iml <span style='color:#111;'> 7.15KB </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;'> 436B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":false},{"title":"scopes","children":[{"title":"scope_settings.xml <span style='color:#111;'> 139B </span>","children":null,"spread":false}],"spread":false},{"title":"compiler.xml <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 371B </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;'> 48.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"googlefitservice.iml <span style='color:#111;'> 828B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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