[android-developers] Re: Accessing the internet.

2009-03-18 Thread murphy
Thanks for the help guys. I'm still having problems reading from the internet and also displaying the retreived content on a text file. Do you think it's a code problem or a firewall problem or am i missing some bit of code in the manifest to access the internet? On Mar 11, 7:19 am, ku fu

[android-developers] Re: Accessing the internet.

2009-03-18 Thread murphy
Sorry, displaying in a TextView, not text file. On Mar 18, 10:05 am, murphy howt...@hotmail.com wrote: Thanks for the help guys. I'm still having problems reading from the internet and also displaying the retreived content on a text file. Do you think it's a code problem or a firewall

[android-developers] Re: Accessing the internet.

2009-03-18 Thread murphy
I'm a little bit of a beginner with Android. Just finding it hard to suit what I'm doing. What I want my application to do is show a menu when it executes, when one of the buttons on the menu is clicked I want the application to go online to get the data which will populate the

[android-developers] Re: Accessing the internet.

2009-03-11 Thread ku fu panda
public static InputStream getInputStreamWithHttpClient( String resourceURL ) throws IOException { // Create an instance of HttpClient. HttpClient client = new DefaultHttpClient(); // Create a method instance. HttpGet method = new HttpGet( resourceURL

[android-developers] Re: Accessing the internet.

2009-03-09 Thread dillirao malipeddi
public String get_DAtaFromWeb(String url_toconnect)//throws Exception { int connection_Timeout = 1;// 10sec HttpParams my_httpParams = new BasicHttpParams();; HttpConnectionParams.setConnectionTimeout(my_httpParams,connection_Timeout);