I am developing a mobile application using PhoneGap, and I have to access some services from another project. I am using jquery-2.0
url of your query is localhost, thant means- the same device (android emulator or physical). I'm sure that this is your problem. You should use IP (or domain) of your api json server, maybe 192.168.1.1 (depending on your network configuration)