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

12
LINES

< > BotCompany Repo | #1023387 // Phone Assistant: Greeting on Window Focus

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4362L/22K).

1  
!7
2  
3  
cmodule Greeting > DynPrintLogAndEnabled {
4  
  start {
5  
    dm_phoneAssistantAction(voidfunc(AssistantRequest r) {
6  
      if (eqic(r.event, 'windowFocused))
7  
        r.say(isGerman(r.language)
8  
          ? "Hallo"
9  
          : "Hi");
10  
    });
11  
  }
12  
}

Author comment

Began life as a copy of #1023385

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023387
Snippet name: Phone Assistant: Greeting on Window Focus
Eternal ID of this version: #1023387/1
Text MD5: 6192e6c0d38f8a41be6daa6bca42ca22
Transpilation MD5: ce5abbb7023c2ee6d6eef9d6e8a8e247
Author: stefan
Category: javax / web / a.i. / android
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-13 13:02:02
Source code size: 255 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 9313
Referenced in: [show references]