On Fri, Aug 13, 2010 at 3:12 PM, Shinji <[email protected]> wrote:

> I would like to create a xml file in my project. This file must be loaded
> in runtime.
> How could I do this? I want to create the file and not a resource.
> How to put on deployment a file on /data/data/<project>/files folder?
>

If you're talking about a static XML file you populate and your app reads,
then just use the xml folder.
If you're talking about generating an XML file at runtime and saving it, use
context.getFilesDir() (or something) and standard Java I/O.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to