Android Question How to disable android cache ?

HTTPJOB data Cache ... because I found some data which received from SERVER will be stored in the cache .... and I want to disable cache so the data can be synchronous to the Server
 
Upvote 0
Maybe off topic: How to clear cache? After sometime of using, my app is full of cached file in /data/data/package.name/cache
 
Upvote 0
How are you retrieving the information?

GET or PUT? Put should get the current information whereas a GET will use cached information for instance.
 
Upvote 0
Can you post some code please, as it's a bit hard to work out what the issue is...

Something like :

Code: Copy
    Dim DataUrl, DataPostString As String

    DataUrl = "http://www.url.com"

    DataPostString = "your_poststring_here"   

    Current_Filter = "ALL"

    Dim job As HttpJob


    'Send a POST request

    job.Initialize("Data Update", Me)

    job.PostString(DataUrl & DataPostString, Null)


    ProgressDialogShow2("Refreshing reference data...", False)
 
Upvote 0
Back
Top