Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User phamkhanh's Avatar
    Join Date
    Sep 2011
    Posts
    1
    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 Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    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

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
  •  
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