Android Question Controlling an Android app from a remote android app

Kevin Hartin

Active Member
Licensed User
I have a Media Player developed in B4A and want to make another simple B4A app that can "control" the media player remotely.

They will both be on a common WiFi network made of a hotspot from the controlling device.

The sort of functionality will be to Play, Pause, restart the Playlist and select a Playlist to be played on the media player. These functions will also be available on a panel on the mediaplayer, so I figure that I only really need to trigger the events that are used in the media player when an instruction is received from the remote.

Should I be using websockets with the media player as a server and the remote as a client?

The "remote" will be running on an Android based head unit in the dash of a Transit van for the driver to use, while the "media player" will be running on an Android TV box driving a screen via HDMI for the passengers in a Tour Bus.

Thanks for any assistance...
Kev
 
Top