Settings > About Phone/Tablet Tap on the "Build Number" 10 times and the options show up.In Android 2.x (old) the settings were found in:
Settings > Applications [X] Unknown sources Settings > Applications > Development [X] USB debugging [X] Stay awake [X] Allow mock locations