> I use the image sample :
>
>         try {
>             URL aURL = new URL("
> http://www.anddev.org/images/tiny_tutheaders/weather_forecast.png";);
>             URLConnection conn = aURL.openConnection();
>             conn.connect();
>               }
>
> and "conn.connect(); " throw an exception.
>
> Can anyone give me an idea how to fix it?

Does your AndroidManifest.xml file request the INTERNET permission?

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to