简体   繁体   中英

Create own library Android Java

I wonder if it's possible I create my own library with my most frequently used methods ready to be called in my application. Facilitating and speeding up my work.

It is possible to do this? How do? Someone gives an explanation of how to create and import? thank you

Yes it is possible. You just have to right click your Android Project in Eclipse, select on the left Android, and then you will have to check the is Library checkbox. To add this library to another project, you will just have to click Add on the same window in Eclipse.

You could also have a look at Managing Projects from Eclipse especially at "Setting up a Project" section.

Create a jar with all your frequently used files and move that jar to your project lib folder. It should work.

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