tags:

views:

101

answers:

1

i want to use this import javax.microedition.io.HttpConnection;

package in my SE application. my purpose is to connect to the webserver to download a image. i found this code while searching. that code was designed to ME application.

can soemone help me to find this for SE application.

+2  A: 

Just use new URL(...).openConnection()

There are plenty of tutorials on java.net.URL too.

Matthew Flaschen
+1 - J2ME code may need source-code changes to run on J2SE. Them's the facts.
Stephen C