I use this library (http://loopj.com/android-async-http/) to download a json from my website, in the emulator works fine but when I try in a real device does not work (tablet and smartphone) it doesn't enter in the function onSuccess. Someone can tell me why or what am I forgetting?
I was running into this issue myself on several devices and it is most likely the same as reported here by many people, which is still open after some months:
https://github.com/loopj/android-async-http/issues/144
Personally I switched to http://code.google.com/p/basic-http-client/ which I have had lots of success with.
Not exactly a direct fix to the problem but still.