App that sends image notifications to users

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Emeric
Posts: 22
Joined: Tue Dec 30, 2014 10:08 pm

App that sends image notifications to users

Post by Emeric » Wed Sep 02, 2015 12:27 pm

Hi,

I'm trying build an app that will send image/gifs to users as push notifications. It would send a notification as a reminder.
What would be the best way of doing that?
I understand that to send push notifications I need to use a web service, but is there a easy way to send images/gifs as notification using livecode?
Also, the app should run in the background. So the same way the alarm works. If the reminder is selected the notification will come at a particular time.

I am not that knowledgeable, so if there is something that might be important which i haven't considered or pointed out, please let me know.

Thank you for your help.

Regards,

Emeric.

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: App that sends image notifications to users

Post by zaxos » Wed Sep 02, 2015 1:31 pm

I`v done this with a chat program :), steps i used:
1) setup a login system
2) the client stack checks the database every few seconds and if there is a new notification for the specific user then it gets "pushed"
You could do the same with sockets but there is no point. Hope i helped :D
Knowledge is meant to be shared.

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: App that sends image notifications to users

Post by MaxV » Thu Sep 17, 2015 10:41 am

Livcode is google Push notification compatible.
So you must have a server (or a livecode Server), the server is connected to google Push, and you device to google push.
see http://lessons.runrev.com/m/4069/l/5931 ... th-android
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply