Include a database file with Android application via Eclipse

Posted by fatcat1111 on Stack Overflow See other posts from Stack Overflow or by fatcat1111
Published on 2009-06-13T22:31:04Z Indexed on 2010/06/17 12:53 UTC
Read the original article Hit count: 252

Filed under:
|
|

How can I instruct Eclipse to copy a file from my Android solution to an emulator, as part of Run/Debug? I have a small database, stored in Assets, that needs to accompany the application. Thus far I have simply copied the file myself using DDMS but would prefer to have it automatically included. The project properties allow me to specify some aspects of the build, e.g. the build order and which libraries should be included, but I don't see anything about simply copying a file.

© Stack Overflow or respective owner

Related posts about android

Related posts about database