I follow this link PLease see here . Can anyone tell me exact process to communication between two mobile devices in terms of push notification. Please help me.
GCM is a google cloud messaging http server.It is used for providing notification service on android phones any notification you receive on your phone is sent through GCM.Every device using a specific application is registered with GCM. Even if you want your application to send notification to the user on occurrence of something it's not possible without GCM.
Related
I've ran across a topic that discusses how you could create an app that allows you to send an sms to the application and receive them from it. My question is simply the following:
Can someone send an sms to that app regardless of where they live or are there any limitations in terms of service provider etc?
Chances are you are going to have to use Google Cloud Messaging to accomplish this, seen here
It sounds like you might be after push notifications rather than an SMS. Amazon's Simple Notification Service (SNS) allows you to send push notifications as wells as SMSs though and has an Android SDK.
In either scenario you'd be able to send SMSs or push notifications to any device regardless of its location.
I'm making an Android application and I want to get notifications like in WhatsApp – as the message comes. If any updates are made on the server then a notification should come to the user so he can check the application. Any help would be appreciated.
Firstly you need to integrate GCM with your system, so application need to get sender_id from google and put it to your server. Then if you want to invoke notification on your app you need to send message using this sender_id.
Here you can find nice tutorial. If you will have any question just give me a word.
I hope it would help you
You need to use Google Cloud Messaging. With it you can send information from a server to an Android device. The Android device will be waiting for messages from the server instead of polling the server at timed intervals.
I am new to the push notification subjet for android and I have an application with a .net web server as well as a remote database. I want to send a notification to all users which opens in a new intent. I have read about GCM and other third party platforms, but I was confused when they mention device registration ID, as I do not know how to get all the ids of all devices installing the app I am developping. Any straightforward tutorial or code helping me solve the confusion please.
Thank you in advance.
May be this can not provide complete answer to your question asked. But still it can help you.
GCM process works in this way.
at the first launch, your application will get the registration id from Google GCM server and give it to application server. Now the application server has all the registration ids in which your app is running.
Now you can easily dispatch push message for all devices.
Here I am developing an android app which deals with housing complex.
In this app their are 2 kinds of users:
Builder/Complex Owner
Flat Owner.
Now here the Builder/Complex Owner can send push notification to flat owners.
How can I achieve that? Please help.
Here I cannot use G.C.M as G.C.M. is used for server side push messaging.
Not sure if there is any other way. What you could do is to let the app send a push notification request to the server, then the server would issue the push notification through G.C.M. If you don't have a server available you could do it through text messages but be sure to have a good text messaging plan. You could possibly also use an existing service (for example Facebook) and send the messages through their API.
EDIT:
To do it via text messages: SMS receive with no notification. Again, make sure that you have a good text messaging plan if doing this. Sending an SMS to ten different people will count as ten different SMS messages.. If you have a lot of users it would probably be cheaper to get hold of an SMS server. But then again, you should just use G.C.M.
It is possible to send device to device push notification using gcm.See this link.
Currently C2DM has moved to GCM, and i am in an starting stage in using GCM, can any one guide me what are the process to use GCM in android, how to register the device.
thanks in advance.
Check out this post. It shows the end to end process of registering your app with Google, setting up the client code, and sending notifications via GCM to your Android device.
http://fryerblog.com/post/30057483199/implementing-push-notifications-with-gcm