shadowsocks-android
shadowsocks-android copied to clipboard
Problem using Socket to download profiles
Hi,
I'm trying to download a profile from my server using sockets, it's ok to compile and build the apk but the application crashes on my android device, it complains about my first line of downloading code: Socket(InetAddress.getByName("myserver"), 8000)
I think i have put the code in a wrong place, any helps would be appreciated.
Thanks in advance, Max
Seems like i need to do it through asynctask, but i can not get it to work
Regards, Max