android – What technology is used in hi's advertising widgets?

Hello, I wanted to create an advertising system in Android widgets. The operator does it in the wifis of the public every 15 minutes. Does anyone know how this is created? How to superimpose a banner or mini video on other applications?