简体   繁体   中英

How to implement GCM CCS(XMPP) server on app engine?

I am Developing CCS server using XMPP,I followed all steps given on the developer.android website.This code(using java smack library) runs perfectly,as I am getting notification on my android mobile app.I have CCS service enabled on my App Engine Project.But when I tried to deploy it on App engine I am getting.

java.lang.NoClassDefFound Exception for org/jivesoftware/Smack/XMPPException !!!!!!

after going through some websites (including this also)and developer.android site I found that

Note that Google App Engine does not support connections to CCS

My question is:

1>>.App Engine doesn't support java smack library or it don't support connection to ccs(xmpp)end point at all?

google has also provided XMPP service to App Engine

2>>.Is it possible to implement GCM CCS(XMPP) server using googles XMPP library?If it is possible please give some reference or tutorial.

I can really use some help with this questions,because I am so confused what do next!!!

thanks in advance!!!

It seems that GAE does not support connections to CCS. https://developer.android.com/google/gcm/server.html

This documentation gives a hint that it is possible. Also have a look into that post .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM