update tts
This commit is contained in:
parent
b34df04cbe
commit
a23f38ace4
|
@ -2841,7 +2841,7 @@ public TypeStatistics getTracksStat(int trackType,long startDate,long endDate)
|
|||
this.mTts = SpeechSynthesizer.getInstance();
|
||||
this.mTts.setContext(this);
|
||||
this.mTts.setSpeechSynthesizerListener(mTtsInitListener);
|
||||
this.mTts.setParam(SpeechSynthesizer.PARAM_VOLUME, "9");
|
||||
this.mTts.setParam(SpeechSynthesizer.PARAM_VOLUME, "5");
|
||||
this.mTts.setParam(SpeechSynthesizer.PARAM_SPEED, "5");
|
||||
this.mTts.setParam(SpeechSynthesizer.PARAM_PITCH, "5");// 语调 [ 0- 9]
|
||||
this.mTts.setParam(SpeechSynthesizer.PARAM_SPEAKER, "0");//
|
||||
|
|
|
@ -658,6 +658,7 @@ public void stopNaviService(){
|
|||
|
||||
app.setRecordingTrack(new Track());
|
||||
startNewTrack(false);
|
||||
app.speech("开始新运动",100);
|
||||
}
|
||||
/*
|
||||
* continue the current track for recording.
|
||||
|
|
|
@ -1871,7 +1871,7 @@ public class Route_fragment extends TrackTabs_fragment implements IlocationFra
|
|||
// switchButtonStatus();
|
||||
|
||||
if(msg.what==0){
|
||||
showMsg("已保存,新增路书编号:" +trackId+",可以从菜单-->我的记录-->路书分类中找到该路书。");
|
||||
showMsg("已保存,新增路书编号:" +trackId+",可以从我的-->更多-->我的记录-->路书分类中找到该路书。");
|
||||
activity.updateActionBarTitle( getResources().getString(R.string.frg_route)+ " 编号"+trackId);
|
||||
activity.app.getTrackCache().put(trackId, gpxTrack);
|
||||
setWorkingTrack();
|
||||
|
@ -1936,7 +1936,7 @@ public class Route_fragment extends TrackTabs_fragment implements IlocationFra
|
|||
activity.app.currentTrack=gpxTrack;
|
||||
}
|
||||
doSave();
|
||||
showMsg("已保存"+(trackId>0?"":",你可以从菜单-->我的记录-->路书分类中找到该路书"));
|
||||
showMsg("已保存"+(trackId>0?"":",你可以从我的-->更多-->我的记录-->路书分类中找到该路书"));
|
||||
btnNavi.setEnabled(true);
|
||||
btnSNav.setEnabled(true);
|
||||
}
|
||||
|
@ -2742,7 +2742,7 @@ public class Route_fragment extends TrackTabs_fragment implements IlocationFra
|
|||
txt_importNote.setText("请将待导入的GPX文件(夹)放入下面目录: \n"
|
||||
// +QiYouConstant.IMP_PATH
|
||||
+"/qiyou/imp/"
|
||||
+"\n导入的GPX轨迹可以在 菜单-->我的记录-->路书页面中找到。");
|
||||
+"\n导入的GPX轨迹可以在 我的-->更多-->我的记录-->路书页面中找到。");
|
||||
else
|
||||
txt_importNote.setText("GPX导入过程出现错误,请检查下列文件格式是否正确:");
|
||||
mbtn_import.setEnabled(false);
|
||||
|
|
Loading…
Reference in New Issue