loading the image from "PHP Runner" to the ImageView in android -


i have phprunner in device , wamp server difference php runner android , should follows use it:

http://127.0.0.1:8080/ 

i want load image http://127.0.0.1:8080/apps/image.jpg inside imageview using following code:

public class mainactivity extends activity { webview webview; imageview imageview;     @override     protected void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         setcontentview(r.layout.activity_main);     webview = (webview) findviewbyid(r.id.webview);     webview.setbackgroundcolor(color.rgb(88,255,114));     imageview = (imageview) findviewbyid(r.id.imageview);      imageview.setimageuri(uri.parse("http://127.0.0.1:8080/apps/image.jpg"));      } 

but can not load image.what solution?

imageview not load images on network. need either download or use libraries glide, picasso or fresco.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -