I am creating a log file in android.
I am facing a problem while creating a file as i want to create a log file with name 'log_file' and after the logfile size is 200MB
It should create a new logfile with name log_file(1).
Can anyone plz provide me java code for the same????