title: BufferedWriter.newLine() is not working in Android
body: <p>I dont know why it is happening.</p>
  
  <pre><code>BufferedWriter writer = new BufferedWriter(new FileWriter("mnt/sdcard/Menu.ini"));
  for (int i = 0; i &lt; AppItem.length; i++) {      
      writer.write(AppItem[i]);
      writer.newLine();
  }
  writer.close();
  </code></pre>
  
  <p>In Java it is working perfectly. When I am doing in Android, created file (menu.ini) is not accepting the <code>newLine();</code>. I have tried <code>"\n"</code> and <code>System.getProperty("line.separator")</code> in place of <code>writer.newLine();</code>
  <strong>The problem is, all string coming in one line and the rectangular boxes are coming where the line is being end.</strong></p>
  
  <p>Any solution or <strong>any alternative way where I can write my string array to a file.</strong>
  Thanks</p>