To use a PlayStation 3 controller with Android Nougat, you'll need an OTG cable that supports your device.
USB On-the-Go, commonly referred to as USB OTG or OTG, is a specification that allows some Android smartphones and tablets to act as USB hosts so that you can plug other USB peripherals (such as keyboards or flash drives) into them.
- Connect your OTG cable to your phone or tablet.
- Connect the appropriate USB charging cable to your PS3 controller.
- Connect your USB charging cable to the female end of the OTG cable.
Once all the cables are correctly connected, a selection box will appear around an icon on your device. You can now use your controller to play games and navigate around your phone or tablet.