摘要: 具体实现,举一个例子来说明,Activity 分别 A 、B两个Activity;一、A Activity向B Activiyty 传递数据Intent intent = new Intent();intent.setClass(DayReport.this, SurveyMsg.class);sur.putString("xmlname", path);intent.putExtras(sur);startActivityForResult(intent, 0);二、B Activity 接收数据,在 onCreate 方法中接收数据 Bundle bundle=this 阅读全文
posted @ 2012-12-03 17:46 zx132797 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 只需要设置CSS样式:outline: none;就可以屏蔽谷歌浏览器的高亮显示。 阅读全文
posted @ 2012-12-03 17:19 zx132797 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 一、声明Activity 内部 BroadcastReceiver () public static class Alarmreceivers extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub ... 阅读全文
posted @ 2012-11-20 17:37 zx132797 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 如果遇到“服务不可用” 错误 在cmd运行输入 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe (根据自己的版本选择) -i 按回车键如果在发布后网站有问题,看不到程序内部错误,在web.config的如下配置,<customErrors mode="on" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="403.htm" 阅读全文
posted @ 2012-10-24 11:25 zx132797 阅读(117) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示