How to check if Contact has Image?
<p>I am assigning to an ImageView contacts images using this code:</p>

<pre><code>mPhotoView = (ImageView) findViewById(R.id.photo);
mPhotoView.setImageURI(objItem.getPhotoUri());
</code></pre>

<p>If the contact has no image, this does nothing, and no error is raised.</p>

<p>When there is no image, I want to add a default image. So I need to check either if the image was added to the view, or check that the URI holds some image data</p>

<p>How do I achieve that?</p>

<p>Than I will set default image by this:</p>

<pre><code>mPhotoView.setImageResource(R.drawable.ic_contact_picture_2);
</code></pre>
