Question: how to connect ps4 controller to phone code?
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.