| Author |
Problem in loading gif/jpeg Image on Emulator.
|
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1291
|
|
Hi,
I having a difficulty in loading gif/jpeg format image in emulator. while the same code load the png format image without any complain.
here is the output & exception when loading this url "http://www.coderanch.com/templates/default/images/on.gif".
Any help would be appreciated.
Thanks,
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
Madhan Sundararajan Devaki
Ranch Hand
Joined: Mar 18, 2011
Posts: 312
|
|
|
I believe, you need to set the correct CONTENT-TYPE.
|
S.D. MADHAN
Not many get the right opportunity !
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 3214
|
|
|
What image types does MIDP support?
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1291
|
|
Thanks for your reply Madhanand and Darryl,
@Madhan
changing the content type with image/gif is not make it work.
@Darryl
thanks for the url.
PNG was supported on the test platforms as it should be.No other format was supported.
Does it mean that the code would work on real devices?
Thanks,
|
 |
 |
|
|
subject: Problem in loading gif/jpeg Image on Emulator.
|
|
|