×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jun 2011
    Location
    Nasik India
    Posts
    39

    J2ME Push Notification

    Hello Experts,

    I need to implement Push Notification in my app.
    Have referred following link -
    http://developers.sun.com/mobility/m...icles/pushreg/

    Also tried sample app using notifications via SMS.

    In Android there is an API called C2DM which sends the push notifications to clients via google server.

    Is there any way to implement same functionality in J2ME ie without SMS. I know stream based/network based notifications is the solution, but how to configure server which sends the notifications to client? How do we get the recipients (clients) address on which notifications is to be send? Please share the step by step procedure.

    Thanks in advance
    Last edited by vishal.vpb; 2012-05-24 at 07:35.

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2007
    Posts
    441

    Re: J2ME Push Notification

    Hi

    check this link http://projects.developer.nokia.com/...viceSampleJava and find more info about Nokia Notification API . I think that is exactly what you need .. by using Nokia Notification API you can push message on remote device .. If in idle state it will wakeup and display the message.

  3. #3
    Registered User
    Join Date
    Jun 2011
    Location
    Nasik India
    Posts
    39

    Re: J2ME Push Notification

    Thanks izinin,

    Have just checked out the provided link, I believe that this is what i exactly needed.
    Will try the sample code provided.
    Will it support Nokia S40 devices..?

    Thanks again.

    Vishal Bharati.
    Last edited by vishal.vpb; 2012-05-28 at 06:46.

  4. #4
    Nokia Developer Expert
    Join Date
    Oct 2007
    Posts
    441

    Re: J2ME Push Notification

    Hi

    That is exactly for Nokia S40 devices

    Regards,
    izinin

  5. #5
    Registered User
    Join Date
    Aug 2012
    Posts
    1

    Re: J2ME Push Notification

    Hi,

    I have checked the Notification Api from the following link but didn't see the Series 40 devices under supported device tab. The example is given in Symbian so my question is whether it is possible to implement the notification api in Series 40 devices in J2me.

    If possible any api reference or sample code in j2me to getting started with will be a great help.

    https://projects.developer.nokia.com/notificationsapi

    Thanks
    Susobhan

  6. #6
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: J2ME Push Notification

    Hi susobhan,

    The Notification API is not at this time available for Series 40 devices. You might want to consider PushRegistry instead for waking applications on Series 40.

    You can find an example here

  7. #7
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: J2ME Push Notification

    It seems it is available now ...
    http://www.developer.nokia.com/Commu...tware_platform
    but when i deployed the sample on device (Asha 311) and run i get NoClassDefFound com/nokia/notifications/NotificationSessionListener

    Any hints to fix this ? or that means that java runtime notification classes are not available on device?
    Thanks
    Last edited by lucarocchi; 2013-07-15 at 11:43.
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: J2ME Push Notification

    Bad news: when you see "Asha [software] platform", that means the Nokia Asha 501 now.
    The Nokia Asha 311 is "Series 40 Developer Platform 2.0".
    See the first line in the specs: https://www.developer.nokia.com/Devi...ions/Asha_501/ and https://www.developer.nokia.com/Devi...ions/Asha_311/.

  9. #9
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: J2ME Push Notification

    thank you for information

    Quote Originally Posted by wizard_hu_ View Post
    Bad news: when you see "Asha [software] platform", that means the Nokia Asha 501 now.
    The Nokia Asha 311 is "Series 40 Developer Platform 2.0".
    See the first line in the specs: https://www.developer.nokia.com/Devi...ions/Asha_501/ and https://www.developer.nokia.com/Devi...ions/Asha_311/.
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

Similar Threads

  1. Push Notification
    By toshahjignesh in forum Symbian Web Runtime
    Replies: 3
    Last Post: 2012-07-19, 07:33
  2. Push Notification for N9
    By tanlsf in forum Nokia N9
    Replies: 1
    Last Post: 2011-11-26, 20:17
  3. push notification
    By teelkee in forum Symbian C++
    Replies: 1
    Last Post: 2010-06-07, 13:54
  4. m-notification-ind and WAP-PUSH...
    By micksh in forum General Messaging
    Replies: 11
    Last Post: 2006-07-06, 09:01
  5. WAP Push SMS notification
    By chris10101 in forum General Messaging
    Replies: 1
    Last Post: 2002-09-26, 13:16

Posting Permissions

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