[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-17 Thread alex c
i cannot believe i am the only luck person who experiences this... =) hoped to find a solution here :( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-17 Thread alex c
=android+http+multipart+upload... Regards On Feb 17, 11:43 pm, alex c alex.chuny...@gmail.com wrote: i cannot believe i am the only luck person who experiences this... =) hoped to find a solution here :( -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread alex c
a Windows Mobile phone, are you testing your code with a custom Android build made for that phone? If that's the case and you didn't mean the Desire HD, try a device that has vendor-supplied Android firmware. -- Kostya 14.02.2011 10:25, alex c пишет:                    HttpPost post = new

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread alex c
, perhaps your clients could drive a few miles into France or Spain, find a McDonalds with free WiFi, and test your application there? -- Kostya 16.02.2011 11:56, alex c пишет: yeah. i tried it with WIFI and via tethering through usb to my laptop pppoe connection. and it works. fine

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread alex c
setting the multipart/form-data header in your connection.  Might be easy to use HTTPUrlConnection. See:http://stackoverflow.com/questions/4896949/android-httpclient-file-up... On Wed, Feb 16, 2011 at 2:38 AM, alex c alex.chuny...@gmail.com wrote: not exactly i experience this same

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-15 Thread alex c
ok. sorry for delay. i haven't realized that the message was already approved.. 1) the UI thread. it is just a test application i made so i would be sure that nothing else affects is.. the main application i experience problems with is quite big and surely all network communication is made in a

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-15 Thread alex c
not really sure if this group owners are still pre-moderating me or i just clicked a wrong button On 12 фев, 13:25, Kostya Vasilyev kmans...@gmail.com wrote: This: HttpResponse resp =*NetworkUtils.sendHttpRequestMultipart*(exportUrl,   reqEntity); does not look like an Android SDK

[android-developers] Corrupted images when uploading to server via POST

2011-02-11 Thread alex c
ello. i'm experiencing a problem when uploading images from my android application to remote server (apache with php). devices are: htc hd2 and samsung galaxy tab. all with android 2.2 the application itself is very simple: public class UploadTest extends Activity { private final static