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 textviews/scrollvie
I'm sorry if this info is too basic for you but you didn't say what
symptoms you are getting.
Ensure you have in your
AndroidManifest.xml
--
Android Academy: http://www.androidacademy.com
Linked In? Join the Google Android group:
http://www.linkedin.com/groupInvitation?gid=76373
On Mar 18, 10
Sorry, displaying in a TextView, not text file.
On Mar 18, 10:05 am, murphy 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 problem or am i missing
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 pand
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 );
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 );
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);
HttpConnectionParams.setSoTimeout(my_htt
7 matches
Mail list logo