在这种情况下推送通知服务是否可用?
我正在开发一个足球应用程序。应用程序连接到 Web 服务,并在打开选项卡时通过 Soap 请求获取所需的数据。其中一个选项卡显示当天的现场比赛。当实时选项卡打开时,它会通过计时器刷新视图并显示状态更新(进球数、半场或全场)。我需要做的是在应用程序关闭时获取状态更新。用户将从应用程序的设置中选择最多 2 场比赛。那么需要提醒这两个比赛的状态更新。我可以使用推送通知服务发送肥皂请求并根据响应发出警报吗?或者它只允许得到响应?或者我能做到吗?
提前致谢。
i'm working on a football application. the application connects to a webservice and gets the required data via soap request whenever a tab is opened. one of the tab shows live matches of the current day. when the live tab is opened, it refreshes the view by a timer and shows the status updates (goal scored, half time or full time). what i need to do is getting the status updates when the app is closed. the user will select max 2 competitions from settings of the app. then the status updates about these 2 competitions needed to be alerted. can i use push notification service to send soap requests and make alerts according to the response? or does it only allow getting response? or is there anyway that i can do it?
thanx in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不完全清楚你在问什么。你写的部分:
我不太清楚。你在说什么回应?
无论如何..推送通知就是所说的。它将通知推送到 iPhone。
它不会:
如果您希望用户的手机与您的服务器对话,用户将需要打开您的应用程序。如果这就是你问的。
I'm not entirely clear what you are asking. The part where you write:
isn't really clear to me. What response are you talking about?
In any case.. push notification is what is says. It pushes a notification to the iPhone.
It does not:
If you want the user's phone to talk to your server, the user will need to open your application. If that's what you're asking.