This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

create slide show in MIDlet  RSS feed

 
pingkan paula
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
 
William Frantz
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!