aspose file tools
The moose likes Java Micro Edition and the fly likes How to get PNG thur Http Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "How to get PNG thur Http" Watch "How to get PNG thur Http" New topic
Author

How to get PNG thur Http

rexlee123
Greenhorn

Joined: Dec 28, 2000
Posts: 1
It is pretty easy to get a text file thru http, however, how can it be done for a PNG file?
Matt Midcap
Sheriff

Joined: Jan 07, 1999
Posts: 440
Howdy,
Sorry I don't know the answer to your question but I'm just playing moderator this time. Please check out our naming policy here ( http://www.javaranch.com/name.jsp ) re-register and come back and see us.
Thanks,
Matt


Best Regards,<br />Matt Midcap
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
HTTP is a very simple protocol at its core, and the way you get a text file is no different than the way you get a binary file. Just open a connection to the URL and use the input stream to read the data.
Eric


Eric Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
 
 
subject: How to get PNG thur Http
 
developer file tools