Jump to content

Search the Community

Showing results for tags 'notification'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. This is a Push Example done by Sherzod. Nice example and some minor little improvements by me. Since I may transform it into a component to CodeInjector package, is fair to give it back to the community the source code, as Sherzod made it, in a complete and useful example. Try live example here. (Type tittle, message and click PUSH button. YOU MUST ALLOW PUSH NOTIFICATIONS WHEN REQUEST BY YOUR BROWSER !). Improvements: a- Function A allows easy implementation of the whole Push Message, icon definition, Timeout and little tweaks. b- Function B (same as A) and allows redirect onClick over push message dialog. See source code. I just did simple stuff. Buy him a coffee. He is the uniGUI Master Blaster !! Thanks Sherzod. PS: Note, Is not in the CodeInjector Package , as a self-contained component, yet. I may include it in the next release in few weeks. But basically is what is here. In the next release: Cookies, LocalStorage and PUSH components. Project112-PushNotification.rar
  2. Hi Follows a tip for using the notification by the browser. Add push_notification.js in folder files Add in the uniServerModule->CustomFiles To dispare notification: procedure FenixNotification(pTitle, pMessage:String); var vJS: String; begin vjs := format('jQuery(document).ready(function($){$.notify("%s",{title: "%s", icon: "http:\\dominio.com\yourimage.png"});});',[pMessage,pTitle]); UniSession.AddJS(vjs); end; procedure TFMenu.ButtonNotrClick(Sender: TObject); begin FenixNotification('Fenix','Your session is expiring.'; end; Best regards push_notification.zip
×
×
  • Create New...