[Android Q&A, Help & Troubleshooting] TaylorKE:
I need to fix this error and I cant find what am doing wrong

09-24 04:18:51.323: D/dalvikvm(1105): GC_FOR_ALLOC freed 71K, 5% free 2787K/2924K, paused 79ms, total 82ms

09-24 04:18:51.323: I/dalvikvm-heap(1105): Grow heap (frag case) to 4.356MB for 1650384-byte allocation

09-24 04:18:51.403: D/dalvikvm(1105): GC_FOR_ALLOC freed 2K, 4% free 4396K/4536K, paused 75ms, total 75ms

09-24 04:18:52.003: D/(1105): HostConnection::get() New Host Connection established 0xb83a09c8, tid 1105

09-24 04:18:52.173: W/EGL_emulation(1105): eglSurfaceAttrib not implemented

09-24 04:18:52.193: D/OpenGLRenderer(1105): Enabling debug mode 0

09-24 04:19:01.273: D/dalvikvm(1105): GC_FOR_ALLOC freed 92K, 4% free 4871K/5028K, paused 63ms, total 67ms

09-24 04:19:01.523: D/AndroidRuntime(1105): Shutting down VM

09-24 04:19:01.523: W/dalvikvm(1105): threadid=1: thread exiting with uncaught exception (group=0xb4b02ba8)

09-24 04:19:01.593: E/AndroidRuntime(1105): FATAL EXCEPTION: main

09-24 04:19:01.593: E/AndroidRuntime(1105): Process: com.smartseed, PID: 1105

09-24 04:19:01.593: E/AndroidRuntime(1105): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.smartseed/com.smartseed.Regionlist}: android.os.NetworkOnMainThreadException

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.ActivityThread.access$800(ActivityThread.java:135)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.os.Handler.dispatchMessage(Handler.java:102)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.os.Looper.loop(Looper.java:136)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.ActivityThread.main(ActivityThread.java:5017)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at java.lang.reflect.Method.invokeNative(Native Method)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at java.lang.reflect.Method.invoke(Method.java:515)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at dalvik.system.NativeStart.main(Native Method)

09-24 04:19:01.593: E/AndroidRuntime(1105): Caused by: android.os.NetworkOnMainThreadException

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1145)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:84)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at libcore.io.IoBridge.connectErrno(IoBridge.java:127)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at libcore.io.IoBridge.connect(IoBridge.java:112)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at java.net.Socket.connect(Socket.java:843)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at com.smartseed.XMLParser.getXmlFromUrl(XMLParser.java:45)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at com.smartseed.Regionlist.onCreate(Regionlist.java:41)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.Activity.performCreate(Activity.java:5231)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)

09-24 04:19:01.593: E/AndroidRuntime(1105):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)

09-24 04:19:01.593: E/AndroidRuntime(1105):	... 11 more

09-24 04:19:05.023: I/Process(1105): Sending signal. PID: 1105 SIG: 9