aspose file tools*
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
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with downloading Images using DataInputStream(contd...)