another option i've seen is to bundle your data in a different .apk. when the data.apk installs, it just copies the bundled data from the apk to say the sdcard ... then asks the user to delete the data.apk.
i suppose the option below would be preferable unless you don't have a place to host your data. On 12/11/09 11:35 AM, Andriy Tsykholyas wrote: > John and Mark, > > thanks for your answers :) > > On Dec 10, 7:50 pm, "Mark Murphy"<[email protected]> wrote: > >>> My idea is to put this data as a file in the .apk. Then, on initial >>> application launch to read this data and populate Android SQLite >>> database with it. Then just work with this database. But after the >>> database is populated the data file is no longer needed. And I'd like >>> to remove it to free some memory. >>> >> The APK file cannot be modified at runtime, so you will not be able to >> delete your data file if it is packaged in the APK. If you download the >> data file after install, you can delete the downloaded data file after >> conversion to SQLite (or just download it in SQLite format in the first >> place). >> >> -- >> Mark Murphy (a Commons Guy)http://commonsware.com >> Android App Developer Books:http://commonsware.com/books.html >> > -- -- 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
<<attachment: qr-gmail.png>>

