×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    280

    Error occuring on device when running sdk 1.0 built in asha 310

    Hi, i am making s40 app. and made my build in asha sdk 1.0 basically to catch push notification functionality but when i run my program on asha 310 it is giving me following error :

    No class Def Found Error Java/lang/No classDefFoundError
    Notifications/com/nokia/notifications/NotificationSessionListener

    I used one class in my project for using push notification(named Notification).

    Why i m getting this error..plz help

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Error occuring on device when running sdk 1.0 built in asha 310

    This is because Notification class is not available in Nokia 310 which is Series 40 Developer Platform 2.0 device - https://developer.nokia.com/Devices/...okia_Asha_310/

    Try your app in Asha 500 or 501... it should work.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    May 2013
    Posts
    280

    Re: Error occuring on device when running sdk 1.0 built in asha 310

    is there a way that i can use push notification in my app and at the same time it should run on asha 310 as well as asha 501 because push notification functionality is must in my app ?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,699

    Re: Error occuring on device when running sdk 1.0 built in asha 310

    Notifications need operating system support, which is not present in earlier devices, so Nokia Notifications can not work on earlier devices.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Error occuring on device when running sdk 1.0 built in asha 310

    Quote Originally Posted by Manpreet_Singh View Post
    is there a way that i can use push notification in my app and at the same time it should run on asha 310 as well as asha 501 because push notification functionality is must in my app ?
    For older devices you have to fall back on SMS based Push Notification from your server side and handling in using Push Registry using port directed SMS on the device side... and for users with new devices 1.1 onwards you can use IP based Push notification.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. How to call out the built-in Send SMS interface in Asha 501
    By imgen in forum Mobile Java UI and User Experience
    Replies: 1
    Last Post: 2013-09-23, 17:40
  2. Creating S40/Asha jar and running it on device
    By kenk_ in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2013-06-28, 13:10
  3. Error while running on Device x3-02
    By rana.anees in forum Mobile Java General
    Replies: 4
    Last Post: 2012-02-24, 10:45
  4. Why error occuring
    By yanamaddinaveen in forum Symbian
    Replies: 5
    Last Post: 2011-09-17, 07:54
  5. Error in Running Application In Nokia E62 Device
    By blackspear in forum Mobile Java General
    Replies: 1
    Last Post: 2007-03-08, 05:25

Posting Permissions

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