question: private final void savePGNToFile ( String pathName , boolean silent ) { String pgn = ctrl . getPGN ( ) ; Editor editor = settings . edit ( ) ; editor . putString ( "currentPGNFile" , pathName ) ; editor . putInt ( "currFT" , FT_PGN ) ; editor . commit ( ) ; Intent i = new Intent ( DroidFish . this , EditPGNSave . class ) ; i . setAction ( "org.petero.droidfish.saveFile" ) ; i . putExtra ( "org.petero.droidfish.pathname" , pathName ) ; i . putExtra ( "org.petero.droidfish.pgn" , pgn ) ; i . putExtra ( "org.petero.droidfish.silent" , silent ) ; startActivity ( i ) ; }
target:  Save current game to a PGN file. 