thanks for the quick replies!!
I've worked on a few different Android app which needed to get updates from a server immediately so polling wasn't an option.
- 1 company used websockets which was probably the best/most efficient option. The app would basically connect keeping the socket open when the UI was visible and send keepalives every few seconds. I think that could work remotely as well as long as we can reach the hub from the Internet
- another company relied completely on google push messages (GCM or FCM as it's called today). This was an Instant Messenger app so messages needed to get delivered and surprisingly the silent push notifications worked very reliably. Ultimately, every Android device has it's own keep-alive connection to Google and it's much easier to use their connection vs creating our own
- Wink also used push notifications through a 3rd party library, pubnub. It's not a free service though and it's easy enough to just use Google's push notifications for free.
Unfortunately, I know very little of the server-side of things so I was really hoping the MakerAPI or something else would have this already built.
Anyway, I'd love to hear any other ideas or thoughts on this.