Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Passing unknown-numbers of unknown-type parameters to a function
Tue, Oct 17 2023 4:25 PMPermanent Link

erickengelke

Avatar

I've added a new blog post which describes how you can do some interesting programming tricks with Object Pascal / EWB.

http://erickengelke.com/h/posts/post13/

Enjoy
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Tue, Nov 7 2023 3:15 AMPermanent Link

Ralf Mimoun

Nice Smile
Btw, did you ever look at the notification frameworks for Android and iOS? Maybe an extension for Nice Components if it's easily done?
Sat, Nov 18 2023 10:09 PMPermanent Link

erickengelke

Avatar

Ralf Mimoun wrote:

> Btw, did you ever look at the notification frameworks for Android and iOS? Maybe an extension for Nice > Components if it's easily done?

I cannot think of what ithe mechanism is called.  I thought they were badges, but that's not right.

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Tue, Nov 21 2023 4:10 AMPermanent Link

Ralf Mimoun

That mechanism is called "web push notifications". Here is a description about the stuff you can show on the client:

https://documentation.onesignal.com/docs/push-notification-guide

And here is the doc from Apple:

https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_web_apps_and_browsers

Google does it in a similar way, iirc. There are tons of companies that encapsule the services for you, like pushalert.co, airship and many more.

I developed an app where I want to alert truck drivers that they can enter the premises. Currenty, my EWB app polls every x seconds, and plays a sound + shows a message if needed. That does not work reliably: the driver can close the EWB web page, the smartphone OS can decide that it does not want to play a sound from a webpage when the display is off, even the browser can decide that it kills the timer. None of that can happen with web notifications.
Tue, Nov 21 2023 7:45 AMPermanent Link

erickengelke

Avatar

Ralf Mimoun wrote:
>That mechanism is called "web push notifications". Here is a description about the stuff you can show on the client:

Oh right.  I made some emergency notification systems that alerted thousands of users of security events, and looked at web push as the successor when RFC 8030 was introduced.  But the clients were no longer interested, so I didn't pursue it.

You don't need to subscribe to a service to do this.  There are PHP and Node frameworks on GIThub that can do it from your own servers.  I think Apple, as usually, does it slightly differently, despite there being an RFC for industry standards.... sigh.

I won't be getting to this any time soon, too much work in the pipeline, and not enough interest.

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Wed, Nov 22 2023 5:19 AMPermanent Link

Ralf Mimoun

I'll post some code when I implemented it Smile
Image