android - ImageLoader UIL doesn't support scheme(protocol) by default -


can give me idea how put path of real device image folder in imageloader.getinstance().displayimage(path, imageview, options); . because pass parameter sd card image path universalimageloader e/imageloader﹕ uil doesn't support scheme(protocol) default [/storage/emulated/0/classnkk_images/1_20150928163482053.png]. should implement support (baseimagedownloader.getstreamfromothersource(...))

here logcat

9-30 08:46:28.731  25090-25123/? e/imageloader﹕ uil doesn't support scheme(protocol) default [/storage/emulated/0/classnkk_images/1_20150928163491042.png]. should implement support (baseimagedownloader.getstreamfromothersource(...))     java.lang.unsupportedoperationexception: uil doesn't support scheme(protocol) default [/storage/emulated/0/classnkk_images/1_20150928163491042.png]. should implement support (baseimagedownloader.getstreamfromothersource(...))             @ com.nostra13.universalimageloader.core.download.baseimagedownloader.getstreamfromothersource(baseimagedownloader.java:280)             @ com.nostra13.universalimageloader.core.download.baseimagedownloader.getstream(baseimagedownloader.java:99)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.downloadimage(loadanddisplayimagetask.java:291)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.trycacheimageondisk(loadanddisplayimagetask.java:274)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.tryloadbitmap(loadanddisplayimagetask.java:230)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.run(loadanddisplayimagetask.java:136)             @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112)             @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587)             @ java.lang.thread.run(thread.java:818) 09-30 08:46:28.731  25090-25090/? e/sizeimgelement﹕ = 1_20150928163482053.png = 27021 09-30 08:46:28.740  25090-25090/? e/path﹕ = /storage/emulated/0/classnkk_images/1_20150928163482053.png 09-30 08:46:28.742  25090-25124/? e/imageloader﹕ uil doesn't support scheme(protocol) default [/storage/emulated/0/classnkk_images/1_20150928163482053.png]. should implement support (baseimagedownloader.getstreamfromothersource(...))     java.lang.unsupportedoperationexception: uil doesn't support scheme(protocol) default [/storage/emulated/0/classnkk_images/1_20150928163482053.png]. should implement support (baseimagedownloader.getstreamfromothersource(...))             @ com.nostra13.universalimageloader.core.download.baseimagedownloader.getstreamfromothersource(baseimagedownloader.java:280)             @ com.nostra13.universalimageloader.core.download.baseimagedownloader.getstream(baseimagedownloader.java:99)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.downloadimage(loadanddisplayimagetask.java:291)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.trycacheimageondisk(loadanddisplayimagetask.java:274)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.tryloadbitmap(loadanddisplayimagetask.java:230)             @ com.nostra13.universalimageloader.core.loadanddisplayimagetask.run(loadanddisplayimagetask.java:136)             @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112)             @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587)             @ java.lang.thread.run(thread.java:818) 

use file:// scheme, shown in the documentation.

"file:///mnt/sdcard/image.png" // sd card 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -