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; //ww w .j ava2 s . co m import edu.psu.rcy5017.speechwriter.datasource.SpeechDataSource; import edu.psu.rcy5017.speechwriter.model.Speech; public class RenameSpeechTask extends SpeechTask { private final SpeechDataSource datasource; public RenameSpeechTask(SpeechDataSource datasource, Speech speech) { super(speech); this.datasource = datasource; } @Override protected Void doInBackground(Void... params) { final Speech speech = getSpeech(); datasource.open(); datasource.renameSpeech(speech, speech.getTitle()); datasource.close(); return null; } }