title: I went upto here to add an image to my android app but there is an error line
body: <p>I went upto here to add an image to my android app but there is an error line:</p>
  
  <pre><code>String pathName = "chemistry\2013_03_26\chemistry1.pdf";//Error line
  Resources res = getResources();
  Bitmap bitmap = BitmapFactory.decodeFile(pathName);
  BitmapDrawable bd = new BitmapDrawable(res, bitmap);
  View view = findViewById(R.id.container);
  view.setBackgroundDrawable(bd);
  </code></pre>