I got the same problem, when I uploaded the videos to Facebook, I have got
the same issue while uploading big files, have you found any workarround,
even I flushed the outstream on every read. but it did not also seems be the
solution.

On Fri, Apr 9, 2010 at 2:23 AM, Anna PS <[email protected]>wrote:

> > 1. Why are you using a ContentProvider?
>
> Because that seemed to be the best way to get from a content URI
> (returned from the Android video camera intent) to a byte stream.
> Happy to do it another way, though.
>
> > 2. What are you doing with the >2MB byte array when you get it on the
> > ContentResolver side?
>
> Once I've got the videoByteArray, I'm uploading it to a server, as a
> FilePart within a multipart message. I can post the code for that if
> it would be useful.
>
> It works well for files of less than 2MB.
>
> > My hope is that there's a way to avoid the problem altogether.
>
> That would be good :) If anyone can work it out, it's probably you!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to