google cloud messaging - Android GCM example - how to implement in existing project? -
i've downloaded latest gcm example fromm google on github. it works well, can't make work in own project. i've got donut turning , message "generating instanceid token..." i didn't understand link class gcmsender in example. here code public class mainactivity extends actionbaractivity { private static final int play_services_resolution_request = 9000; private static final string tag = "mainactivity"; private broadcastreceiver mregistrationbroadcastreceiver; private progressbar mregistrationprogressbar; private textview minformationtextview; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); // url string url="http://www.monurl.org/"; webview mwview=(webview) this.findviewbyid(r.id.webview); //autorise jav