*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to change the array into an file
 
Similar Threads
Can not click on listView
how to declare array of list for an file
Programmatically set typeface and textsize of Spinner / ComboBox
How to get the complete path of file from android application
Newbie - UI Help