wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes runs animated image under midlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "runs animated image under midlet" Watch "runs animated image under midlet" New topic
Author

runs animated image under midlet

Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
i have a animated image which takes 150 x 150 pixels.

i have a midlet which takes animated image as welcome first screen for around 4 seconds and then jumps into my application main menu.

so i tested with one animated where the cartoon guy can move for my welcome screen.

it displays well, but then it isn't moving in the phone.

---

my phone support image/gif MIME types, but the image display statically.

how to fix it?


From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
Syam Sathyan George
Ranch Hand

Joined: Apr 26, 2006
Posts: 64
I havent seen any phones capable of displaying an animated gif.
If you take a look at the j2me spec it says the surely supported image format in all implementations is png.

If you want to display an animation on startup, use Canvas based Screens and code the way the images are to be displayed.
Still better is to take a gif animator for cldc from web....


Syam.Sathyan.George
(My boss is a Jewish carpenter)
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
Originally posted by Syam Sathyan:
I havent seen any phones capable of displaying an animated gif.
If you take a look at the j2me spec it says the surely supported image format in all implementations is png.

If you want to display an animation on startup, use Canvas based Screens and code the way the images are to be displayed.
Still better is to take a gif animator for cldc from web....


thanks for the info.

i canceled my mind of putting animated gif.
Syam Sathyan George
Ranch Hand

Joined: Apr 26, 2006
Posts: 64
Ok, thats great
But i am planning to write a Gif Animator, that can read the Frames out from a Gif Image and animate them on a Custom Component.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: runs animated image under midlet