Back to project page SpeechWriter.
The source code is released under:
MIT License
If you think the Android project SpeechWriter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package edu.psu.rcy5017.speechwriter.task; /*from www .j a v a2 s .co m*/ import edu.psu.rcy5017.speechwriter.datasource.NoteDataSource; import edu.psu.rcy5017.speechwriter.model.Note; public class ChangeNoteTextTask extends NoteTask { private NoteDataSource datasource; public ChangeNoteTextTask(NoteDataSource datasource, Note note) { super(note); this.datasource = datasource; } @Override protected Void doInBackground(Void... params) { final Note note = getNote(); datasource.open(); datasource.changeNoteText(note, note.getText()); datasource.close(); return null; } }