title: Converting text to PDF in Android, using iText
body: <p>I tried to convert a text to PDF in Android, using iText (<a href="http://www.geek-tutorials.com/java/itext/setup_itext.php" rel="nofollow">here </a> ), but it gives the "File not found" exception. 
  Here is the code:</p>
  
  <pre><code>try
          {
  
              PdfWriter.getInstance(document, new FileOutputStream("hello.pdf"));
              document.open();
              document.add(new Paragraph("Hello World"));
              document.close();
              Log.d("OK", "done");
          }
          catch (FileNotFoundException e)
          {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          catch (DocumentException e)
          {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
  </code></pre>
  
  <p>Would you please help me? Thanks</p>