FORUMS
Remove All Ads from XDA

Notification When The User Connects On The Internet

38 posts
Thanks Meter: 0
 
By clonedaccnt, Member on 22nd June 2014, 09:01 AM
Post Reply Email Thread
I have a website that has MySQL as a database and I have this item on the database that can change the status to available or unavailable, what I want is to notify all the users that subscribe on that item when the status of the item change to available. I want the user of my application to receive a notification when he/she connect on the internet. Thank you and have a good day!
 
 
22nd June 2014, 01:20 PM |#2  
Jonny's Avatar
Forum Moderator
Flag Birmingham
Thanks Meter: 9,681
 
Donate to Me
More
Quote:
Originally Posted by clonedaccnt

I have a website that has MySQL as a database and I have this item on the database that can change the status to available or unavailable, what I want is to notify all the users that subscribe on that item when the status of the item change to available. I want the user of my application to receive a notification when he/she connect on the internet. Thank you and have a good day!

Take a look at the Google Cloud Messaging service on Google's developer website (including the samples). Easiest way to do this would probably be when you update that item to available, run an SQL query that searches for users subscribed to that item and send them a GCM notification via multicast message.

Sent from my HTC One using Tapatalk
The Following User Says Thank You to Jonny For This Useful Post: [ View ] Gift Jonny Ad-Free
22nd June 2014, 04:28 PM |#3  
OP Member
Thanks Meter: 0
 
More
Thanks Jonny!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes