google-photos Public Samples for the Google Photos Library API 📸 JavaScript 503 Apache-2.0 213 9 11 Updated Dec 6, 2024 searchinapps-sample Public Kotlin 4 Apache-2.0 2 1 0 Updated Dec 3, 2024 android-custom-lint-rules Public This sample demonstrates how to create a custom lint ...
Samples tied to new functionality in Google Chrome. Each sample corresponds to an entry in https://www.chromestatus.com/features, and using that interface is currently the best way to browse. Contributing Samples Please use SAMPLE_STARTING_POINT as a starting point. While it's possible to simp...
项目地址:https://github.com/googlesamples/android-ndk 说明文档:https://github.com/googlesamples/android-ndk/blob/master/README.md 该仓库主要是展示如何使用Android Studio和Cmake构建集成C++的NDK工程。 该仓库包含多个项目: hello-jni 演示如何从Java层调用C层代码。 项目分析:NDK Samples [1] - hello-...
源码地址 https://github.com/googlesamples/easypermissions ,点击底部「阅读原文」直达。 一点思考 就在《》文章里,我对Android 6.0 运行权限做了个简单封装,但没有考虑到Fragment使用和勾上不再询问应该去setting,还一个问题,封装只是针对单个权限,推荐官方easypermissions库,来看看easypermissions是如何解决我未考虑的问...
在开始分析之前,先要弄到Google Samples的源码。到GitHub上fork一份到自己的repositories中,再download到本地,用Android Studio打开其中的teapots项目,注意,要选择import方式而不是open。两者的区别是:import方式用于导入其他工具(如Eclipse)创建的工程,open方式用于打开以前用Android Studio打开过的工程。笔者用的Android St...
https://github.com/googlesamples/easypermissions ,点击底部「阅读原文」直达。 一点思考 就在《Android 6.0 RuntimePermission》文章里,我对Android 6.0 运行权限做了个简单封装,但没有考虑到Fragment使用和勾上不再询问应该去setting,还一个问题,封装只是针对单个权限,推荐官方easypermissions库,来看看easypermissions是如...
6.服务器端的实现 可以参考:https://developers.google.com/cloud-messaging/的GCM Connection Server部分 有兴趣的可以参考google的代码demo https://github.com/google/gcm/ https://github.com/googlesamples/google-services/
cmake_minimum_required ( VERSION 3.28 ) project ( testprj ) include(FetchContent) FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG release-1.12.0 ) FetchContent_MakeAvailable(googletest) enable_testing() add_executable( testprj sample6_unittest.cc ...
https://github.com/anjia0532/gcr.io_mirror 作者将gcr.io相关镜像pull下来,然后push到docker官方仓库,相关转换语法如下: 语法# Copy gcr.io/namespace/image_name:image_tag# 等价于anjia0532/namespace.image_name:image_tag# 特别的k8s.gcr.io/{image}/{tag} <==> gcr.io/google-containers/{image}/{...
Simplify Android M system permissions. Contribute to googlesamples/easypermissions development by creating an account on GitHub.