I am looking to write an app that receives pushed alerts from a server. I found a couple of methods to do this.
Google C2DM is depreciated now, for that, you have o use the new service GCM (Google Cloud Messaging). For documantation, see http://developer.android.com/guide/google/gcm/gs.html