Escrever arquivo para sdcard no android

Eu quero criar um arquivo no sdcard. Aqui eu posso criar arquivos e ler / escrever para o aplicativo, mas o que eu quero aqui é, o arquivo deve ser salvo na pasta específica do sdcard. Como posso fazer isso usandoFileOutputStream?

// create file
    public void createfile(String name) 
    {
        try
        {
            new FileOutputStream(filename, true).close();
        } catch (FileNotFoundException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }

    // write to file

    public void appendToFile(String dataAppend, String nameOfFile) throws IOException 
    {
        fosAppend = openFileOutput(nameOfFile, Context.MODE_APPEND);
        fosAppend.write(dataAppend.getBytes());
        fosAppend.write(System.getProperty("line.separator").getBytes());
        fosAppend.flush();
        fosAppend.close();
    }

questionAnswers(4)

yourAnswerToTheQuestion