Hi guys...do we need to do something with the "Button" cause my app doesn't get information from internet. I have set up the permission into Minifes... The "Button" is doing nothing...
@el0j two things to check (1) if you have set up permissions for INTERNET in the manifest (2) if you are using HoneyComb or IceCreamSandwich (Android 3.0 or above), use AsyncTask for loading streams/files from the internet. What was shown in the video probably only works for older SDKs
if u guys enter whitespace in edit text, replace it with %20
phomaccuocdoi 3 weeks ago
Hi guys...do we need to do something with the "Button" cause my app doesn't get information from internet. I have set up the permission into Minifes... The "Button" is doing nothing...
vofoni 1 month ago
@Olavz2 Oh I got the issue fixed. Just search for "NetworkOnMainThread" on Google
supersushi269 1 month ago
@supersushi269 I got the same issue.
Olavz2 1 month ago
I dont get any error. The program just stops working at
xr.parse(new InputSource(website.openStream()));
supersushi269 1 month ago
Can you clarify how to use AsyncTask in this context?
MahmoudAbouEita 2 months ago
@el0j two things to check (1) if you have set up permissions for INTERNET in the manifest (2) if you are using HoneyComb or IceCreamSandwich (Android 3.0 or above), use AsyncTask for loading streams/files from the internet. What was shown in the video probably only works for older SDKs
svchwsvchw 2 months ago
@berner53000 Can't tell you where you went wrong. Use breakpoints, and "debug" instead of "run" your code in the emulator. Google it.
BeauKpad 2 months ago in playlist TheNewBoston - Android Application Development
I get this pop-up "The application WeatherXMLParsing (process com.thenewboston.travis) has stopped unexpectedly. Please try again".
What have I done wrong? Please help me! :)
berner53000 2 months ago
@androiddeveloper1 doesnt work for me , any help
el0j 4 months ago