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

10
LINES

< > BotCompany Repo | #1004527 // loadProgramDex - download .dex for program from server

JavaX fragment (include)

// file will be in current program's cache dir
static File loadProgramDex(S snippetID) {
  snippetID = str(parseSnippetID(snippetID));
  File dexFile = getCacheProgramFile(snippetID + ".dex");
  saveBinaryFile(dexFile,
    loadBinaryPage(tb_mainServer() + "/dexcompile.php?id=" + psI(snippetID)));
  if (dexFile.exists())
    print("Dex downloaded to " + f2s(dexFile));
  ret dexFile;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004527
Snippet name: loadProgramDex - download .dex for program from server
Eternal ID of this version: #1004527/2
Text MD5: 9af69d222ffd073746cc1b87c5b9d34e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-24 02:43:50
Source code size: 395 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 440 / 433
Version history: 1 change(s)
Referenced in: [show references]