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?
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.