Android - Invoke activity from within jar

后端 未结 2 387
小鲜肉
小鲜肉 2021-01-26 19:39

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 activity.

<
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-26 20:04

    I got this working. I put the JAR in the assets folder, and didnt have to set the build path. Thanks a lot!

提交回复
热议问题