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
Hi,
Take a look through these...
http://www.google.com.au/#hl=enxhr=tq=android+http+multipart+upload+examplecp=37pf=psclient=psyaq=faqi=aql=oq=android+http+multipart+upload+examplepbx=1fp=b56462fbc30bae12
Regards
On Feb 17, 11:43 pm, alex c alex.chuny...@gmail.com wrote:
i cannot believe i am
and how will it help me with the actual problem? read my posts #1 and
#6. the question isn't about how to send multipart data as it is
quite a trivial tast itself.
On 18 фев, 09:16, gjs garyjamessi...@gmail.com wrote:
Hi,
Take a look through these...
yeah. i tried it with WIFI and via tethering through usb to my laptop
pppoe connection. and it works. fine.
but the problem is that my clients use quite slow wifi connection in
Andorra and they have this same issue and images they upload though
app get almost 100% corrupt.
as for htc hd2 - yeah,
Alex,
Ok, let's see if I understand it:
- Your clients are having this problem with data corruption;
- You are not having this problem, the code works just fine every time.
Right? If so, let me go on:
- Your clients use some kind of slow WiFi and experience data
corruption between the phone
not exactly
i experience this same problem on my slow 3G (Megafon) connection too,
but don't have this on WIFI or wire network.
but! if i connect my laptop to internet via my phone (winmobile 6.5)
3g connection, it works perfect. a bit slow, but none of content i see
on laptop is corrupt.
i
Try setting the multipart/form-data header in your connection. Might
be easy to use HTTPUrlConnection.
See:
http://stackoverflow.com/questions/4896949/android-httpclient-file-upload-data-corruption-and-timeout-issues
On Wed, Feb 16, 2011 at 2:38 AM, alex c alex.chuny...@gmail.com wrote:
not
Sorry, missed the part where you already tried URLConnection.
You should post that code here, because using non-standard classes,
specially for network communication, is not recommended.
On Wed, Feb 16, 2011 at 4:23 AM, Miguel Morales therevolti...@gmail.com wrote:
Try setting the
Bah, sorry it's late. Noticed you are using DefaultHTTPClient. In
any case, have you tried setting the multi-part header yourself? Did
you see it set when you were using tcpdump?
On Wed, Feb 16, 2011 at 4:35 AM, Miguel Morales therevolti...@gmail.com wrote:
Sorry, missed the part where you
yeah. that post on stackoverflow was actually mine =) and after not
getting any useful replies on there i decided to post it here
i tried to create multipart bundle myself and actually it was much
easier to debug the output.
it doesn't matter what i use. the tcpdump on android is perfect.
tcpdump
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
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
Alex,
I don't think you need to call addHeader with the content type here.
Other than that, have you tried testing with different network
connectivity options? (mobile with different networks, WiFi though
different routers).
Finally, you mentioned an HTC HD2 - that's a Windows Mobile phone,
You are right, it is a bad idea to do it in the UI thread, but his
problem is not the problem one would expect from doing it in a UI
thread. That is, given that his failure takes place in his existing
code, I would expect the same failure to take place once he has moved
it to a worker thread.
yes a iknow, but if he maybe get an ANR, the images could be corrupted
if not fully uploads them.
of corse he didn't write anything about he would have an ANR.
On 12 February 2011 09:35, Indicator Veritatis mej1...@yahoo.com wrote:
You are right, it is a bad idea to do it in the UI thread, but
This:
HttpResponse resp =*NetworkUtils.sendHttpRequestMultipart*(exportUrl,
reqEntity);
does not look like an Android SDK fuction.
Without seeing the code for it, we can only guess.
-- Kostya
12.02.2011 13:11, Gergely Juhász ?:
yes a iknow, but if he maybe get an ANR, the images could
16 matches
Mail list logo