问题 I want to develop application same as UBER in which I need to show available taxis in the selected region and update as the taxis are hired, available, unavailable. Kind of auto refresh. Calling the web service in the background after regular time interval is not a good option. Can any one suggest me better and fast way to achieve this. Thanks 回答1: Push Use sockets when the app is running. This will give you immediate updates. Use Push notifications when the app is not running (use