首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > Android的诠释

Android的诠释

资 源 简 介

Keep the lib small, simple and fast is the main idea of this project. Installation Add the eandroid-version.jar to the build path of your Android project Make your activities extend from EActivity instead of Activity. Usage Example typical Android activity ``` public class AndroidWay extends Activity { private Button btn1; private Button btn2; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); btn1 = (Button)this.findViewById(R.id.btn1); btn2 = (Button)this.findViewById(R.id.btn2); OnClickListener listener = new OnClickListener(){ @Override public void onClick(View v) { switch(v.getId()){ case R.id.btn1: //do something break; case R.id.btn2: //do something break;

文 件 列 表

EAndroidExample
.classpath
.project
.settings
AndroidManifest.xml
assets
bin
gen
ic_launcher-web.png
libs
proguard-project.txt
project.properties
res
src
eandroid.jar

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP