• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to change the array into an file

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic