ESP8266 with Anfroid app

Hi everyone,
I am using a esp8266 module. I create an Android app to send data from the cell phone to the esp8266. Everything works fine whenever my cellphone and the esp8266 connect to the same network. However, when i try to connect my cellphone to a different network with the esp8266, nothing works. Could you guys give me some advice? Thanks