manishkpr / AndroidNavigationDrawer

Android Navigation Drawer http://manishkpr.webheavens.com/android-navigation-drawer-example-using-fragments/
25 stars 115 forks source link

Deployment of Images on Android #1

Open longhua68 opened 9 years ago

longhua68 commented 9 years ago

Hi we are creating and application to deploy, among many other functions, indoor navigation maps (images + coordinates data) and we have problems in letting user having better experience in moving from a picture to another in terms of speed and smooth transition. We would like to ask you your support given your wide experience in android. Pls. let us know what we should supply.

manishkpr commented 9 years ago

Hi , You can store images in cache for smooth transition or you can use library android Universal-Image-Loader https://github.com/nostra13/Android-Universal-Image-Loader

Example URL:

"http://site.com/image.png" // from Web "file:///mnt/sdcard/image.png" // from SD card "file:///mnt/sdcard/video.mp4" // from SD card (video thumbnail) "content://media/external/images/media/13" // from content provider "content://media/external/video/media/13" // from content provider (video thumbnail) "assets://image.png" // from assets "drawable://" + R.drawable.img // from drawables (non-9patch images)

I am sure you can get smooth transition and memory utilization.

if you have any trouble let me know i will post another example in my blog for smooth transition.

Thank you,

Munish