Android的 - 从内部罐子调用活动罐子、Android

2023-09-12 04:50:49 作者:败给现实

我有一个罐子,由扩展活动和执行上的onCreate一些活动的一类。我想导入这个罐子到我的Andr​​oid应用程序,并开始活动。

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.

我怎么能去呢?

谢谢 乔治

推荐答案

第1步:把JAR在项目的库/ 目录

Step #1: Put the JAR in your project's libs/ directory.

步骤#2:如果您使用的是Eclipse,这个JAR添加到您的构建路径

Step #2: If you are using Eclipse, add this JAR to your build path