Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Please have look at this link: <a href="http://developer.android.com/training/displaying-bitmaps/index.html" rel="nofollow">Displaying bitmaps efficiently</a>.</p> <p>Also at this open source library project: <a href="https://github.com/nostra13/Android-Universal-Image-Loader" rel="nofollow">Universal Image loader</a>.</p> <p>when your application needs to display lots of bitmaps, it exceeds allocated memory of application. Also, when they are displayed in grid,list or view pager more memory is consumed while creating each views. hence you need to cache in those images in memory or disc and display them efficiently using the techniques described in those links. </p> <blockquote> <p><strong>Addition</strong></p> </blockquote> <p>Take a look at this: <a href="http://www.androidsnippets.com/get-installed-applications-with-name-package-name-version-and-icon" rel="nofollow">Get installed Applications with Name, Package Name, Version and Icon</a></p> <p>Acceptable URI's Examples for <a href="https://github.com/nostra13/Android-Universal-Image-Loader#acceptable-uris-examples" rel="nofollow">UIL</a>:</p> <pre><code>String imageUri = "http://site.com/image.png"; // from Web String imageUri = "file:///mnt/sdcard/image.png"; // from SD card String imageUri = "content://media/external/audio/albumart/13"; // from content provider String imageUri = "assets://image.png"; // from assets String imageUri = "drawable://" + R.drawable.image; // from drawables (only images, non-9patch) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload