I want to develop an app for Android, but I know there are many different Android versions and, for example, I can't use the fragments in 2.x. So I want to know if I can program a "version selection", so that the app takes another code or another folder with code, if the Android version is less than 3?