ElkArte Community

Title: Send notification to Android/iOS
Post by: Jorin on November 27, 2014, 09:55:41 am
A lot of us are using a smart mobile phone the whole day. We browse the web, we read and answer our mails, use the calendar, we chat and we make photos. Some use it for navigation and so on.

What if we could find a way ElkArte informs us via our mobile phone about things happening in the forum? I know, this can be handled with notification mails from the software, which will alert me on my mobile phone when the mail arrives. But this needs a mail and the mail programm to work. I think about a little app, providing some few settings:

- The ElkArte URL, so the app can be used with many ElkArte installations.
- What notifications you want to get (new ansers, new posts, new messages).
- Notify with sound or not.

If you get the notification and open it, you should see the mobile view in the system browser, leaded directly to the new post or message. I think you get the idea.

Don't know if this is even doable. Maybe it's complete needless.
Title: Re: Send notification to Android/iOS
Post by: emanuele on November 27, 2014, 10:26:43 am
Yes, I would love to write an app for mobile devices. O:-)
/me has a lot to learn though.

Some quick info found on the net:
http://www.slideshare.net/mwillbanks/push-to-me-mobile-push-notifications-zend-framework
http://framework.zend.com/manual/1.12/en/zend.mobile.push.html
Title: Re: Send notification to Android/iOS
Post by: ahrasis on November 28, 2014, 09:57:36 am
I wrote a simple how to create an android app somewhere in SMF forum (http://www.simplemachines.org/community/index.php?topic=526773.0). It just a simple webview approach that is basically the same as viewing your app in a browser. It should be the same basic for ElkArte or any other website.

IMO a notification system from your forum to your app is very much possible. I think the basic guidelines is a bit
here (http://developer.android.com/guide/topics/ui/notifiers/notifications.html) and there (http://developer.android.com/guide/topics/ui/notifiers/toasts.html). I believe there will be more when more and more people are sharing the how tos later on.

Plus, I did see some notification that can be pass to desktop browser (I think via javascript) and may be that could be the same with the android app.

Do share them here if you accomplish it. Good luck!
Title: Re: Send notification to Android/iOS
Post by: emanuele on June 18, 2015, 03:16:49 pm
What do you think of things like:
https://pushover.net/
Title: Re: Send notification to Android/iOS
Post by: radu81 on June 18, 2015, 05:36:46 pm
I already suggest that :D
http://www.elkarte.net/community/index.php?topic=2394.msg15857#msg15857
Title: Re: Send notification to Android/iOS
Post by: emanuele on June 18, 2015, 06:00:25 pm
Ouch! xD
Title: Re: Send notification to Android/iOS
Post by: TE on June 18, 2015, 10:57:46 pm
Google's push API seem to be easy to use, too. https://gist.github.com/prime31/5675017
Pushover needs an extra client on your device whereas Google's API is build in on android devices.
Title: Re: Send notification to Android/iOS
Post by: Ant59 on June 25, 2015, 05:57:13 am
A push system probably shouldn't tie users into a specific service. If we add push to Elkarte, it should have many different services available as plugins.

I'm working on push for Xydre.com to send Elkarte notifications to our Android app and perhaps also the HTML5 Push API so that we can push notifications to browsers, even when the Xydre tab is closed.
Title: Re: Send notification to Android/iOS
Post by: Ant59 on June 25, 2015, 05:59:14 am
W3C draft spec on Push API: http://www.w3.org/TR/push-api/
Title: Re: Send notification to Android/iOS
Post by: emanuele on June 25, 2015, 07:25:14 am
Interesting!
Yep, a "public API" able to let other systems integrate is a good thought. nods
Title: Re: Send notification to Android/iOS
Post by: emanuele on March 30, 2016, 08:51:28 am
https://hacks.mozilla.org/2016/01/web-push-arrives-in-firefox-44/
http://venturebeat.com/2015/04/14/chrome-42-launches-with-push-notifications-that-sites-can-send-even-after-users-close-the-page/
Title: Re: Send notification to Android/iOS
Post by: emanuele on December 04, 2016, 09:21:14 am
x-ref http://www.elkarte.net/community/index.php?topic=3846.0
Title: Re: Send notification to Android/iOS
Post by: neamo on December 09, 2016, 08:47:43 am
The pushover app is pretty good.