Im a new to java On 2011 Jan 22 22:10, "nation-x" <[email protected]> wrote:
Please have patience with my noob questions... I am new to Java. I am reading a large file (podcast) from the web which I am playing with the mediaplayer... I have been looking at how I can truncate the buffer during write and I think I can use FileChannel but I am not exactly sure how to implement it. Can someone point me in the right direction here? Basically, I want to limit the size of the downloaded file so that I don't use up too much space on the SD Card (say 5mb or so) but I need to be able to continue playback as I truncate the file. Thanks in advance -- 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

