Re: [android-developers] URL connection problem

2015-06-11 Thread TreKing
On Sun, Jun 7, 2015 at 11:22 PM, justaguy lichunshe...@gmail.com wrote: Running the app generated two errors. The 1st one is: error: identifier expected, source code: httpGet = new (url); That is a compiler error - if you're having trouble with this, you probably should take a step back from

[android-developers] URL connection problem

2015-06-07 Thread justaguy
Hi, I've downloaded and installed Android Studio (ver 1.2.1.1) and JDK pacakge as well. The dev environment seems to has been set up correct. And I'd like to hack my first super simple Android app. It would perform only two functions. First, connect to a URL and get its content (data