Android的 - 从内部罐子调用活动 [英] Android - Invoke activity from within jar
本文介绍了Android的 - 从内部罐子调用活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个罐子,由扩展活动和执行上的onCreate一些活动的一类。我想导入这个罐子到我的Android应用程序,并开始活动。
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
这篇关于Android的 - 从内部罐子调用活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文