What is wrong with this code. It does not give an error but no image can be seen
ImageView a= (ImageView) findViewById(R.id.imageView1);
String imageBaseDirectory = "www.dha.com.tr/newpics/news/";
String imageName = "230620111356175716857.jpg";
a.setImageURI(Uri.parse(imageBaseDirectory+imageName));
First, you should add
http://at the beginning of you URI:ImageViewdoes not support loading images from remote locations. Only resources or files on local file system. In your case you should see warning inLogCat:You should download the image yourself and then specify local path for
setImageURI.