title: How I can convert a bitmap into PDF format in android
body: <p>**I have bitmap in "thepic" variable which is of Bitmap type.. </p>
  
  <pre><code>imageUri = (Uri) intent.getParcelableExtra(Intent.EXTRA_STREAM); 
  String realpath=getRealPathFromURI(imageUri); 
  thepic = BitmapFactory.decodeFile(realpath);**
  </code></pre>