• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to change the array into an file  RSS feed

 
deepika deepi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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



array-adapter.jpg
[Thumbnail for array-adapter.jpg]
array-adapter
 
Tim Moores
Saloon Keeper
Posts: 3900
91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://developer.android.com/guide/topics/data/data-storage.html talks about accessing files in the internal or external (SD card) storage.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!