display an image in a xml
<p>I have a problem to display an image in a xml online?</p>

<pre><code>02-04 14:15:07.270: D/AndroidRuntime(30669): Shutting down VM
02-04 14:15:07.270: W/dalvikvm(30669): threadid=1: thread exiting with uncaught exception (group=0x40f432a0)
02-04 14:15:07.285: E/AndroidRuntime(30669): FATAL EXCEPTION: main
02-04 14:15:07.285: E/AndroidRuntime(30669): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.assistech.bijoubar/com.sections.PlatsView}: android.os.NetworkOnMainThreadException
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2100)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.ActivityThread.access$600(ActivityThread.java:140)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.os.Handler.dispatchMessage(Handler.java:99)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.os.Looper.loop(Looper.java:137)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.ActivityThread.main(ActivityThread.java:4898)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at java.lang.reflect.Method.invokeNative(Native Method)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at java.lang.reflect.Method.invoke(Method.java:511)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at dalvik.system.NativeStart.main(Native Method)
02-04 14:15:07.285: E/AndroidRuntime(30669): Caused by: android.os.NetworkOnMainThreadException
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1118)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at java.net.InetAddress.lookupHostByName(InetAddress.java:385)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at java.net.InetAddress.getAllByName(InetAddress.java:214)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpConnection.&lt;init&gt;(HttpConnection.java:70)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpConnection.&lt;init&gt;(HttpConnection.java:50)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:315)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpEngine.connect(HttpEngine.java:310)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:289)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:239)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at com.sections.PlatsView.downloadFile(PlatsView.java:93)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at com.sections.PlatsView.onCreate(PlatsView.java:77)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.Activity.performCreate(Activity.java:5206)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1083)
02-04 14:15:07.285: E/AndroidRuntime(30669):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)
02-04 14:15:07.285: E/AndroidRuntime(30669):    ... 11 more
02-04 14:15:17.135: I/Process(30669): Sending signal. PID: 30669 SIG: 9
</code></pre>

<p>thank you</p>
