在这种情况下推送通知服务是否可用?

发布于 2024-08-13 06:32:51 字数 241 浏览 3 评论 0原文

我正在开发一个足球应用程序。应用程序连接到 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空名 2024-08-20 06:32:51

我不完全清楚你在问什么。你写的部分:

can i use push notification service to send soap
requests and make alerts according to the response?
or does it only allow getting response?

我不太清楚。你在说什么回应?

无论如何..推送通知就是所说的。它将通知推送到 iPhone。

它不会:

  • 在后台激活您的应用程序
  • 允许您的应用程序执行任何操作,而无需用户首先打开所述应用程序
  • 允许从手机收集任何类型的数据

如果您希望用户的手机与您的服务器对话,用户将需要打开您的应用程序。如果这就是你问的。

I'm not entirely clear what you are asking. The part where you write:

can i use push notification service to send soap
requests and make alerts according to the response?
or does it only allow getting response?

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:

  • activate your application in the background
  • allow for any action of your application without the user opening said application first
  • allow any kind of data to be gather from the phone

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文