This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes how  to change the array into an file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how  to change the array into an file " Watch "how  to change the array into an file " New topic
Author

how to change the array into an file

deepika deepi
Ranch Hand

Joined: Jan 23, 2012
Posts: 199
i have an certain words stored in an array. i want that to be stored in a file and get the same output. how to introduce an file and declare the sentence in that instead of array? i have tried out. but it is showing many errors. can any one please help ?



i want this sentence to be declared in an text file item.txt like this

this is a really really2 really3 really4 really5 silly list






[Thumbnail for array-adapter.jpg]

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
http://developer.android.com/guide/topics/data/data-storage.html talks about accessing files in the internal or external (SD card) storage.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change the array into an file
 
Similar Threads
Programmatically set typeface and textsize of Spinner / ComboBox
Newbie - UI Help
How to get the complete path of file from android application
Can not click on listView
how to declare array of list for an file