3

There is requirement that I need to delete a file from assets when my application is re-installed. And this file must remain same in every launch. How can I do this?

Polynomial
  • 27,674
  • 12
  • 80
  • 107
prithvi raju
  • 33
  • 1
  • 3
  • 1
    When you reinstal you add the new assets folder so the old assets folder doesn't matter... The file will be the same as it is packed inside your assets of your app. – Warpzit Dec 02 '11 at 12:45

1 Answers1

2

I think, assets/ folder is not modifiable at runtime, So you can't. (Hope I am wrong on this) :-)

Look at this discussion Delete assets at runtime

user370305
  • 108,599
  • 23
  • 164
  • 151
  • 1
    Also look at this SO question [how we can remove a file from the assets folder at runtime in android?](http://stackoverflow.com/questions/4398523/how-we-can-remove-a-file-from-the-assets-folder-at-runtime-in-android). – user370305 Dec 02 '11 at 12:58