Hello everybody.
I'm trying to write a simple application for download a file from
internet.
This very simple code:

                java.net.URL Url= new java.net.URL("http://
developer.android.com");
                java.net.URLConnection Connection= Url.openConnection();
                java.io.BufferedReader BufferedIn= new
java.io.BufferedReader(new
java.io.InputStreamReader(Connection.getInputStream()));
                String RowIn;
                while((RowIn= BufferedIn.readLine())!= null) {
                        ETLog.append(RowIn);
                }
                BufferedIn.close();

goes to crash.
I have added to AndroidManifes.xml this row "<uses-permission
android:name="android.permission.INTERNET" />" but nothing.
How can I do? Where is the error?

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

Reply via email to