需要 Android C2DM 帮助
http://www.markmelive.com/2011/04/android-c2dm-server-and-client-implementation-working/#comment-1482" markmelive.com/2011/04/android-c2dm-server-and-client-implementation-working/#comment-1482 似乎是如何设置的一个很好的例子C2DM 基于 JumpNote C2DM 示例应用程序中的代码,但我被几行代码难住了
在 C2DMReceiver 类中,示例具有以下方法
// @Override
public void onReceive(Context context, Intent intent) {
super.onHandleIntentRecieved(context, intent);
}
这些方法(onReceive 和 onHandleIntentRecieved)都不存在于此类的 C2MBaseReceiver 中下降(从跳跃音符应用程序导入),我不确定如何从这里取得进展
我真正需要的是一些认真的指导来实现 C2DM 和同步适配器我已经为此苦苦挣扎了两周了。 如果有人能握住我的手并从 Android 端指导我完成整个过程,我将非常感激。我对我的网络服务器应用程序方面的事情很满意,并且我确实设法使用不同的方法使用 C2DM 进行注册,但我还面临其他问题。
提前致谢
http://www.markmelive.com/2011/04/android-c2dm-server-and-client-implementation-working/#comment-1482 seems to be a great example of how to set up C2DM based on the code from the JumpNote C2DM sample app but I'm stumped with a couple of lines of code
In the C2DMReceiver class the example has the following method
// @Override
public void onReceive(Context context, Intent intent) {
super.onHandleIntentRecieved(context, intent);
}
Neither of those (onReceive and onHandleIntentRecieved) methods exist in the C2MBaseReceiver from which this class descends (imported from the jump note app) and I'm not certain how to progress from here
What I really need is some serious hand holding to implement C2DM and sync adapters as I've been struggling with this for 2 weeks now.
I would be really grateful if someone could hold my hand and guide me through this whole process from the android side . I am fine with my web server app side of things and I did manage to get registrations working with C2DM using a different approach but there are other issues I'm facing.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Stackoverflow 是一个问答网站。我们都很乐意帮助回答问题,但这并不是一个真正的问题。我建议你把注意力集中在一个特定的问题上,并就此提出问题。然后针对其他问题发表其他问题。
这是我见过的最好的 C2DM 教程和示例代码。我使用了它和 Google 文档,并且我的实现工作正常。
http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html
Stackoverflow is a Q&A site. We're all happy to help out with answers to questions, but this isn't really a question. I suggest you zero in on a specific issue, and ask a question about that. Then post other questions about other issues.
This is the best tutorial and sample code I've seen for C2DM. I used it, and the Google docs, and my implementation works fine.
http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html