java – Android/Apache HTTPGET Will not work, but in browser it does –
i have simple servlet running on tomcat. implements simple doget() , works when phone call web browser like:
however, i’m trying phone call android application , nil except hang. i’m running in asynctask isn’t hang, have in “sendserverthread”
i verified url it’s calling correct, i’m getting nothing. no response. have net permission.
i phone call ui:
and goes through httpget, thread never gets response. if head web browser on phone result. app nil – thread hangs.
any ideas appreciated, can’t figure out i’m doing wrong
i turned on aeroplane mode, switched on wifi mobile info disabled, worked
java android rest tomcat servlets
The post java – Android/Apache HTTPGET Will not work, but in browser it does – appeared first on java.