You can make the main project as library project. IF you using eclipse open the main project project.properties file and add this :
android.library=true
manifestmerger.enabled=true
And don't add any main/launcher intent in any activity of manifest.xml file.
Child/Sub project add these lines on the project.properties file. "../MainProject" is the path of ur main project and "MainProject" is the project name. {make sure these are correct.}
android.library.reference.1=../MainProject
manifestmerger.enabled=true
android.library=false
Then at sub project you just need to import the main project files .. and u can access them.
import com.MainProject.myActivity;
public class MainActivity extends myActivity{ }