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

6
LINES

< > BotCompany Repo | #1023375 // androidAssistant_token - create if not there

JavaX fragment (include)

sS androidAssistant_token() {
  S token = loadTextFileTrim(androidAssistant_tokenFile());
  if (empty(token))
    saveTextFile(androidAssistant_tokenFile(), token = randomID(24));
  ret token;
}

Author comment

Began life as a copy of #1023374

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: #1023375
Snippet name: androidAssistant_token - create if not there
Eternal ID of this version: #1023375/3
Text MD5: d6fa47b014ca00d32285dc0f99fa219a
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-11 19:45:48
Source code size: 199 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 270 / 301
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)