How to load an image(1) based on filename stored in MySQL database into Android App
<p>So, I have an Android app that is essentially a <code>ListView</code>(<strong>MainActivity</strong>, <code>fill_parent</code>). And details activity(<strong>DetailsActivity</strong>) with a bunch of <code>TextViews</code> for <strong>Name</strong>, <strong>Phone</strong> and <strong>Email</strong>. </p>

<p>You tap on a list item in <strong>MainActivity</strong> to initiate the <strong>DetailsActivity</strong> to see more info about the selected item from the list.</p>

<p>There's a <strong>MySQL</strong> database with one table that contains <strong>ID</strong>, <strong>Name</strong>, <strong>Phone</strong>, <strong>Email</strong> and <strong>Image</strong> columns for each person. <strong>Image</strong> column is just a <code>VARCHAR</code> that contains filename of the appropriate image to every record.</p>

<p>Between database and android app is <strong>PHP</strong> webservice. It's used to get all persons(<strong>get_all.php</strong>, for the <code>ListView</code> to be populated) and also get detailed information(<strong>get_details.php</strong>) about a particular person based on <strong>ID</strong> passed to it(populates <code>DetailsActivity</code>).</p>

<p>I assume <code>ImageView</code> widget(DetailsActivity layout) will have to be used to display the images, so that's not a problem.</p>

<p>Problem I'm stuck at is where should I store the actual images in order to pull them into the app when <code>DetailsActivity</code> is started for a person?</p>
