DeMorgan wrote:
> Hi Justine,
> I have tried to migrate to new http client, in previous release I was
> using classes:
> import org.apache.commons.httpclient.HttpClient;
> import org.apache.commons.httpclient.HttpStatus;
> import org.apache.commons.httpclient.methods.ByteArrayRequestEntity;
> import org.apache.commons.httpclient.methods.PostMethod;
> 
> Now I have moved to new http client, but I am getting en exception:
> java.net.SocketException: unknown error

Did you add:

<uses-permission android:name="android.permission.INTERNET" />

to your AndroidManifest.xml? That's a new requirement in 0.9.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: All titles, revisions, & ebook formats, just $35/year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to