×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    136

    When and what kind of data that should be initialized?

    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
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: When and what kind of data that should be initialized?

    Read this Article for J2me Best Practices
    http://wiki.forum.nokia.com/index.ph...Best_Practices
    Thanks,
    Ekta

  3. #3
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: When and what kind of data that should be initialized?

    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
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: When and what kind of data that should be initialized?

    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
    Replies: 3
    Last Post: 2008-01-18, 01:38
  2. ERROR: Dll has initialized data
    By satish_chaturvedi in forum Symbian
    Replies: 1
    Last Post: 2007-01-30, 17:51
  3. ERROR: Dll has initialized data
    By satish_chaturvedi in forum Symbian
    Replies: 1
    Last Post: 2007-01-30, 10:37
  4. Initialized static data ....
    By micmen in forum Symbian
    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
  •  
×