Somehow, I have deleted the code for the sample apps from the workspace, but the apps still show up in the android emulator. How do I delete them?
ADB lets you uninstall applications. Just go:
adb uninstall
You can find ADB in the tools folder of the Android SDK.