Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listing resources

 
Joel Ricker
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe I'm missing something but can I not get a listing of files in the resource directory at runtime in my MIDlet? Right now I've got all my possible filenames hardcoded in but would like to just load them when the the MIDlet starts.

Joel
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was recently looking for exactly the same thing and I came to the conclusion that it couldn't be done. I put filenames into my JAD properties and read them at runtime.

Anybody have a better suggestion?

William Frantz
http://sprintdevelopers.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic