Looks like your Android-Phone can't connect to the host :)
I assume your Phone is connected via Wifi ?
In most cases Wifi-Router are configured to not allow communication between Wifi-Clients. Check if your Phone can connecto to other Services (like FTP, HTTP) on another PC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I can't connect to the host :) I am developing android application in eclipse, and I am having trouble connecting to server. (error i am getting is copied above). I am testing my application on android emulator, not on the phone. Do you think the problem is android emulator, and I have to do some alterations while creating object in Android AVD?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, running an emulated Device is very likely the reason, why you can't conntect to your host. I tried that in the early days of porting the jaybird-library and move very quickly to a real device. On a emulated Device you don't have a real connection to your host. For more informations please read this: http://developer.android.com/tools/devices/emulator.html#emulatornetworking
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I wrote in Java works connects to the database, however and the android receive the following error.
03-16 22:40:59.874: E/Nisam se konektovao(1978): GDS Exception. 335544721. Unable to complete network request to host "192.xxx.xxx.xx".
Looks like your Android-Phone can't connect to the host :)
I assume your Phone is connected via Wifi ?
In most cases Wifi-Router are configured to not allow communication between Wifi-Clients. Check if your Phone can connecto to other Services (like FTP, HTTP) on another PC.
Yes, I can't connect to the host :) I am developing android application in eclipse, and I am having trouble connecting to server. (error i am getting is copied above). I am testing my application on android emulator, not on the phone. Do you think the problem is android emulator, and I have to do some alterations while creating object in Android AVD?
Yes, running an emulated Device is very likely the reason, why you can't conntect to your host. I tried that in the early days of porting the jaybird-library and move very quickly to a real device. On a emulated Device you don't have a real connection to your host. For more informations please read this:
http://developer.android.com/tools/devices/emulator.html#emulatornetworking