Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

22
LINES

< > BotCompany Repo | #1005193 // Leo TalkBack German (Android), no gfx

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2040L/15K/48K).

1  
!759
2  
3  
!include #1001279 // Leopold
4  
!include #1001293 // Emoticons
5  
!include #1005191 // Logic (repeat input)
6  
7  
p {
8  
  fastSynthesis = true;
9  
  showPicture = false; // Let us see the text output
10  
  leoMain();
11  
}
12  
13  
svoid recogTimeSettings(Intent intent) {
14  
  // 1 second minimum speech length
15  
  intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS, 1000);
16  
  
17  
  // Stop listening after pause of 1 second
18  
  intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS, 1000);
19  
  intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS, 1000);
20  
21  
22  
}

Author comment

Began life as a copy of #1005192

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pnmttuucjkfb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005193
Snippet name: Leo TalkBack German (Android), no gfx
Eternal ID of this version: #1005193/1
Text MD5: d1b6e126f6fe1b415d63cb0a3bea0f9f
Transpilation MD5: 89df6c1be7994dc4c970b4411ee7d0d3
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-22 00:26:56
Source code size: 633 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 450 / 520
Referenced in: [show references]