First of all thanks a lot to the CrazyFlie team for creating this awesome little toy!
I worked on the Android client and tried to fix a few things and add some features.
New features include:
-preferences for selecting the radio channel, the bandwidth/datarate, mode, deadzone (very useful, when using the PS3 controller)
-connect/disconnect radio
-show values for pitch,roll,thrust,yaw on-screen
-basic support for using a PS3 controller as input device instead of the on-screen controls
How to set up the Android client with the PS3 controller:
For phones/tablets without root access:
01. Get the APK here: https://bitbucket.org/fredg02/crazyflie ... -06-17.apk
02. Connect a USB Host (OTG) adapter to your Android device
03. Connect a Y-cable with the USB Host adapter
04. Connect a wall-plug with the (red) power plug of the Y-cable (you need external power)
05. Connect the upstream port of a USB hub with the socket of the Y-cable
06. Plug the PS3 controller and the CrazyRadio into the USB hub
07. The CrazyFlie Android client should say "Using external PS3 controller" and the CrazyRadio's LEDs should light up for a second
08. Press the "PS" button and move the analog sticks (the pitch/roll/thrust/yaw on-screen values should change)
09. Make sure the right radio channel is set in the preferences (default is 10)
10. Click the connect menu item in the context menu (the CrazyRadio LEDs should light up red)
11. Switch on your CrazyFlie (the CrazyRadio LEDs should light up green)
12. Lift off and have fun!
if no PS3 controller is connected, the on-screen controls work as expected.
If you have an Android phone/table with root access it's possible to use the Sixpair app and connect the PS3 controller via bluetooth.
I'll provide a special APK in the next days for that (right now I'm only checking if the PS3 controller is connected via USB).
Disclaimer:
As the CrazyFlie Android client is my first Android project there is a good chance that parts of the code are ugly, crazy or just plain wrong.

Hopefully someone who's more familiar with Android can help improve the code.
I've tested it successfully with a Galaxy Nexus (4.2.2, not rooted), minimum API level is 14.
I'm NOT responsible if you crash your CrazyFlie into the furniture, so please fly carefully, especially with the on-screen controls!
Looking forward to bug reports and success stories.

TL;DR: Get the APK and don't expect too much!
Regards,
Fred