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; //w ww. j av a2 s . c o m import edu.psu.rcy5017.speechwriter.datasource.NoteCardDataSource; import edu.psu.rcy5017.speechwriter.model.NoteCard; public class RenameNoteCardTask extends NoteCardTask { private final NoteCardDataSource datasource; public RenameNoteCardTask(NoteCard noteCard, NoteCardDataSource datasource) { super(noteCard); this.datasource = datasource; } @Override protected Void doInBackground(Void... params) { final NoteCard noteCard = getNoteCard(); datasource.open(); datasource.renameNotecard(noteCard, noteCard.getTitle()); datasource.close(); return null; } }