// 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: | 710 / 718 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010654 - hasServerDex - check if there is a .dex on the server |