我已经在我的Android应用程序中集成了Pushwoosh SDK,它运行良好。
我已经完成了跨平台设置以在我的Blackberry Z10设备上运行Android应用程序,该应用程序运行良好,但我无法在我的Blackberry Z10设备上收到Android的通知。
我收到此错误:
06-06 14:34:21.314: I/QNXNavigatorClient(8708260): Already active: com.packagename.pushdemo
06-06 14:34:21.662: I/QNXNavigatorClient(8708260): PackagesOpenedRunnable: [com.packagename.pushdemo]
06-06 14:34:21.662: I/QNXNavigatorClient(8708260): Shell com.packagename.pushdemo cannot join group, group was already joined
06-06 14:34:21.668: I/ActivityManager(8708260): Displayed com.packagename.pushdemo/.MainActivity: +347ms
06-06 14:34:24.118: E/QNXShrimpClient(8708260): com.google.android.c2dm.intent.REGISTER error(10108) = ""
06-06 14:34:24.124: W/ContextImpl(8708260): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendOrderedBroadcast:1061 com.android.server.QNXShrimpClient.onRegisterComplete:162 com.qnx.service.pps.shrimp.ShrimpController.onMessageReceived:128 com.qnx.service.pps.PPSObject.processMessage:292
com.qnx.service.pps.PPSObject.access $ 500:11
我无法在Blackberry Z10设备上获得推送通知。
答案 0 :(得分:0)
您是否按照以下指南正确设置了所有内容? http://www.pushwoosh.com/programming-push-notification/blackberry/blackberry-10/blackberryandroid-runtime/
从我看到您的应用无法注册BlackBerry。确保在步骤4(android.cfg文件)中输入了正确的 appid 和 ppgurl 。
如果您使用BB推送试用帐户,则ppgurl应与指南中一样: http://pushapi.eval.blackberry.com