Pritam
Pritam

Reputation: 2507

GCM (Google Cloud Messaging ) for Android, writing 3rd party server in .Net

Need some help to implement 3rd party server for GCM (Google Cloud Messaging) for Android using .Net.

The official documentation gives guidelines for using it using servlet-api and gcm-server.jar ( java helper APIs for server side ).

Is there any equivalent for using it in .Net framework. Any guideliness that would help to implement GCM using .Net?

Upvotes: 1

Views: 3720

Answers (2)

Mahendra Liya
Mahendra Liya

Reputation: 13218

As suggested by CommonsWare, you should write server-side code (web-services) to which allows to make HTTP POST to https://android.googleapis.com/gcm/send to send messages.

The Response & Request structures are mentioned in the documentation of GCM.

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1006744

The GCM documentation includes the HTTP operations to be performed by the third-party server, including both the structure of requests and the structure of responses. You should be able to perform those HTTP operations from .NET.

Upvotes: 3

Related Questions