Sundog wrote: > The best way I have found to populate my SQL database upon install is > to read an included text file of SQL insert statements and execute > them.
Yes, that trick works fairly well. In fact, I have a section in my upcoming Advanced Android book that covers this technique. > However the file is fairly large and I'd like to delete it from > the phone after use, since it's only used once. Is there a way to do > this? No. APKs are immutable once installed. Since APKs are ZIP files, the compressed SQL statements might not take up all that much room, since text files compress well. You might want to examine how much space they are really consuming in your particular case -- it might not be worth worrying much about. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

