Android Question Httputils Job making temp files in files directory of APK

ronovar

Active Member
Licensed User
Longtime User
I have this code to get info from my server (this is for example epg json string)

B4X:
    'INITIALIZE - Job4
    Job4.Initialize("Job4", Me)

    'GET - EPG
    Job4.Download("http://myurl.com/epg/CH_01")

Job4 in jbs Sub then read json from server and show info on OSD.

Problem is that for every job4 start to read json from server it creates in application files folder temporary files (in this example json data) and files are names 1,2,3,4,5,6,7...and so on without extension.

Now i have 250files and files are growing when using apk to read epg for each channel...so the question is:

How i can only read in memory of android device and not to save temporary file. SO only to read json from server and show on OSD. I don't need to save temporary files on device.

Thanks.
 
Top