tag:blogger.com,1999:blog-8214401912480503366.post3861317101199316888..comments2023-08-10T13:35:15.093+02:00Comments on My life with Android :-): Push service from GoogleGabor Pallerhttp://www.blogger.com/profile/14307475522972458932noreply@blogger.comBlogger62125tag:blogger.com,1999:blog-8214401912480503366.post-17047672748886462232012-09-15T06:23:12.277+02:002012-09-15T06:23:12.277+02:00The most common simulation method relies on the de...The most common simulation method relies on the device to open a TCP connection to the push server. As the TCP stream is full-duplex, the server can send the push message to the device, provided that the stream is still aliverydermartinhttp://issuu.com/bevisgoff/docs/android_application_development_melbournenoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-45513485112246218392012-05-22T18:57:51.322+02:002012-05-22T18:57:51.322+02:00Finally i got the register message.
After that i h...Finally i got the register message.<br />After that i had the error mentioned by "yu" and after changing https with http on pushserver.py it worked.<br /><br />Thank you all for the help, now the next step is to know exactly how the code works.push_testerhttps://www.blogger.com/profile/05849922051758909577noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-34476431672900829042012-05-22T18:05:41.273+02:002012-05-22T18:05:41.273+02:00Thank you Gabor, it worked!!.
Im just having some ...Thank you Gabor, it worked!!.<br />Im just having some issues with the registration process,<br />i´ve changed config.java in client, pushserver.py, ae_pushserver.sh (wich has changed to bat) in server side.<br />Started the push app in the emulator and selected the account but i dont get the "Register" message and also it doesn´t apear in the drop down list in my browser.<br /><br />Thanks for your time.push_testerhttps://www.blogger.com/profile/05849922051758909577noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-56539727658795425232012-05-21T23:39:46.027+02:002012-05-21T23:39:46.027+02:00Unknown, personally I would create a new Eclipse p...Unknown, personally I would create a new Eclipse project and would copy code/resources into the new Eclipse project from the Android project that can be downloaded from here.<br /><br />But <a href="http://stackoverflow.com/questions/2231474/how-to-import-existing-android-project-into-eclipse" rel="nofollow">here are some more sophisticated advices.</a>Gabor Pallerhttps://www.blogger.com/profile/02390936870056951146noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-21905415190735637592012-05-21T22:46:47.897+02:002012-05-21T22:46:47.897+02:00Excelent post.
Can anyone post some help for the c...Excelent post.<br />Can anyone post some help for the client side. How do i import the package into eclipse? Is there any other way to get the .apk file?<br /><br />Thanks.Unknownhttps://www.blogger.com/profile/17958195373203541783noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-83045254838331746312012-04-24T09:29:40.466+02:002012-04-24T09:29:40.466+02:00When I open http://localhost:8080 in web browser i...When I open http://localhost:8080 in web browser i can't see my registered username on the list. I have already registered my account to google c2dm. Also when i try to send some message i get an error as "No registration for '-'" . How do I resolve this error?<br />Thank You.Himansuhttps://www.blogger.com/profile/02042847363531192297noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-60448072182098861682012-03-05T13:55:44.780+01:002012-03-05T13:55:44.780+01:00Gaurav for account creation u have to Install Andr...Gaurav for account creation u have to Install Android market in your emulator follow this link (http://www.tech-recipes.com/rx/10004/accessing-android-market-from-android-sdk/) and install Android Market ksuganhttps://www.blogger.com/profile/16427622092024403894noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-27149062743439567652012-03-05T13:53:27.026+01:002012-03-05T13:53:27.026+01:00This comment has been removed by the author.suganhttps://www.blogger.com/profile/16427622092024403894noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-86560071110295892022012-03-05T13:50:27.343+01:002012-03-05T13:50:27.343+01:00This comment has been removed by the author.suganhttps://www.blogger.com/profile/16427622092024403894noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-72275462620328608912012-03-05T13:35:30.024+01:002012-03-05T13:35:30.024+01:00Anyone can help me to configure the ae_pushserver...Anyone can help me to configure the ae_pushserver.sh.because i have configured after compilation it shows "Force to close " in an emulatorsuganhttps://www.blogger.com/profile/16427622092024403894noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-63817367678894176392012-02-01T08:10:48.469+01:002012-02-01T08:10:48.469+01:00@Tejas,
I'm running it on windows.
What are t...@Tejas,<br />I'm running it on windows.<br /><br />What are the changes that need to be done from the source code provided here?<br /><br />I'm new to android development, so any help appreciated.<br /><br />Thanks in advance.gauravhttps://www.blogger.com/profile/01584803951621477897noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-2744729873297444782012-02-01T08:01:58.000+01:002012-02-01T08:01:58.000+01:00When I try to register my emulator by going in set...When I try to register my emulator by going in settings/Accounts & Sync/Add account, I get following alert after adding my details.<br /><br />"Set up could not finish.<br /><br />Unable to open connection to server".<br /><br />Note that I've active internet connection.<br /><br />Any help appreciated.<br /><br />Thanks in advance.gauravhttps://www.blogger.com/profile/01584803951621477897noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-16066014640731429962011-11-10T22:44:45.565+01:002011-11-10T22:44:45.565+01:00Martin, you need to have the Google extensions ins...Martin, you need to have the Google extensions installed (Google APIs).Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-68639845394931219542011-11-10T06:06:24.248+01:002011-11-10T06:06:24.248+01:00will C2DM only work with API 8 in the Emulatorwill C2DM only work with API 8 in the EmulatorMartin Cuddyhttps://www.blogger.com/profile/07782651440383082889noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-9344612532320864862011-10-05T23:24:13.803+02:002011-10-05T23:24:13.803+02:00Hi,
Even without changing the username and passwd...Hi,<br /><br />Even without changing the username and passwd I cannot see the default email as shown in picture above<br /><br />Therefore when i send message I get<br /><br />No registration for '-'<br /><br />Ho can I fix this?andreasvhttps://www.blogger.com/profile/01404098714340733582noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-91745451956244511772011-09-21T06:33:34.164+02:002011-09-21T06:33:34.164+02:00C:\Program Files\Google\google_appengine\dev_appse...C:\Program Files\Google\google_appengine\dev_appserver.py --port=8080 C:\Documents and Settings\kingkan_ban\My Documents\opensource\push\server\pushserver<br /><br />what's wrongjakrapong.pandezhttps://www.blogger.com/profile/03505727311030085153noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-59676661951511553792011-09-21T06:32:14.363+02:002011-09-21T06:32:14.363+02:00how i set path in ae_pushserver.sh if my folder is...how i set path in ae_pushserver.sh if my folder is in window <br />c:/.../../?<br />im a beginner .jakrapong.pandezhttps://www.blogger.com/profile/03505727311030085153noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-73889628698876639392011-09-20T12:27:05.678+02:002011-09-20T12:27:05.678+02:00Gabor Paller ,thx for reply
i have registered my...Gabor Paller ,thx for reply <br /><br />i have registered my account with c2dm .<br />i receive google invited mail already.<br /><br />but i confuse about change ae_pushserver.sh<br />plz suggest mejakrapong.pandezhttps://www.blogger.com/profile/03505727311030085153noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-72865971862980704182011-09-20T11:42:55.058+02:002011-09-20T11:42:55.058+02:00pandez, have you registered your account with C2DM...pandez, have you registered your account with C2DM? Link in the post.Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-11057882171125869632011-09-20T09:44:52.607+02:002011-09-20T09:44:52.607+02:00hi
i have problem on server side
i change email an...hi<br />i have problem on server side<br />i change email and pass word at line 165,167<br />then change account name at line 28 to my sender mail<br /><br />when i send message it show <br />" No registration for 'mymail@gmail.com' "jakrapong.pandezhttps://www.blogger.com/profile/03505727311030085153noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-56133030277317500852011-09-20T09:43:09.499+02:002011-09-20T09:43:09.499+02:00This comment has been removed by the author.jakrapong.pandezhttps://www.blogger.com/profile/03505727311030085153noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-43010613186855516852011-09-20T09:41:33.511+02:002011-09-20T09:41:33.511+02:00hi
i have problem on server side
i change email ...hi <br />i have problem on server side <br />i change email and pass word at line 165,167 <br />then change account name at line 28<br /><br /><br />when i send message it show No registration for 'mymail@gmail.com'jakrapong.pandezhttps://www.blogger.com/profile/03505727311030085153noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-51920582963889741822011-08-19T15:03:39.786+02:002011-08-19T15:03:39.786+02:00I m able to deploy it and work properly, can u ple...I m able to deploy it and work properly, can u please enlighten me how u wrote server side python script?<br />i want to send automated messages..to app in my andoridPrakash-The riderhttps://www.blogger.com/profile/01830428501028970201noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-76804494573249729512011-07-02T19:06:43.063+02:002011-07-02T19:06:43.063+02:00thnx for the post. I tried to run the server side,...thnx for the post. I tried to run the server side, but i got this error : <br />Traceback (most recent call last):<br /> File "C:\Program Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py", line 702, in __call__<br /> handler.post(*groups)<br /> File "C:\Documents and Settings\Administrateur\Mes documents\Downloads\Compressed\push\server\pushserver\pushserver.py", line 65, in post<br /> status = self.sendMessage( accountName, registrationId, text )<br /> File "C:\Documents and Settings\Administrateur\Mes documents\Downloads\Compressed\push\server\pushserver\pushserver.py", line 90, in sendMessage<br /> 'Authorization': 'GoogleLogin auth='+authToken<br /> File "C:\Program Files\Google\google_appengine\google\appengine\api\urlfetch.py", line 260, in fetch<br /> return rpc.get_result()<br /> File "C:\Program Files\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 592, in get_result<br /> return self.__get_result_hook(self)<br /> File "C:\Program Files\Google\google_appengine\google\appengine\api\urlfetch.py", line 367, in _get_fetch_result<br /> raise SSLCertificateError(str(err))<br />SSLCertificateError: ApplicationError: 6 Host android.apis.google.com returned an invalid certificate (hostname mismatch): {'notAfter': 'Jun 7 04:50:43 2012 GMT', 'subjectAltName': (('DNS', '*.google.com'), ('DNS', 'google.com'), ('DNS', '*.atggl.com'), ('DNS', '*.youtube.com'), ('DNS', 'youtube.com'), ('DNS', '*.ytimg.com'), ('DNS', '*.google.com.br'), ('DNS', '*.google.co.in'), ('DNS', '*.google.es'), ('DNS', '*.google.co.uk'), ('DNS', '*.google.ca'), ('DNS', '*.google.fr'), ('DNS', '*.google.pt'), ('DNS', '*.google.it'), ('DNS', '*.google.de'), ('DNS', '*.google.cl'), ('DNS', '*.google.pl'), ('DNS', '*.google.nl'), ('DNS', '*.google.com.au'), ('DNS', '*.google.co.jp'), ('DNS', '*.google.hu'), ('DNS', '*.google.com.mx'), ('DNS', '*.google.com.ar'), ('DNS', '*.google.com.co'), ('DNS', '*.google.com.vn'), ('DNS', '*.google.com.tr'), ('DNS', '*.android.com'), ('DNS', '*.googlecommerce.com')), 'subject': ((('countryName', u'US'),), (('stateOrProvinceName', u'California'),), (('localityName', u'Mountain View'),), (('organizationName', u'Google Inc'),), (('commonName', u'*.google.com'),))}<br />To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl<br /><br />So, any one knows what should i do ?andronidianhttps://www.blogger.com/profile/14312683644184512422noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-59683807281625416602011-05-18T08:11:22.994+02:002011-05-18T08:11:22.994+02:00Apologies. Got it working. Was using an unregister...Apologies. Got it working. Was using an unregistered google account id.<br /><br />Super..The Great Mindhttps://www.blogger.com/profile/11317377833908954826noreply@blogger.com