File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

displaying large images in phone

 
Mateen Dar
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Images can only be in the .png format in J2ME and the size is to be less.
 
William Frantz
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic