Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor komomo's Avatar
    Join Date
    Mar 2010
    Posts
    136
    When and what kind of data that should be initialized?
    For example, is it necessary to initialize the reference to the instance of the RecordStore and RecordStoreEnumeration as null?
    And How about ContactList and Contact?

  2. #2
    Registered User ektasrv's Avatar
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941
    Read this Article for J2me Best Practices
    http://wiki.forum.nokia.com/index.ph...Best_Practices
    Thanks,
    Ekta

  3. #3
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,299
    Quote Originally Posted by komomo View Post
    When and what kind of data that should be initialized?
    For example, is it necessary to initialize the reference to the instance of the RecordStore and RecordStoreEnumeration as null?
    And How about ContactList and Contact?
    According to your question in the DIBO , I think you are new too the java Me.See this :http://wiki.forum.nokia.com/index.ph...d_with_Java_ME


    For example, is it necessary to initialize the reference to the instance of the RecordStore and RecordStoreEnumeration as null?
    And How about ContactList and Contact?
    Regarding your second question : Personal Information Management API

    Cheers,
    RaHuL

  4. #4
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    I recommend against initializing variables to null. See Initializing Variables and Exception Handling.

    Graham.

Similar Threads

  1. Compile error, dll has initialized data
    By JohnsonZ in forum Symbian C++
    Replies: 3
    Last Post: 2008-01-18, 01:38
  2. ERROR: Dll has initialized data
    By satish_chaturvedi in forum Symbian C++
    Replies: 1
    Last Post: 2007-01-30, 17:51
  3. ERROR: Dll has initialized data
    By satish_chaturvedi in forum Symbian C++
    Replies: 1
    Last Post: 2007-01-30, 10:37
  4. Initialized static data ....
    By micmen in forum Symbian C++
    Replies: 7
    Last Post: 2005-06-08, 08:49
  5. Error: App contains Initialized data
    By RLord321 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-07-25, 14:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved