title: ArrayList<String> Error
body: <p>Hi I am having this one error that is bugging me!!</p>
  
  <p>What I am trying to do is split a text file that use ";"</p>
  
  <p>and after that store it an ArrayList, but this error keeps popping up!!</p>
  
  <pre><code>package au.edu.canberra.g30813706;
  
  import java.io.BufferedReader;
  import java.io.File;
  import java.io.FileInputStream;
  import java.io.FileNotFoundException;
  import java.io.IOException;
  import java.io.InputStreamReader;
  import java.util.ArrayList;
  import android.app.Activity;
  import android.os.Environment;
  import android.widget.EditText;
  
  
  public class FileReader extends Activity{{
  
      ArrayList&lt;String&gt; sInfo = new ArrayList&lt;String&gt;();
  
      String txtName = "AccomodationTxt.txt";
      File root = Environment.getExternalStorageDirectory();
      File path = new File(root, "CanberraTourism/" + txtName);
  
      try {
  
          BufferedReader br = new BufferedReader (
                              new InputStreamReader(
                              new FileInputStream(path)));
          String line;
          String[] saLineElements;
          while ((line = br.readLine()) != null)
          {
              //The information is split into segments and stored into the array
              saLineElements = line.split(";");
              sInfo.add(saLineElements[0], saLineElements[1], saLineElements[2], saLineElements[3], saLineElements[4]);
  
          }
           br.close();
  
  
      } 
      catch (FileNotFoundException e) {
  
          System.err.println("FileNotFoundException: " + e.getMessage());
      }}
  
  }
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>The method add(int, String) in the type ArrayList&lt;String&gt; is not applicable for the arguments (String, String, String, String, String)
  </code></pre>