Of course I needed a circuit which communicated with the TrainDcc application running on the android devices and generated the dcc signals for the booster. I used a PIC 32 Starter kit (from Microchip) and I wrote a program which generated the dcc signals based on the commands get from LAN. The router made my LAN connection to wireless and the android devices were connected to it.
Here is a shematic how it worked.
Here is a shematic how it worked.