Robert Larsen
Posts: 0
Joined: Fri Aug 02, 2013 6:56 am

Event Listener

I have built a working chat aplication, and I want to know if their is anyway to add an event listener or anything like that so that my chat list updates only when a new message has been sent to the database, instead of adding a manual refresh button, or pinging the database a million times with a refresh timer. Is their any java i could add on page load event or should i use an automatic script.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Event Listener

Hello Robert,

Please look at this example "how to build a chat application": https://blog.appery.io/2015/12/how-to...
Or use Push Notifications for that: https://devcenter.appery.io/documenta...

Robert Larsen
Posts: 0
Joined: Fri Aug 02, 2013 6:56 am

Event Listener

The tutorial shows only how to build in ionic.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Event Listener

Right. You can use the same way (EventSource) also in the JQM app

Return to “Issues”