> Hi, Sir: > > I can build a daemon with my algorithm code and main function. > I put all files in one folder under /development and make > This executable file works successfully > > Now I want to separate my algorithm code and main function code. > I hope to build a binary library with my algorithm code and > main function will link this binary library to use. > > Where to put my algorithm code to create binary library and > how to link this binary library in main function code? > > Thanks for your great help!
I do this by creating a separate project for the library that builds a JAR, then use that JAR in the main project. So long as the library does not rely much upon resources, this technique works fairly well. You can see many examples of this with my CommonsWare Android Components, which are all set up using this model: http://commonsware.com/cwac -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

