I need to send a push notification from webapp to an android app. Basically, I just want to tell the android client that new data is available on the server. So it should only be the line + vibration / sound of the phone.
The problem (big) is that I am inside a corporate network without access to the Internet. That is why I can not use GCM.
So far, I have found the following options for completing a task without GCM:
- Use XMPP
- Websockets
- Ajax poll
Is it possible to incorporate WebSockets or AjaxPolling into a native Android app to trigger events like vibration?
Is there a simpler solution, not as much overhead as with xmpp, since I just need to send a short notice? So far, I understand that I need something like SMACK XMPP for Android +, for example. Openfire and server side XMPPHP for this scenario.
Andyb source
share