Re: [android-developers] Re: Donwloadin incomplete file

2013-05-22 Thread Rahul Kaushik
http://192.168.9.67:8080/branch15/control/ipw/downloadFile?fileName=You_Should_Be_Working_1921117838.jpgdirectory=attachment/AUDITdisplayfile=You_Should_Be_Working.jpg Thanks On Tue, May 21, 2013 at 7:58 PM, bob b...@coolfone.comze.com wrote: What is the URL you are downloading from?

Re: [android-developers] Re: Donwloadin incomplete file

2013-05-22 Thread bob
Well, there's a limit to what I can do since that URL is on your LAN, and I don't have access to it. However, it seems like it is getting the file name correctly as * You_Should_Be_Working.jpg*. I would go to that URL in a web browser and make sure it shows the image. It would not surprise

[android-developers] Re: Donwloadin incomplete file

2013-05-21 Thread Piren
Sometimes i see your responses and wonder if you're responding to the same topic or something completely different... On Monday, May 20, 2013 10:48:00 PM UTC+3, bob wrote: Actually, I was looking at your code some more, and *I would want to know the URL you are downloading from* to get a

Re: [android-developers] Re: Donwloadin incomplete file

2013-05-21 Thread Rahul Kaushik
yes am searching for the= sign and i have set both the permissions but same result Thanks On Tue, May 21, 2013 at 1:18 AM, bob b...@coolfone.comze.com wrote: Actually, I was looking at your code some more, and *I would want to know the URL you are downloading from* to get a better idea of

Re: [android-developers] Re: Donwloadin incomplete file

2013-05-21 Thread bob
What is the URL you are downloading from? Thanks. On Tuesday, May 21, 2013 4:45:44 AM UTC-5, rahul kaushik wrote: yes am searching for the= sign and i have set both the permissions but same result Thanks On Tue, May 21, 2013 at 1:18 AM, bob b...@coolfone.comze.comjavascript: wrote:

[android-developers] Re: Donwloadin incomplete file

2013-05-20 Thread Piren
holy fuck man... there's a plethora of mistakes in your code... how about you just copy paste this (which btw, took me about 2 seconds to find) http://stackoverflow.com/questions/3028306/download-a-file-with-android-and-showing-the-progress-in-a-progressdialog On Monday, May 20, 2013 3:25:12

[android-developers] Re: Donwloadin incomplete file

2013-05-20 Thread bob
I'd say you are probably trying to write to a bad filename. Maybe try changing the file open code to this: FileOutputStream fos = new FileOutputStream(Environment .getExternalStorageDirectory().toString() + / + *test.hmm*); Thanks. On Monday, May 20, 2013 7:25:12 AM UTC-5, rahul kaushik

[android-developers] Re: Donwloadin incomplete file

2013-05-20 Thread bob
Actually, I was looking at your code some more, and *I would want to know the URL you are downloading from* to get a better idea of the correctness. I see that you are searching for an equals sign and using that to find the file name. If it turns out you are coming up with an okay file name,