Android软键盘的显示与隐藏
2012-07-30 10:51
435 查看
Take Android's Calculator (package com.android.calculator2; URL https://android.googlesource.com/platform/packages/apps/Contacts) as an example.
Since Calculator.java makes reference to anroid.support package by the following statements, you should include Android Support library for the project.
Right click on the project in the Project Explorer, choose Build Path>Configure Build Path.
On the shown dialog, choose Java Build Path and change to Libraries tab.
Click Add External JARs and choose android-support-v4.jar which by default is stored in extras\android\support\v4 under Android SDK root directory.
CalculatorEditText.java imports com.google.common classes, as a result of which you need to add google's guavalib.jar in External JARs.
In addition, the Calculator module also makes use of javia package. So you need to delcare arity.jar in External JARs. Arity is an open source project hosted on google code.
In summary, declare arity.jar, guavalib.jar and Android's android-support-v4.jar in External JARs, and you will be succeeded with making the project build.
Since Calculator.java makes reference to anroid.support package by the following statements, you should include Android Support library for the project.
import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager;
Right click on the project in the Project Explorer, choose Build Path>Configure Build Path.
On the shown dialog, choose Java Build Path and change to Libraries tab.
Click Add External JARs and choose android-support-v4.jar which by default is stored in extras\android\support\v4 under Android SDK root directory.
CalculatorEditText.java imports com.google.common classes, as a result of which you need to add google's guavalib.jar in External JARs.
import com.google.common.collect.ImmutableMap;
In addition, the Calculator module also makes use of javia package. So you need to delcare arity.jar in External JARs. Arity is an open source project hosted on google code.
In summary, declare arity.jar, guavalib.jar and Android's android-support-v4.jar in External JARs, and you will be succeeded with making the project build.
相关文章推荐
- Android 根据软键盘的显示隐藏调整布局
- Android 控制软键盘的显示与隐藏
- Android软键盘的隐藏显示研究
- Android 判断软键盘的状态(显示,隐藏)
- android隐藏以及显示软键盘
- 解析android中隐藏与显示软键盘及不自动弹出键盘的实现方法
- Android 自定义RelativeLayout活动主窗口大小改变 得到软键盘的显示和隐藏
- Android软键盘的隐藏显示研究
- Android监听软键盘的显示与隐藏
- android隐藏以及显示软键盘以及不自动弹出键盘的方法
- Android软键盘的隐藏显示研究 推荐
- Android——软键盘显示与隐藏
- Android 监听软键盘的显示与隐藏
- android软键盘显示与隐藏,及强制隐藏软键盘失效的问题
- Android软键盘的隐藏显示研究
- android 关于软键盘的显示和隐藏监听,解决挡住Editview的问题
- android 软键盘的显示与隐藏问题的研究
- Android软键盘的隐藏显示研究
- android 软键盘监听显示和隐藏
- Android监听软键盘的显示与隐藏