Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

how to change the array into an file  RSS feed

 
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
 
Saloon Keeper
Posts: 4683
117
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!