In my Android app I'll get the source of a html page. That's my Code: http://pastebin.com/FJyWhVrL It shows me every time by getHtml(); an Unhandled exception type IOException and Unhandled exception type ClientProtocolException. In the manifest file I've set the permission it looks like this:
<uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".DownloadsActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Can someone help me?
Thank you