It's not a secret anymore!*
The moose likes Java Micro Edition and the fly likes displaying large images in phone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "displaying large images in phone" Watch "displaying large images in phone" New topic
Author

displaying large images in phone

Mateen Dar
Ranch Hand

Joined: Jan 14, 2005
Posts: 55
hi i am new to j2me .. i want to display a large pucture in the screen area.
(emulator) . how large can the picture be. can the picture be scolled. . also can anyone tell me how i can send a request to a server .. and the server send me back a picture. with a bit code if u can
karthick janaki
Greenhorn

Joined: Nov 18, 2004
Posts: 4
Images can only be in the .png format in J2ME and the size is to be less.
William Frantz
Ranch Hand

Joined: Dec 08, 2004
Posts: 102
Most the answers you seek are in the J2ME MID Profile Specification available from Sun (http://java.sun.com/j2me/docs/)

However, I will point out that what you described can be easily handled by most microbrowsers built into most J2ME phones. Put a picture on a server and just use an http request. For example, open this link on your phone:

http://apgap.com/pub/William.jpg

Your browser should display the picture. If it's too large for your display (that example shouldn't be) you'd be able to pan up/down/left/right around the image. This is just a capability built-in to most browsers. There's nothing special about the image or the server.

William Frantz
http://SprintDevelopers.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: displaying large images in phone