Reputation: 43833
I am making an android app. I have created a java project also that uses BufferedImage to manipulate images. I want to use this project in my android project. How can I do that?
I'm using eclipse. When I right click my android project > properties > android > [add] my java project isn't in the available options. I think I need to somehow mark it as library.
Does anyone know how I can do this?
Thanks
Upvotes: 0
Views: 55
Reputation: 888
Add your Java project to your build path:
Right click on your Android project, click on Properties. In the dialog, select Java Build Path, and then click on the Projects tab. There, add your Java project to the build path.
Upvotes: 1
Reputation: 361
make JAR of your BufferedImage project and then copy it inside your new project, then right click on the JAR in Eclipse and Choose Build Path -> Add to classpath or something like that
Upvotes: 1