Code example for FileHandler

Methods: close

0
 */ 
    @Override 
    public void onDestroy() { 
        _printhandler.get().getLooper().quit();
        NotifUtil.addLogNotif(this, false);
        filehandler.close();
        super.onDestroy(); 
    } 
 
    @Override 
    public IBinder onBind(Intent intent) {
        return null; 
    } 
 
    public class LogWriterRunnable implements Runnable {
        private String msg;
 
        public LogWriterRunnable(String message) {
            msg = message;
        }