Image storage as byte code locally from XML parsing & display if it is stored Otherwise go for parsing.
<p>I am having an app in which at the time of launcing the app XML parsing is giving Main category from URL like hp, dell, etc...I am displaying it in the Tableview.</p>

<p>Then on click of particular cell i can get the detail of main category means its subcategory like <a href="http://www.dealsbell.com/findcoupon.php?store=hp" rel="nofollow">http://www.dealsbell.com/findcoupon.php?store=hp</a></p>

<p>Here also i am getting data properly after parsing.</p>

<p>But my concern over here is, in ( <a href="http://www.dealsbell.com/findcoupon.php?store=hp" rel="nofollow">http://www.dealsbell.com/findcoupon.php?store=hp</a> ) this link i am getting images.</p>

<p>Each particular subcategory will have a same image. So i want to do something like that the image if first time loaded from the URL then it will display image from parsing otherwise i would like to store that <strong>image as its byte code</strong> in folder / file / in any way in my device on first parsing.</p>

<p>If once the image is stored to the particular way in my device next time when i will go to see the subcategory it will first check this image is stored locally to my device or not.</p>

<p>If yes then it should go to the particular location to fetch this local image &amp; display it to each cell otherwise will parse &amp; display image.</p>

<p>I hope you are getting, what i want to ask.</p>

<p>Please guide me, how can this be possible &amp; what is the way to get result.</p>

<p>If any example or link you can suggest, then it will be more efficient to me.</p>

<p>Thanks in advance.</p>
