Getting Data From the Web (URLConnection via http)

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Re: Getting Data From the Web (URLConnection via http)

Postby striker503 » Tue Feb 07, 2012 3:35 pm

hey,
it doesn't return the text in the txt file. the only thing I can see is http://anddev.org.

does someone know how to fix this problem?

greets
striker503
Freshman
Freshman
 
Posts: 2
Joined: Mon Feb 06, 2012 10:09 pm

Top

Re: Getting Data From the Web (URLConnection via http)

Postby striker503 » Thu Feb 09, 2012 9:56 pm

got it.. didn't allow internet connections...
striker503
Freshman
Freshman
 
Posts: 2
Joined: Mon Feb 06, 2012 10:09 pm

Re: Getting Data From the Web (URLConnection via http)

Postby Droidgi » Thu Aug 02, 2012 12:15 pm

Hi plusminus,

I tested your code,. How can I add an AsyncTask? because I getting this error "NetworkOnMainThreadException error".
Droidgi
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Aug 01, 2012 9:55 am

Top
Previous

Return to Novice Tutorials

Who is online

Users browsing this forum: Google Feedfetcher and 5 guests