how do you read text files off the internet in Android 4.0.3
<p>I am a relatively new Android programmer and I was wondering how you could get read text off the internet in 4.0.3. I keep finding code that gives me a Network on Main exception: <a href="http://developer.android.com/reference/android/os/NetworkOnMainThreadException.html" rel="nofollow">http://developer.android.com/reference/android/os/NetworkOnMainThreadException.html</a> and was wondering if anyone could provide me some sample code to get around this, for reference I got the code I tried to use here: <a href="http://android-er.blogspot.com/2011/04/read-text-file-from-internet-using-java.html" rel="nofollow">http://android-er.blogspot.com/2011/04/read-text-file-from-internet-using-java.html</a>. Thanks a lot.</p>
