GCM(3)Enhancement of GCM
Check if the device is registered on the server side.
http://4mymessage.appspot.com/home
The problem I can not make the GCMIntentService to my own library package.
From the google official guide book, I need to extends and change something in GCMBroadcastReceiver class.
The override method should look like this>
package com.sillycat.easyrestclientandroid.service;
import android.content.Context;
import com.google.android.gcm.GCMBroadcastReceiver;
public class CustomerGCMBroadcastReceiver extends GCMBroadcastReceiver {
protected String getGCMIntentServiceClassName(Context context) {
return "com.sillycat.easyrestclientandroid.service.CustomerGCMIntentService";
}
}
The configuration in AndroidManifest.xml file should be as follow:
<receiver
android:name="com.sillycat.easyrestclientandroid.service.CustomerGCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND"]]>
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
<action android:name="com.google.android.c2dm.intent.REGISTRATION"/>
<category android:name="com.sillycat.easyrestclientandroid"/>
</intent-filter>
</receiver>
<service android:name="com.sillycat.easyrestclientandroid.service.CustomerGCMIntentService"/>
References:
GMC
http://sillycat.iteye.com/blog/1769191
http://sillycat.iteye.com/blog/1769196
Google APP
http://sillycat.iteye.com/blog/1763746
http://sillycat.iteye.com/blog/1764128
http://sillycat.iteye.com/blog/1765853
http://sillycat.iteye.com/blog/1766038
分享到:
相关推荐
AES GCM算法,可以编译通过执行,没看懂
GCM加密的源码,实现AES—GCM加密模式
aes gcm siv 256 算法加密解密源程序,GitHub源码
AesTestTool为加密软件,支持GCM 和 ECB两种模式 128bit秘钥 GCM算法是一个C++工程,“C++gcm算法工程”目录里面有源码 加密软件是用C#写的,所以把C++工程编译成了dll文件,由C#调用 “软件工程目录”文件夹是...
AES GCM 128 bit加密算法工程源码,C++语言实现,希望能够帮助到大家
主要是aes-gcm算法实现的code,详细描述gcm算法的各部分实现过程
在工作中会经常遇到密码加密,URL传参要进行加密,在此我参照一个例子将用java实现的AES加解密程序用实例写出。JS实现AES-GCM加密,java实现AES-GCM解密
详细介绍了GCM及其在软硬件中的实现,并描述了使用方法,最后还列出了18种Test Case供测试使用
这个文件很好,是信息安全的很高端的文献!
使用intel的simd方式,调用avx2指令,运算速度较快。
gcm python算法 包含aes128 狂欢,
aes128-gcm 电表相关加密算法源码
google在今年六月份发布了新的推送机制GCM,取代C2DM.
高版本AES-GCM模式加密的Shiro漏洞利用1
做国外电表DLMS加解密必用的算法,费劲我几个月的整理修改,总算把这GCM-AES-128的加解密算法和密钥传输的包裹算法弄好。算是商业机密吧,呵呵!据说有厂家为数据传输加解密前前后后搞了2年。 压缩包里有三个代码...
GCM加密模式加密模式
详细介绍了GCM开发步骤与注意事项等,对初步接触GCM的童鞋蛮有作用的
包含android推送服务GCM发开源代码,非jar包内容
加密认证联合模式的源代码,加密认证的加密算法均采用AES加密。包含了EAX GCM CCM三种联合加密认证的算法资源文件。
这个文档是在官方网站上下载的,讲述很详尽,还有很多加密数据的例子,方便验证自己的程序,不过是英文的 这个文档是在官方网站上下载的,讲述很详尽,还有很多加密数据的例子,方便验证自己的程序,不过是英文的