You can connect a PS4 controller to your Android phone or tablet through the Android's Bluetooth menu.
To mirror your Android's screen, you'll need a Chromecast, a compatible TV, or a third-party app like Tenorshare Phone Mirror ...
To obtain the dependencies from Maven, add the dependencies to your app's (module-level) build.gradle. Update build.gradle in root/app and add the following under dependencies: The first step to ...