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
阅读全文
摘要:隐藏键盘((InputMethodManager)getSystemService(INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(WidgetSearchActivity.this.getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);显示软键盘,控件ID可以是EditText,TextView((InputMethodManager)getSystemService( INPUT_METHOD_SERVICE)).showSoftInput(mEditPo
阅读全文
摘要:AndroidManifest.xml 中的Activity文件配置<activity android:name=".map.baidu.BaiduMapActivity" android:configChanges="orientation|keyboardHidden" android:label="@string/app_name" android:windowSoftInputMode="adjustUnspecified|stateHidden" > <intent-filter>
阅读全文

浙公网安备 33010602011771号