This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Problem with downloading Images using DataInputStream(contd...) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Problem with downloading Images using DataInputStream(contd...)" Watch "Problem with downloading Images using DataInputStream(contd...)" New topic
Author

Problem with downloading Images using DataInputStream(contd...)

Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
The phones did subscribe to data service and they did prompt to approve the network connection. I did check the server log file and there is no incoming connection, the log file does get an incoming connection from the emulator. Could it be the connection? I changed the http link in the code so it would download an image from www.o2.co.uk and the phone downloaded the image. Or is there some problem with the server?


"its bad luck to be superstitious....."
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Have you checked that your server is accessible from the Internet (i.e. outside of your own network)? Are you using a non-standard port in the URL (I know some operators don't allow access to ports other than 80 and 8080)?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
 
subject: Problem with downloading Images using DataInputStream(contd...)
 
Similar Threads
Why (and how) is Tomcat logging http requests from our apache web server
Problem with downloading Images using DataInputStream
Help - Post Image - getting UPLOAD_ERR_PARTIAL
Setting up web sites
refresh/caching problem