简体   繁体   中英

Is it possible to add an existing project in new project/application?

I have an android project and I want to include in it, my camera project/application.
Is there any way to proceed without having to copy each and every file of my camera application in the new project?
Any kind of help will be highly appreciated!

the easiest way to do this is to launch your camera application installed on your device in your new project. i think you can launch it this way:

Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.package.address");
if (launchIntent != null) { 
    startActivity(launchIntent);
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM