title: Android Loading Strings into Array
body: <p>I have a list of 1000 words. I need to load an array with n randomly chosen words from that list (no repeats allowed).  What is the best way of going about doing that?</p>
  
  <p>My ideas:</p>
  
  <p>1) Load the words into R.arrays to create a String array. Use collections.shuffle to shuffle the array, then pull the first n entries from it. Right now, I am having memory issues loading the initial array with the 1000 words using this method.</p>
  
  <p>2) Load the words into a text file, read each word into a String array. Use same method to get first n entries.</p>
  
  <p>3) Hard code the input of the words into a String array (I'd use a script to get that output of course). Use same method to get first n entries.</p>
  
  <p>Is there a better way?</p>