04 2012 档案

摘要:http://developer.android.com/reference/android/os/Parcelable.htmlA Activity调用,PoiResultActivityIntent intent = new Intent();intent.setClass(this, PoiResultActivity.class);Bundle bundle = new Bundle();ArrayList<PoiInfoParcelable> allPoiInfo = new ArrayList<PoiInfoParcelable>();ArrayList&l 阅读全文
posted @ 2012-04-25 14:17 骨头 阅读(5462) 评论(0) 推荐(1)
摘要:隐藏键盘((InputMethodManager)getSystemService(INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(WidgetSearchActivity.this.getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);显示软键盘,控件ID可以是EditText,TextView((InputMethodManager)getSystemService( INPUT_METHOD_SERVICE)).showSoftInput(mEditPo 阅读全文
posted @ 2012-04-19 14:12 骨头 阅读(211) 评论(0) 推荐(0)
摘要:AndroidManifest.xml 中的Activity文件配置<activity android:name=".map.baidu.BaiduMapActivity" android:configChanges="orientation|keyboardHidden" android:label="@string/app_name" android:windowSoftInputMode="adjustUnspecified|stateHidden" > <intent-filter> 阅读全文
posted @ 2012-04-19 11:24 骨头 阅读(812) 评论(0) 推荐(0)