1
votes

I found links GCM with PHP (Google Cloud Messaging) or http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/, both explain how to downstream data from 3rd party server to device(s) using cURL. But can anyone give me one example of how to upstream data from device to 3rd party server via php. Android provides us with both java and python(XMPP).

1

1 Answers

0
votes

Cause my main task is to sync local db with remote db, so using SyncAdapter http://developer.android.com/training/sync-adapters/creating-sync-adapter.html is a better choice over GCM