×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    1

    Question How to create a list file in resource project j2me

    I have a project j2me with directory:
    Myproject _
    ------------|_ build
    ------------|_ src
    ------------|_ resource
    --------------------------|_ Image
    ------------------------------------|_ 1.jpg
    ------------------------------------|_ 2.jpg
    ------------------------------------|_ 3.jpg
    I did add "resource" folder in my project. How can i show all file name in resource?
    Thanks.

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: How to create a list file in resource project j2me

    Hello phamkhanh,

    and welcome to Nokia Developer Discussion Boards!

    If I have understood correctly, you want to show the files together with the folder strucure, is it not? In that case, depending on your use case and targeted platform at least the following guidelines could come in question:

    -using LWUIT which allows creating a Tree structure as described on this guide: http://download.oracle.com/javame/de...oper_Guide.pdf

    -using eSWT UI API for S60 or Symbian development, which allows using a Tree view of it's own as described on Java Developer's Library by Nokia (Java Developer's Library 3.10 > Developer's guides > UI and graphics > eSWT > Using eSWT > Tree): http://library.developer.nokia.com/i...753E8A934.html

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. how to create and access resource file in j2me
    By jackofall in forum Mobile Java General
    Replies: 8
    Last Post: 2012-07-30, 13:08
  2. Replies: 1
    Last Post: 2010-09-22, 08:15
  3. How to create a file in resource folder J2ME?
    By junedahmed in forum Mobile Java General
    Replies: 5
    Last Post: 2010-04-19, 09:24
  4. Replies: 9
    Last Post: 2010-02-11, 11:39
  5. how to create a list from the resource file
    By zhang_guoqing in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-03-17, 00:45

Posting Permissions

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