One question, what IP/Host address should i use to connect to my PG database on my Android app? I have a postgresql database running on my machine. Im using eclipse by deploying my app on my cellphone instead of using the avd emulator. I can use '10.0.2.2' (localhost) when im testing it in the emulator and it works perfectly. However, if i try to access through my phone, the pg connection times out. I've tried putting my pc ip address as the host address on the postgresql connection url, but its not working.
Anyone knows what IP address should i use? I figured it'd be my machine ip address, but thats not it :/ .