10-07-2009 06:14 AM
10-07-2009 06:15 AM
10-07-2009 06:34 AM
BTW: the simulator is now working with IIS7 AND my C# app ... no problems at all (for now).
Please - there must be a solution for this problem. I can´t be the only person doing (chunked) HTTP transfers on a 8900 over direct wifi....
10-07-2009 07:58 AM - edited 10-07-2009 08:00 AM
- tried 9000er simulator - no success
- tried to read 7MB at once, no success
If nobody can help me out, how can I open a ticket at RIM to get help? This is a very simple application and a simple network transfer which is NOT working as designed.
What would also help is a short app for the Blackberry which simply downloads a >10MB file from a webserver - nothing more. I need a direect tcp wifi connection.
Thanks in advance.
10-07-2009 08:41 AM - edited 10-07-2009 08:42 AM
I stripped the test down to the essentials, and I can confirm that I'm getting this issue on some simulators (including v5.0). I suggest you create a small test app that demonstrates the issue without doing anything extraneous (e.g., read from the InputStream without saving the results anywhere and just count the number of bytes read) and then submit this to RIM's Developer Issue Tracker.
P.S. Try this for as a yet another workaround: read the stream byte-by-byte using "int InputStream.read()" -- it's slower and more taxing on the CPU, but, may be, it works.
10-07-2009 10:48 AM - edited 10-07-2009 10:52 AM
thanks for testing this.
I´ve written a small app which can be downloaded here: http://files.toad.de/HTTPTester.jad.
Source and project is here: http://files.toad.de/HTTPTester.zip
On the simulator it takes a lot of loops until it hangs, one time 51, one time never - well I gave up at 90. Using the Blackberry it took me 3 to 5 loops for the process to be hanging - with and without saving the file.
Perhaps some people can test this, simply put in a (local) URL with some file and put in a local path to save the file. Start the process, wait for the security dialog to be opened (if any) and then count the loops until the app hangs. Sometimes it hangs at 100% sometimes between 0% and 100%.
Please test with AND without saving the file, reboot the device after a failed test.
10-07-2009 11:19 AM - edited 10-07-2009 11:20 AM