推仿真器工作的通知,但不是真实的设备 [英] Push notifications on emulator working, but not on real device

查看:117
本文介绍了推仿真器工作的通知,但不是真实的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个第三方服务器的工作示例发送推送通知,这是完全在Android模拟器我用工作的设备。当我尝试使用它我真正的设备上(三星Galaxy S)我没有收到我的通知了,甚至强硬的我重新注册该设备在谷歌服务器上(我使用相同的Gmail帐户)。我基本上不知道从哪里开始寻找作为logcat的没有给我任何关于它的有趣的信息。在code是工作在模拟器设备,所以我的猜测将开始寻找在权限规则。任何想法?

I got a working example of a third party server to send push notifications to the device which is perfectly working in the Android emulators I use. As soon as I try to use it on my real device (Samsung Galaxy S) I don't receive my notifications anymore, even tough I reregister the device at the google server (as I use the same gmail account). I basically have no clue where to start looking as Logcat is not giving me any interesting information about it. The code is working in the emulator device, so my guess would be to start looking at the permission rules. Any ideas?

我不知道这是否重要,但我使用Ubuntu 10.10开发/调试。

I don't know if this matters, but I am using Ubuntu 10.10 to develop/debug.

推荐答案

是您的角色帐户的Gmail ID相同,在手机上配置Gmail的ID?我也有这个问题。如果是这样,你可以尝试使用手机上的一些其他Gmail ID?欲了解更多请参见这个

Is your ROLE Account gmail ID same as the gmail ID configured on the phone ? I did have problems with this. If so, can you try using some other gmail ID on the phone ? For more see this.

这篇关于推仿真器工作的通知,但不是真实的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆