1. Tap the menu button, then Settings.
2. From the 'Settings' screen, go to 'Applications' by tapping on 'Applications'.
3. From the 'Application settings' screen, go to 'Development' by tapping on 'Development'.
4. On the 'Development' screen tap the check box next to 'Allow mock locations.