title: Loading Drawable Image Resource in Fresco's SimpleDraweeView
body: <p>I used <strong>Fresco 0.5.2</strong>:</p>
  
  <pre><code>dependencies {
     compile 'com.facebook.fresco:fresco:0.5.2'
  }
  </code></pre>
  
  <p>I want to use <code>SimpleDraweeView</code> to load a gif image from <code>drawable</code>.
  Here is my code:</p>
  
  <pre><code>String path = ContentResolver.SCHEME_ANDROID_RESOURCE + "://"+ getResources().getResourcePackageName(R.drawable.default_app) + "/"
  + getResources().getResourceTypeName(R.drawable.default_app) + "/"
  + getResources().getResourceEntryName(R.drawable.default_app);
  Uri uri =  Uri.parse(path);
  simpleDraweeView =(SimpleDraweeView)
  this.findViewById(R.id.simple_drawee_view);
          ImageRequest imageRequest = ImageRequestBuilder.newBuilderWithSource(uri).build();
          DraweeController controller = Fresco.newDraweeControllerBuilder()
                  .setImageRequest(imageRequest)
                  .setAutoPlayAnimations(true)
                  .build();
          simpleDraweeView.setController(controller);
  </code></pre>
  
  <p>The <code>default_app</code> is just a jpeg image and it doesn't work.</p>
  
  <p>I used this as the <a href="http://frescolib.org/docs/animations.html#_">Fresco's documentation mentioned</a>.
  Is there any problem with the path or code?</p>