Anders wrote: > I have a simple problem. I want to put a file into my applications > apk, and upon installation I would like to copy this file into the > device filesystem. Does anyone know how to do this?
Package the file as a raw resource. Get an input stream for the resource. Get an output stream for your destination file. From there, it's a standard Java I/O copy operation: http://www.exampledepot.com/egs/java.io/CopyFile.html -- 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 Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

