Christina,

You could write a utility class that would do rolling file for you, or
you could plug in RollingFileAppender from log4j Apache logging
library.

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html


Daniel




On Mon, Feb 21, 2011 at 10:00 AM, Christina Loop
<[email protected]> wrote:
> Hello everyone,
>
> I would like to ask, if anyone knows how can we create a file which
> acts like a pipe.
>
> For instance I would like it to have 2MB size. The system should
> access this file as a FIFO, ie when the space of 2MB is over, the
> system should write on the file from the start of it.
>
> Is there any way I can create such a file?
>
> Thank you in advance for your help,
> Christina
>
> --
> 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



-- 
Daniel Drozdzewski

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