2011年8月2日

Android note 2010.08.02 v2

摘要: *Send SMS SmsManager mgr=SmsManager.getDefault();PendingIntent intent=PendingIntent.getBroadcast(TestActivity.this, 0, new Intent(), 0);mgr.sendTextMessage("5556", null, "Hello", intent, null);don't have permission*重写配置setRequestedOrientation(ActivityInfo.SCREEAN_ORIENTATION_ 阅读全文
posted @ 2011-08-02 23:20 林骄 阅读(142) 评论(0) 推荐(0)

2010.08.03 Android note

摘要: *Touch Evnet实验如果回调是按时间触发的,所以不停的进入这个方法,即使event一直是Move@Override public boolean onTouchEvent(MotionEvent event){ super.onTouchEvent(event); view.setText(view.getText()+";"+event.getAction()); return true; } *Notifypublic void Notify(String msg){ NotificationManager manager=(NotificationManage 阅读全文
posted @ 2011-08-02 19:04 林骄 阅读(102) 评论(0) 推荐(0)

Android Note 2010.08.02

摘要: *RelativeLayoutandroid:layout_below="@id/label"android:layout_alignParentRight="true" android:layout_marginLeft="10dip"android:layout_toLeftOf="@id/ok" android:layout_alignTop="@id/ok"*TableLayoutandroid:stretchColumns="1"android:layout_col 阅读全文
posted @ 2011-08-02 00:15 林骄 阅读(277) 评论(0) 推荐(0)
2011年8月1日

Android Note 2011.08.01

摘要: *变换图片 TransitionDrawable<?xml version="1.0" encoding="UTF-8"?><transition xmlns:android="http://schemas.android.com/apk/res/android" > <item android:drawable="@drawable/sample_0"/> <item android:drawable="@drawable/sample_1"/> 阅读全文
posted @ 2011-08-01 18:55 林骄 阅读(177) 评论(0) 推荐(0)
2010年12月16日

[Biztalk]问题集

摘要: *SSO服务无法启动.Error 0x80131700:Could not create SSOSQL. To fix the problem, reinstall SSO or try 'regasm SSOSQL.dll' from a Visual Studio command prompt.Error Code: 0x80131700[解决方法]打开Visual Studio Command Prompt ,定位当前目录到SSOSQL.DLL所在目录"C:\Program Files\Common Files\Enterprise Single Sign-On" ,执行regasm S 阅读全文
posted @ 2010-12-16 15:45 林骄 阅读(361) 评论(0) 推荐(0)
2010年11月2日

Winform导出Excel

摘要: [代码] http://www.cnblogs.com/smjack/archive/2009/02/25/1398257.html Example http://www.cnblogs.com/wangshuai/archive/2010/03/10/1682811.html 判断版本 http://www.cnblogs.com/cdplayer/archive/2008/05/13/119... 阅读全文
posted @ 2010-11-02 19:03 林骄 阅读(1088) 评论(0) 推荐(0)

Excel单元格颜色

摘要: Range.Interior.ColoreIndex=colorIndex;http://www.mvps.org/dmcritchie/excel/colors.htmColorIndex -- 56 Excel Colors [#colors56/#colorindex][Color 0][Color 0][Color 15][Color 15][Color 30][Color 30][Col... 阅读全文
posted @ 2010-11-02 18:30 林骄 阅读(331) 评论(0) 推荐(0)

判断系统版本

摘要: [代码] 阅读全文
posted @ 2010-11-02 17:42 林骄 阅读(443) 评论(1) 推荐(0)
2010年10月8日

InstallShield 2011 自定义语言选择框

摘要: 在使用InstallShield 2011制作安装包的过程中遇到了两个BT问题。第一个问题是InstallShield 2011的语言框的默认值不再匹配"Region and Language Settings"中设置的"Current Language for non-Unicode"。而InstallShield 12是可以的。第二个问题是如果系统没有安装用户所选择的语言会弹出一个错误框,点确... 阅读全文
posted @ 2010-10-08 18:13 林骄 阅读(5446) 评论(0) 推荐(0)
2010年7月7日

ListView && XmlReader

摘要: ListView:It's a very good control. The book just introduce it samply. 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--privatevoidBindListView(){lv.G... 阅读全文
posted @ 2010-07-07 18:36 林骄 阅读(182) 评论(0) 推荐(0)