title: XmlPullParser get file from filesystem
body: <p>I my app creater xml file in Android file system. I ned parse this file with XmlPullParser, but I get error wile compilation: "variable parser might not have been initialized". My code:</p>
  
  <pre><code>InputStream inputStream = openFileInput("settings.xml");
  XmlPullParser parser;
  parser.setInput(inputStream, null);
  </code></pre>
  
  <p>Have no idea, how to repair it. I use Intellij IDEA12 and Android 2.3 SDK.</p>