shadowsocks-android icon indicating copy to clipboard operation
shadowsocks-android copied to clipboard

Problem using Socket to download profiles

Open max4444 opened this issue 11 years ago • 1 comments

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

max4444 avatar Jun 02 '15 16:06 max4444

Seems like i need to do it through asynctask, but i can not get it to work

Regards, Max

max4444 avatar Jun 02 '15 21:06 max4444