×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    6

    Question How to externalize strings ?

    Hi everybody,

    I'm pretty new to J2ME development and I would like to know the standard way to externalize strings used in a MIDlet (typically error messages, forms titles, ...). I naively thought that J2ME had an equivalent system to the J2SE properties files, but I found out it wasn't the case. I already use the JAD file for externalizing some parameters, but I'm not sure it really fits my need.

    Can anybody give me a solution ?

    Thanks a lot

  2. #2
    Regular Contributor
    Join Date
    Jan 2005
    Posts
    53

    Re: How to externalize strings ?

    Hi, check the following thread;
    http://discussion.forum.nokia.com/fo...ad.php?t=72445
    Steve.
    Steve

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to externalize strings ?

    Hi bobmorlaix,

    Define them as named properties the same way you're already doing and use the method getAppProperty(String key) of MIDlet class to retrieve them. I think it is available for that.

Similar Threads

  1. Strange problem with resource strings
    By bjorn.rudolfsson in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-04-10, 20:49
  2. sending UTF-8 strings in C++
    By sopta007 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-10-07, 15:11
  3. Adding more than two strings in a single listbox item
    By prbhat in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-07-08, 14:20
  4. Replies: 1
    Last Post: 2002-05-29, 20:07

Posting Permissions

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