The Nexus 4 doesn’t provide the right voltage required to power USB devices. It actually works by connecting a three-way Y cable, you can then plug in your USB drive, or keyboard or any other device to use on your Nexus 4.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?