Android
文章平均质量分 85
iteye_1921
这个作者很懒,什么都没留下…
展开
-
Android学习之路(一)通知Notification
这是调用通知的函数 private void showNotification(PlayWarper mPlayWarper) { mNotificationManager = (NotificationManager) this.getSystemService(NOTIFICATION_SERVICE); intent = new Intent(mContext...原创 2012-03-10 12:42:17 · 97 阅读 · 0 评论 -
android 使用Maven多项目搭建纪要
第一步,环境搭建A,卸载原来的maven插件,安装M2E-android插件,选择菜单 Help -> Eclipse Marketplace... 然后查找 "android m2e". 点第一个“android configurator for M2E”install,配置eclipse里面的maven就不在详述,主要是指定maven的路径还有那个setting.xml文件B,配置环境...2013-06-20 14:28:51 · 130 阅读 · 0 评论 -
Android AlertDialog有EditText无法弹出输入法的解决
如果AlertDialog中有编辑录入框(newMainLayout里面动态创建了EditText控件),show后无法显示输入法AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setTitle(modalWindowTitle); builder.setView(newMainLa...原创 2014-01-20 16:22:50 · 361 阅读 · 0 评论 -
怎么在有搜索框有listview的界面不让输入法默认打开
如果最上面是搜索框,下面是listview,那么进入界面后因为焦点落在搜索框上,输入法会默认打开,挡着listview的显示,试着关闭输入法都无效,其实很简单只需要在父linnerlayout中设置这两个属性即可android:focusable="true" android:focusableInTouchMode="true" 这样进入界面后默认linnerLayout为焦点不会默认搜索框...2014-11-24 17:12:02 · 114 阅读 · 0 评论