1. Are you ready for the Galaxy S20? Here is everything we know so far!

APK Re-Install Won't Clear Data

Discussion in 'Android Development' started by theCayce, Jul 3, 2013.

  1. theCayce

    theCayce Lurker
    Thread Starter

    Hey;

    I'm developing an app that is a shell in which a user will purchase and load business information from 29 separate, purchasable regions in the US. These regions are database driven, and I'm still modifying the database for 2014 data. This is a test environment. The problem I'm having is that once I've simulated the purchase of a region (let's say, Chicago), my device apparently caches that data, so that when I update the database, the updates don't push through. I've tried clearing the cache on the app, erasing all the app data, and disabling the Backup & Restore feature on the device, then completely uninstalling the APK. But when I reinstall a the APK from scratch, it installs with the Chicago region already showing as having been purchased, still showing the old database data.

    Question is, how can I get the APK to reinstall as if for the very first time, with no previous purchases or downloads, so that it pulls fresh data from the DB?

    Thanks.

    Cayce
     



    1. Download the Forums for Android™ app!


      Download

       
  2. El Presidente

    El Presidente Beware The Milky Pirate!
    VIP Member

    Moved to the application development forum, the guys here will be in the best place to assist. :)

    Does it create SD Card Data? Do any folders exist after the uninstall?
     
  3. Hadron

    Hadron Smoke me a kipper...
    VIP Member

    Do you have the option to back up app data with Google servers enabled?
     
Loading...
Similar Threads - APK Install Won't
  1. Brenti
    Replies:
    6
    Views:
    548
  2. Jon Maldonado
    Replies:
    1
    Views:
    350
  3. Earl Ramos
    Replies:
    2
    Views:
    497
  4. melani78
    Replies:
    1
    Views:
    772
  5. muddlemand
    Replies:
    4
    Views:
    919
  6. Somogyi Henrik
    Replies:
    3
    Views:
    1,101
  7. Olivianeal
    Replies:
    3
    Views:
    506
  8. OM2
    Replies:
    5
    Views:
    762
  9. LukeShaw
    Replies:
    2
    Views:
    1,327
  10. pnbalaji
    Replies:
    1
    Views:
    1,314

Share This Page

Loading...