I am looking to write an app that receives pushed alerts from a server. I found a couple of methods to do this.
- SMS - Intercept the incoming SMS and initiate a pull from the server
- Poll the server periodically
Each has its own limitations. SMS- no guarantee on arrival time. Poll may drain the battery.
Do you have a better suggestion please? Thanks very much.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…