Connect android app to php code using GCM service

1 view
Skip to first unread message

user2936772 via StackOverflow

unread,
Feb 6, 2014, 6:46:35 PM2/6/14
to google-appengin...@googlegroups.com

I'm trying to implement GCM Server for my app. By now I have done half way by successfully receiving user registration ID and sending to the device a notification by php code as suggested in this post.

This php code is working fine, when I run it with Wamp and using my localhost. Since I have a very basic knowledge in android development, I can't figure it out how am I supposed to connect this php code to my app, or how to call it.

I've tried to follow google tutorial for Implementing GCM Server, trying to unserstand exactly what app engine and how it works but without a luck.

My question is how I could be able to have an interaction between my app and the php code that will work from any device not only when I use my localhost?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/21616492/connect-android-app-to-php-code-using-gcm-service

user2936772 via StackOverflow

unread,
Feb 6, 2014, 7:46:39 PM2/6/14
to google-appengin...@googlegroups.com

I'm trying to implement GCM Server for my app. By now I have done half way by successfully receiving user registration ID and sending to the device a notification by php code as suggested in this post.

This php code is working fine, when I run it with Wamp and using my localhost. Since I have a very basic knowledge in android development, I can't figure it out how am I supposed to connect this php code to my app, or how to call it.

I've tried to follow google tutorial for Implementing GCM Server, trying to unserstand exactly what's app engine and how it works but without a luck.

Reply all
Reply to author
Forward
0 new messages