上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 35 下一页
摘要: 1.将一个sentenceresult对象写入xml,并保存 private void writeToXml(sentenceresult sr) { System.Xml.Serialization.XmlSerializer writer = ... 阅读全文
posted @ 2014-05-27 14:52 行云有影 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: 1、实现原窗体消失,打开另一个窗体,关闭新窗体时则关闭程序 private void button5_Click(object sender, EventArgs e) { Form2 form2 = new Form2(); ... 阅读全文
posted @ 2014-05-26 18:08 行云有影 阅读(7583) 评论(0) 推荐(0) 编辑
摘要: 1、Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); intent.putExtra("crop", true); in... 阅读全文
posted @ 2014-05-23 08:36 行云有影 阅读(369) 评论(0) 推荐(0) 编辑
摘要: xml .java 添加三张图片private ViewGroup mgroup;mgroup=(ViewGroup)findViewById(R.id.ln_Group); ImageView imageView; LayoutParams params ... 阅读全文
posted @ 2014-05-22 20:48 行云有影 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1、使用Apache 的 Commons FileUpload FileUpload下载地址: http://commons.apache.org/fileupload/ 下载:commons-fileupload-1.2.2-bin.zip 得到:commons-fileupload-1.... 阅读全文
posted @ 2014-05-21 23:22 行云有影 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1、在fragment的代码中 @Override public void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(save... 阅读全文
posted @ 2014-05-21 18:58 行云有影 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 1long exitTime=0;@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_BACK && event.getAction() ... 阅读全文
posted @ 2014-05-21 12:49 行云有影 阅读(162) 评论(0) 推荐(0) 编辑
摘要: RelativeLayout1、控件之间对齐底部对齐:android:layout_alignBottom="@+id/img_head"顶部对齐android:layout_alignTop="@+id/img_head"左边对齐android:layout_alignLeft="@id/tv_n... 阅读全文
posted @ 2014-05-20 23:44 行云有影 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1、通过request.setAttribute传参HttpServletRequest request=ServletActionContext.getRequest(); ........request.setAttribute("list", list);#request.list ... 阅读全文
posted @ 2014-05-18 19:03 行云有影 阅读(282) 评论(0) 推荐(0) 编辑
摘要: bject转换成int型int xuefen=(Integer)request.getAttribute("xuefen");Done 阅读全文
posted @ 2014-05-17 15:51 行云有影 阅读(302) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 35 下一页