Google Play Services
来源:互联网 发布:天浩网络打印服务器 编辑:程序博客网 时间:2024/05/03 07:55
Google 发布的 Google Play Services,最新版本 Version 7.0,在这个版本中增加了一些新特性,可以参看
https://developer.android.com/google/play-services/index.html#newfeatures
http://android-developers.blogspot.com/2015/03/google-play-services-70-places-everyone.html
通过 Android Studio 的 Create New Project Dialog 创建一个 Android Application,然后参考
https://developer.android.com/google/play-services/setup.html
Setting Up Google Play Services,Add Google Play Services to Your Project。
在 Add Google Play Services to Your Project 的 Step 2中,增加红色的构建规则:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.google.android.gms:play-services:7.0.0'
}
可以选择性编译部分APIs到APK中,如何在dependencies中设置,可以参考
https://developer.android.com/google/play-services/setup.html
中的 Selectively compiling APIs into your executable 部分。
在 Step 4中,
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
"@integer/google_play_services_version" 的值无需自己定义,在 Android SDK 的
extras\google\google_play_services\libproject\google-play-services_lib\res\values\version.xml 文件中:
<resources>
<integer name="google_play_services_version">7095000</integer>
</resources>
这个值也随 Google Play Services 版本的变换而改变。
- Google Play Game Services
- Google Play Services
- Google Play Services学习
- Google Play services工程
- Google Play Services SDK
- Google Play Game Services LeaderBoard
- Android:Google Play Services 4.2
- 引用 google-play-services.jar
- Android Google Services Framework & Google Play
- ”google play 服务”(Google play services) 如何安装
- Google Play services and OAuth Identity Tools
- Google Play services SDK的安装
- Google Play Services to Beat Android Fragmentation
- 检查是否Google Play Services可以使用。
- Google Play services SDK的安装
- Google Play Services Location:更改位置设置
- Google Play Services Location:接收位置更新
- Android一点 精简google-play-services.jar
- android 5.0上改短按耳机按键的功能,由mute改为hold
- 局部加权回归
- 经典SQL语句大全
- 2015新构想吧
- 最小二乘的概率解释
- Google Play Services
- 关于HTML5的画布canvas
- 程序员必读书籍及导读指南
- 广义线性模型
- 【控件篇】ProgressBar+ProgressDialog使用案例
- cocos2dx button的使用以及cocostudio/ObjectFactory.h: No such file or directory错误解决方案
- HDU_1075_What Are You Talking About(字典树)
- softmax回归
- iOS笔记3