Alternatively, you could download the file at first run, do whatever it is that you need to do with it then delete it.
On Jun 25, 5:44 am, nuno <[email protected]> wrote: > Thanks Mark, > I though that was the answer. I'll have to live with the file. > Cheers, > > Nuno > > On Jun 25, 1:39 pm, Mark Murphy <[email protected]> wrote: > > > > > nuno wrote: > > > I have a large (900kb) asset in the assets directory which is only > > > used once by the app at initialization time. Is there way for me to > > > delete this file at runtime? > > > No. > > > > If not delete change it's contents to "0" and effectively reduce its > > > size to almost nothing. > > > No. > > > > There isn't really any point of having this take space on the phone's > > > limited memory. > > > That may be true, but the APK is signed and cannot be modified at runtime. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > _Beginning Android_ from Apress Now Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

