Android Question How to control another app

apty

Active Member
Licensed User
Longtime User
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?
 

apty

Active Member
Licensed User
Longtime User
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?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
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.
 
Upvote 0

apty

Active Member
Licensed User
Longtime User
It is not a local network..it is over the internet. I have an online server, but how do i make the devices communicate?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…