Java tutorial
//package com.java2s; import android.util.Log; public class Main { public static void Logit(String lc_mess) { Log.v("BBBB", lc_mess); /* File gpxfile = new File("/mnt/sdcard/1.txt"); FileWriter writer = new FileWriter(gpxfile); writer.append(lc_mess); writer.flush(); writer.close(); */} }