Sending an SMS to all of your app users - how to? - android

I'm currently working on an android app that can be used by Admin to send sms messages to all users that installed my app. MustPls must I use cloud messaging or I can use my SQLite. But Ii need to use internet for sending the message. Would someone Pls can some one help me with advice or guidelines guidelines to accomplish this task? Thank you all

there is no way to send notification using SQLite. u can use FCM to send notification directly from firebase or generate notification from admin module and receive on user module. you have to use firebase any way.

Related

Sending a Push Notification to Android Application Users

I have created an android application for which i want to send push notification to the app users using GCM. Have read that GCM doesn't use Mobile numbers to send notification to app users. My question is that how can i use GCM to send notification to specific users,and also can some one help with procedure of setting up GCM for android Apps?
Thanks in advance !
First of all you should read the documentation as Aditay Said.
GCM communicates with your app using your pacakge signature and app id which you provided in googole developer console.
Here is a helpful link for you , This will help you to achieve your goal
https://neurobin.org/docs/android/push-notification-gcm-client-server/
N.B: Don't forget to accept my answer if you got your answer

How to build a server for GCM

I know how to implement GCM in my App but I don't know how to build a server able to send notification to ALL the users.
I need something quite simple (just sending notification), could you advise me any services and tutorial in order to set up the server?
I wish something not to complex, because everything that I will need from my app is receiving whether simply notifications to display or to tell the app that some new data is available for downloading.
Thank you!!
Prerequisite for GCM Application
Google API Server Key
GCM RegId of the Android Device to communicate via GCM
If you get clear concept about GCM, please visit here
If you want to use java for server side then visit my answer.
Related Links:
Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL
Android Warriors
If you're using PHP, you could use this approach to send GCM message to your client refer this
You could setup your own local server on PHP using AMPP. refer this
Probably, the simplest way is to add a cloud endpoint module refer this. Then, write a simple service refer this that sends the messages. Finally, let Android Studio deploy it.

How to send notification in android when a row is added to the database?

I am using Google App engine for the database. My idea is that whenever someone, for an instance, signs up for the app - then all users must get a notification that a new member has been added. How can we do this?
For that you should read about GCM. GCM provides a simple way through which you can send notification to your users through your server. You can read about GCM here:
https://developers.google.com/cloud-messaging/

Android Notifications like WhatsApp

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.

Is Google Cloud Messaging Service required for push notifications

I am looking to create an Android app that uses a MySQL database located on a server. When certain changes are made to this database, I'd like a push notification to be sent to some app users. My question is, is the Google Cloud Messaging Service required to implement this? This page http://developer.android.com/google/gcm/index.html seems to suggest that using the Google Developers Console is also required. If so, is it possible to export this project into Eclipse? Thanks in advance.
My question is, is the Google Cloud Messaging Service required to implement this?
Yes and no, if you want to do real push messages then yes it is required however if you dont want to use GCM you can use XMPP to send messages to devices
Push notification can be generated using alarm in android.See this.
But here you are looking to send push notification after certain changes in your database which is located in your server,for that GCM will be a better option.You can find an excellent tutorial of GCM here.

Categories

Resources