Anna PS wrote:
> Apologies for cross-posting with StackOverflow, but I'm getting a bit
> desperate. I'll cross-post any final answer too.
> 
> Please could anyone suggest an approach for transferring a >2MB video
> from a ContentResolver into a Bytestream, without running out of
> memory?

1. Why are you using a ContentProvider?

2. What are you doing with the >2MB byte array when you get it on the
ContentResolver side?

My hope is that there's a way to avoid the problem altogether.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
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