File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes how to add xml data in raw folder in my application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to add xml data in raw folder in my application." Watch "how to add xml data in raw folder in my application." New topic
Author

how to add xml data in raw folder in my application.

Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

i have one raw folder in my application. i want to save my xml data in this folder(in .xml file). i have a big string data and i want to save this string in xml file.

thanks.....


do or die..!!!
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
The contents of the raw directory are resources for the Android app, not an actual directory you can write files to at runtime. See http://developer.android.com/guide/topics/data/data-storage.html for various ways to store data from within the app.
Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

ohkkk...thankssss
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to add xml data in raw folder in my application.
 
Similar Threads
upload file outside EAR
need help on Java.NIO
XML or Database?
excel file opening,editing and saving
file saving