This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

create slide show in MIDlet  RSS feed

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone , i'm planning to create a slide show application which display pictures when a button is clicked. Do I have to use thread for this ? Anyone has experienced this can give me example how to create slide show in java? :roll:

cordially,
Paula
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No you don't need threads.

You need to look into using a "canvas" in MIDP. You can detect button presses and display PNG files packaged as resources in your JAR.

What you are describing should be a very simple application to write. Create a canvas, load a PNG, display it, wait for a keypress, repeat.

William Frantz
http://sprintdevelopers.com
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!