phpandroidweb-servicescachingclear-cache

android cache my webServise results


I'am making a game and make a website to store the Score Board when I call the webservise the old Score Board appears !!! I tried to open the webServise from the android browser but the browser appears the old Score Board when i "refresh" android web Browser the new one appears how can I Solve this Problem? this is my app link on the play store I need to update it soon

My Application


Solution

  • I am using web Service not WebView and finally I found the solution

     HttpGet httpget = new HttpGet("http://example.com/dir/page.php?"+r.nextInt(1000));
    

    putting a random number as a parameter make the request Different
    thanx all