×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    6

    Question How to push notification from server to client in Symbian Web Runtime

    Hi all,
    I'm a newbie to Symbian Web Runtime.
    Currently, I want to push notification to alert users to new info in the app. This will involve a small red asterisk at the top of the screen similar to a new SMS.
    Is it possible? And if possible, what can I do in the server and client to implement this feature?

    Regards,

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: How to push notification from server to client in Symbian Web Runtime

    if you want to show it outside your own application window, then it is not possible.

  3. #3
    Registered User
    Join Date
    Mar 2012
    Posts
    6

    Re: How to push notification from server to client in Symbian Web Runtime

    It mean, the widget have to opened or run in the background to get the notification from server?.

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: How to push notification from server to client in Symbian Web Runtime

    Yes you need to keep you application running and also pull the information. I suppose the Notification API: http://projects.developer.nokia.com/...ationsapi/wiki is only available for Qt.

  5. #5
    Registered User
    Join Date
    Mar 2012
    Posts
    6

    Re: How to push notification from server to client in Symbian Web Runtime

    Thank for your quick reply,
    It's right that Notification API is only available for Qt.
    So, please help me to suggest the way to implement the push notification in symbian web runtime.
    Can you give me any exemple or tutorial about push notification?
    Thank you so much.

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: How to push notification from server to client in Symbian Web Runtime

    If there is no API available, then there is no official way on doing the things you want to do. And if you want to use API like this, then you would need to use the technologies available for implementing the applciation, i.e. with this case you would need to change the implementation from WRT Widgets to Qt applications.

    Or do as suggested, keep the application on, and use polling.

  7. #7
    Nokia Developer Moderator
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: How to push notification from server to client in Symbian Web Runtime

    Hi,

    As Yucca pointed out, there is no way to implement push notification in Symbian WRT. However WRT does offer Home screen widgets, that are constantly running in the home screen.
    Please check this out and see if it suits your purposes:
    http://www.developer.nokia.com/Commu...get_guidelines

    -Ilkka

  8. #8
    Registered User
    Join Date
    Mar 2012
    Posts
    6

    Re: How to push notification from server to client in Symbian Web Runtime

    Thank for the useful reply of isalento and yucca,
    So, to get information from server, the only way to get information from server is to keep the app running in home screen and polling to server. But as the link of isalento, only some devices can run in the home screen, such as Nokia N97. So, i think the best way to get notification is pull to server after app starts or use the push notification service of the third party.

Similar Threads

  1. Push notification for Symbian C++?
    By SymbieRahul in forum Symbian C++
    Replies: 4
    Last Post: 2011-04-19, 14:14
  2. Client-Server Notification
    By amit_here007 in forum Symbian C++
    Replies: 1
    Last Post: 2009-11-05, 11:53
  3. Server to client notification
    By RockyM in forum Symbian C++
    Replies: 8
    Last Post: 2009-08-24, 14:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •