I have an app (let's say app A) developed and installed on an android phone. I have another android phone and i want to develop a second app that controls the first app (app A). How can i achieve this?
127.0.0.1 is localhost...One of my device is on the field(in a different area) with data connection. Will it work if i substitute the local ip with public ip of the device? Also how can i handle it if the ip is dynamic?
Sorry I thought that you want to communicate between two apps on the same device.
You can use Bluetooth or Wifi to communicate between two devices. Are the devices connected to the same local network?
You cannot connect two devices directly over a data connection. You will need to use an online server as a middleman.