how to retrieve images from url and show in custom list view in android?
<p>when the images in url are three or four the code is working properly....when we are getting more images the app gets crashed and error is shown below....I didn't get the exact solution...please help me in code level.</p>

<pre><code>06-20 19:16:55.254: D/dalvikvm(335): GC_EXTERNAL_ALLOC freed 62K, 52% free 2589K/5379K, external 1942K/2137K, paused 59ms
06-20 19:16:56.164: D/dalvikvm(335): GC_EXTERNAL_ALLOC freed 506K, 52% free 2902K/6023K, external 2342K/2858K, paused 43ms
06-20 19:16:56.194: E/dalvikvm-heap(335): 28959048-byte external allocation too large for this process.
06-20 19:16:56.233: E/GraphicsJNI(335): VM won't let us allocate 28959048 bytes
06-20 19:16:56.233: D/dalvikvm(335): GC_FOR_MALLOC freed 184K, 55% free 2717K/6023K, external 2342K/2858K, paused 25ms
06-20 19:16:56.233: D/skia(335): --- decoder-&gt;decode returned false
06-20 19:16:56.233: D/AndroidRuntime(335): Shutting down VM
06-20 19:16:56.233: W/dalvikvm(335): threadid=1: thread exiting with uncaught exception (group=0x40015560)
06-20 19:16:56.273: E/AndroidRuntime(335): FATAL EXCEPTION: main
06-20 19:16:56.273: E/AndroidRuntime(335): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:470)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:336)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.graphics.drawable.Drawable.createFromStream(Drawable.java:657)
06-20 19:16:56.273: E/AndroidRuntime(335):  at com.androidhive.xmlparsing.CustomAdaptor.LoadImageFromWebOperations(CustomAdaptor.java:97)
06-20 19:16:56.273: E/AndroidRuntime(335):  at com.androidhive.xmlparsing.CustomAdaptor.getView(CustomAdaptor.java:73)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.AbsListView.obtainView(AbsListView.java:1409)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.ListView.measureHeightOfChildren(ListView.java:1216)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.ListView.onMeasure(ListView.java:1127)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.View.measure(View.java:8313)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.LinearLayout.measureVertical(LinearLayout.java:386)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.View.measure(View.java:8313)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.View.measure(View.java:8313)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.View.measure(View.java:8313)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.View.measure(View.java:8313)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.ViewRoot.performTraversals(ViewRoot.java:839)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.os.Handler.dispatchMessage(Handler.java:99)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.os.Looper.loop(Looper.java:123)
06-20 19:16:56.273: E/AndroidRuntime(335):  at android.app.ActivityThread.main(ActivityThread.java:3683)
06-20 19:16:56.273: E/AndroidRuntime(335):  at java.lang.reflect.Method.invokeNative(Native Method)
06-20 19:16:56.273: E/AndroidRuntime(335):  at java.lang.reflect.Method.invoke(Method.java:507)
06-20 19:16:56.273: E/AndroidRuntime(335):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-20 19:16:56.273: E/AndroidRuntime(335):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-20 19:16:56.273: E/AndroidRuntime(335):  at dalvik.system.NativeStart.main(Native Method)
06-20 19:21:56.314: I/Process(335): Sending signal. PID: 335 SIG: 9
06-20 19:47:17.034: D/dalvikvm(369): GC_EXTERNAL_ALLOC freed 63K, 52% free 2589K/5379K, external 1942K/2137K, paused 47ms
06-20 19:47:17.794: D/dalvikvm(369): GC_EXTERNAL_ALLOC freed 506K, 52% free 2902K/6023K, external 2342K/2858K, paused 43ms
06-20 19:47:17.824: E/dalvikvm-heap(369): 28959048-byte external allocation too large for this process.
06-20 19:47:17.864: E/GraphicsJNI(369): VM won't let us allocate 28959048 bytes
06-20 19:47:17.864: D/dalvikvm(369): GC_FOR_MALLOC freed 184K, 55% free 2717K/6023K, external 2342K/2858K, paused 27ms
06-20 19:47:17.864: D/skia(369): --- decoder-&gt;decode returned false
06-20 19:47:17.864: D/AndroidRuntime(369): Shutting down VM
06-20 19:47:17.864: W/dalvikvm(369): threadid=1: thread exiting with uncaught exception (group=0x40015560)
06-20 19:47:17.884: E/AndroidRuntime(369): FATAL EXCEPTION: main
06-20 19:47:17.884: E/AndroidRuntime(369): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:470)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:336)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.graphics.drawable.Drawable.createFromStream(Drawable.java:657)
06-20 19:47:17.884: E/AndroidRuntime(369):  at com.androidhive.xmlparsing.CustomAdaptor.LoadImageFromWebOperations(CustomAdaptor.java:97)
06-20 19:47:17.884: E/AndroidRuntime(369):  at com.androidhive.xmlparsing.CustomAdaptor.getView(CustomAdaptor.java:73)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.AbsListView.obtainView(AbsListView.java:1409)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.ListView.measureHeightOfChildren(ListView.java:1216)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.ListView.onMeasure(ListView.java:1127)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.View.measure(View.java:8313)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.LinearLayout.measureVertical(LinearLayout.java:386)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.View.measure(View.java:8313)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.View.measure(View.java:8313)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.View.measure(View.java:8313)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.View.measure(View.java:8313)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.ViewRoot.performTraversals(ViewRoot.java:839)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.os.Handler.dispatchMessage(Handler.java:99)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.os.Looper.loop(Looper.java:123)
06-20 19:47:17.884: E/AndroidRuntime(369):  at android.app.ActivityThread.main(ActivityThread.java:3683)
06-20 19:47:17.884: E/AndroidRuntime(369):  at java.lang.reflect.Method.invokeNative(Native Method)
06-20 19:47:17.884: E/AndroidRuntime(369):  at java.lang.reflect.Method.invoke(Method.java:507)
06-20 19:47:17.884: E/AndroidRuntime(369):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-20 19:47:17.884: E/AndroidRuntime(369):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-20 19:47:17.884: E/AndroidRuntime(369):  at dalvik.system.NativeStart.main(Native Method)
</code></pre>
