views:

37

answers:

1

Hi!

I'm trying to access this list of public twitts here,
from an android application through a HttpClient:

http://api.twitter.com/1/statuses/public_timeline.json

I keep getting an Exception when connecting:

java.net.UnknownHostException: api.twitter.com

Why is this happening?
How can I fix this?

Thank you

+1  A: 

Make sure you have the INTERNET permission added to your manifest.

<uses-permission
    android:name="android.permission.INTERNET" />
Ryan Conrad
Feel so stupid.Before this I was developing for the iPhone, so I kinda forgot this kind of details...Thank you very much!
Tsimmi