How can I get cache image path for particular URL..
I can not process Bitmap in webview So I want that cache image path in onloadingComplated or else where .... I am getting bitmap but I have to save in memory card temporary and will have to load through that path.
suppose i am loading from http://www.ricoh.com/r_dc/cx/cx1/img/sample_04.jpg. with cache on disc configuration and If i want cached image path of this url then how can I get??
I want to display image in webview. webview will not cahe my image. I want to cache image with image loader and want to display in webview. Can you provide cached image path also??
I don't quite understand your question.
I want to get cached image path that is loaded before. I know I can get bitmap... but I want to use path in webview
you can use loadImage(String uri, ImageLoadingListener listener)
You can use DiscCacheUtil.findInCache(imageUri, imageLoader.getDiscCache()). You'll get a image File so you can get path of this file.
Yuap got it.... Thanks :)
"DiscCacheUtil.findInCache(imageUri, imageLoader.getDiscCache())" but where is the DiscCacheUtil.java ?
DiskCacheUtils?
Good!
Use full package name. com.nostra13.universalimageloader.utils.DiskCacheUtils.findInCache()