got it working. had to add a line to the androidmanifest to give the app
permission to use the internet