2

I'm currently writing an Android application that should be able to receive push notifications from another application hosted in Google's App Engine. Since I can't use sockets in GAE, I though maybe using XMPP over GTalk server would solve my problem. But that way the Android Application would be connected to the users Gtalk account and thus showing the user as being online, when in reality the user is not.

Any way of achieving this kind of communication without showing the user as being online, and without asking the user to create a separate account?

Or any free push notification alternatives?

EDIT: I'm targeting 1.5+ Android devices so C2DM isn't an option.

Thanks!

4

4 回答 4

2

也许你可以使用通道 API:Building real-time web apps with App Engine and the Feed API

于 2010-09-05T08:36:04.080 回答
1

我找到了 PubNub 服务 ( http://www.pubnub.com/ )。
它通过多个平台(PHP、Ruby、JavaScript、Java 等)上的 API 启用推送通知。
这是一项付费服务​​,但提供免费的每日配额。

虽然它不是解决我的问题的理想解决方案,但在一些 Channel API 文档出来之前它就足够了。

感谢大家!

于 2010-09-06T14:54:51.650 回答
1

不确定您的应用程序的确切要求,但是.. 也许 C2DM 可以替代?
http://code.google.com/android/c2dm

于 2010-09-04T19:08:52.143 回答
0

你为什么回避 HTTP/JSON?了解您为什么不考虑明显的解决方案可能会很有用...

于 2010-09-05T21:20:35.067 回答