Android - Invoke activity from within jar
I have a jar that consists of a class that extends Activity and performs some activity on onCreate. I want to import this jar into my Android app and start the ac开发者_JAVA百科tivity.
How can I go about this?
Thanks George
Step #1: Put the JAR in your project's libs/
directory.
Step #2: If you are using Eclipse, add this JAR to your build path
I got this working. I put the JAR in the assets folder, and didnt have to set the build path. Thanks a lot!
精彩评论