Jump to content
pctechtv

Website data to iOS and Android?

Recommended Posts

I am looking for a helpful start (key words or even phrases) to begin understanding what it takes for a web site to give auto notification to an app on iOS and Android. I hope that wording is understandable, but in short how can things that happen on my website be automated to send the data as information to phones apps. Is this handled via web services? Thanks

Share this post


Link to post
Share on other sites

One option would be for the app to periodically check for updates, you could use a web service for that. If the app supports push notifications then you could also have some software running on your server that will send out notifications as events happen.

Share this post


Link to post
Share on other sites

That is a helpful start. I was reading about push notification on iOS is this something that can be achieved via Android as well? Could you name a software that sends notifications, would that be something like Node.js. Thanks

Share this post


Link to post
Share on other sites

It is trivial to have an app periodically download a small file from a website. Such a file could could contain updates or initiate an update process.

Share this post


Link to post
Share on other sites

It's trivial, but constant polling means that the app needs to be running in the background and that it's going to send network traffic periodically. All of that will decrease the battery life. I believe the Google Cloud Messaging platform will bundle all messages for a phone so that other apps don't need to run in the background.

Share this post


Link to post
Share on other sites

Oh, by "periodically" I meant perhaps several times a day and a trivial amount of traffic.

Share this post


Link to post
Share on other sites

 

It is trivial to have an app periodically download a small file from a website. Such a file could could contain updates or initiate an update process

The way I was imagining it was like a site that a user (contributor) interacts with to let you know some feedback from another contributor is needed. The user (contributor) would then interact with the site and a phone application would instantly notify the other contributor. I was thinking this could be instant (as fast as servers can work). Simply from something like a click.

 

but constant polling means that the app needs to be running in the background and that it's going to send network traffic periodically.

Would polling be necessary if you have interaction? No correct? Thanks

Edited by pctechtv

Share this post


Link to post
Share on other sites

Polling means the app is constantly checking the server for updates, as opposed to the server pushing updates to the app only when necessary.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...