Question: how to connect a ps4 controller to a android tablet?
Answer: Press and hold the PS and Share buttons on your PS4 controller to put it into pairing mode. ... 
On your Android device, go to Settings > Bluetooth and make sure Bluetooth is turned on.
Press Scan for new device.
Tap Wireless Controller to pair the PS4 controller with your device.