question: public static void saveToSdCard ( List < Entry > entries , String path ) { File sdcard = Environment . getExternalStorageDirectory ( ) ; File saved = new File ( sdcard , path ) ; if ( ! saved . exists ( ) ) { try { saved . createNewFile ( ) ; } catch ( IOException e ) { Log . e ( LOG , e . toString ( ) ) ; } } try { BufferedWriter buf = new BufferedWriter ( new FileWriter ( saved , true ) ) ; for ( Entry e : entries ) { buf . append ( e . getY ( ) + "#" + e . getX ( ) ) ; buf . newLine ( ) ; } buf . close ( ) ; } catch ( IOException e ) { Log . e ( LOG , e . toString ( ) ) ; } }
target:  Saves an Array of Entries to the specified location on the sdcard