1 | // file will be in current program's cache dir |
2 | static File loadProgramDex(S snippetID) { |
3 | snippetID = str(parseSnippetID(snippetID)); |
4 | File dexFile = getCacheProgramFile(snippetID + ".dex"); |
5 | saveBinaryFile(dexFile, |
6 | loadBinaryPage(tb_mainServer() + "/dexcompile.php?id=" + psI(snippetID))); |
7 | if (dexFile.exists()) |
8 | print("Dex downloaded to " + f2s(dexFile)); |
9 | ret dexFile; |
10 | } |
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: | 501 / 496 |
Version history: | 1 change(s) |
Referenced in: | [show references] |