Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Anyone know if the C2DM source code is open? If so, where is it located?
Just to be clear, I'm not interested in any client code to connect to C2DM, and I'm not interested in any server code to push notifications to C2DM. I'm actually interested in the source of the C2DM service itself (the service that's running in the cloud, which handles coordination / registration between clients and application servers).
C2DM is closed source, However if you want to build a push service consider using XMPP. Use OpenFire XMPP Server and aSmack for implementing Push Notification.
It is not open source AFAIK, just as most Google services are not open source AFAIK.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have Xamarin Forms Android project. It communicates restful with Asp.Net Core WebApi which is hosted on Azure. I need to be able to send Push messages using GCM and Azure Notification Hub. Sadly all documentations and sample which I could find are working with Azure Mobile Services but I need working sample with WebApi.
I'm new with this technologies and spanding more than a day. Please explain how to accomplish this or sharing code will be best.
This is the documentation you need to use a hosted WebApi solution to send push notifications using Azure Notification Hub to Windows, iOS and Android.
https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-aspnet-backend-windows-dotnet-wns-notification
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Backgrounds
I want to learn about instant messenger, both android app and server.
In my first thought, I want to use GCM to communicate. But I found the article below. By this article, GCM is not good for sending messages, and It seems that I need to build dedicated messenger server.
Instant Messaging on Android with Google Cloud Messaging
So I googled how to build instant messenger server. As a result, I found that XMPP is popular technology. But I couldn't found examples.
Finally I found source below. This example seems that includes both android and server side source, but I'm not sure this example using XMPP.
https://code.google.com/p/simple-android-instant-messaging-application/
Q1: Is there a good example source of XMPP Server?
Q2: Does anybody have experience about https://code.google.com/p/simple-android-instant-messaging-application/ ? Is this a example is good for beginner?
Any help will be appreciated.
You can try the below results.
https://cloud.google.com/appengine/docs/java/xmpp/
http://quickblox.com/developers/Android_XMPP_Chat_Sample
http://javapapers.com/android/android-chat-with-google-gcm-xmpp/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Recently, I've tried to learn GCM and make a test application that will get the push notification for android through androids official site. However, I find the tutorial difficult for me. Are there any simple and easy tutorial for a novice like me to learn GCM push notification without the use of a server for android ?
there are lots of tutorial for GCM, here are some one :
https://developer.android.com/google/gcm/index.html
https://developer.android.com/google/gcm/client.html
http://developer.android.com/google/gcm/gs.html
http://javapapers.com/android/google-cloud-messaging-gcm-for-android-and-push-notifications/
http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
I hope above point will help you.
https://console.developers.google.com/
Click the above link to registered the application and On "Google Cloud Messaging for Android" API.
Copy the Browser Key and Sender/Project Key.
Follow a follwing link.
http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
https://developer.android.com/google/gcm/server.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Hello i new developer in android, my question is :
which are the platforms that exist?
I read to C2DM and Google Cloud Messaging
which is the best?
Exists more?
in which users do not have to register to use in application?
in which work in web service, based in json from project in ruby on rails?
My questions are to decide with which will working for project.
Regards!
Google Cloud Messaging is the replacement for C2DM. There are other services like Parse, Firebase and PubNub which offer features like push and more.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have run the GCM client demo application from the Android developers site.
Now I just want to know whether there is a server just to test if the application works. I do not want to build my own server, I just want to test the application.
By the way I am working on Eclipse and trying to develop an application for Android.
I do not want to build my own server, I just want to test the application.
You do not need a server. You need something that will send messages to the GCM servers. In production, that is typically a server, but it does not have to be.
For example, this Java project and associated shell script implements a command-line GCM utility that sends messages to designated registration IDs. There may be other such utilities available from other sources.
You can deploy this server on google app engine for testing gcm.
I have created a very simple to use GCM test server that is implemented as a maven plugin.
It is part of the GCMUtils project, see here for more information: https://code.google.com/p/gcmutils/wiki/MavenPlugin#Test_server