title: How to reference a File in raw folder in Android
body: <p>I just want to create a File object like this  </p>
  
  <p><code>File myImageFile = new File ("image1") ;</code>  </p>
  
  <p>but it is giving me exception of <strong>FileNotFoundException</strong><br>
  <strong>How can i reference a file inside my raw Folder</strong></p>
  
  <p><strong>EDIT:</strong> 
  Actually i wanted to do something like this   </p>
  
  <p><code>MultipartEntity multipartEntity= new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
   multipartEntity.addPart("uploaded", new FileBody(new File("myimage")));</code></p>