php - What should I use to develop a simple messaging service in Android application? -
i new android programming , trying make app enables users send , receive messages. have database , apache set up. i've implemented login, registration of users , adding friends chat with.
now in order send , receive messages, use google cloud messaging service? gcm requires set backend on google cloud, right? have working backend, how can use existing database , apache server implement messaging? should write php script send , receive messages to/from android devices?
but gcm requires set backend on google cloud right
no don't need backend on google cloud. happens use own server (called "third-party server" in docs), send messages google's gcm server (using ccs protocol) relays on behalf phone.
the same happens in reverse: phone sends messages google's gcm server relays server.
here docs on getting started:
Comments
Post a Comment