摘要: sql 自定义函数 --检查函数是否存在 if exists (select * from dbo.sysobjects where id = object_id(N'dbo.pTitleCase') and xtype in (N'FN', N'IF', N'TF')) drop fun... 阅读全文
posted @ 2015-07-02 14:42 QZB 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 清除多余字符--清除多余字符--'--char(9) 水平制表符--char(10)换行键--char(13)回车键REPLACE( REPLACE( REPLACE(REPLACE([ProductID],'''','') , CHAR(10) ,''),char(9),''),char(13),... 阅读全文
posted @ 2015-06-30 16:09 QZB 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Imports System.NetImports System.TextImports TwilioPublic Class clsTwilioSMS Public Shared Function Send(ByVal pToNumber As String, ByVal pSMSMessa... 阅读全文
posted @ 2015-06-18 14:50 QZB 阅读(272) 评论(0) 推荐(0) 编辑
摘要: List PageHtml code: 視頻管理 ... 阅读全文
posted @ 2015-06-17 10:00 QZB 阅读(554) 评论(0) 推荐(0) 编辑
摘要: Friends Find New Friends Poke A Friend ... 阅读全文
posted @ 2015-06-16 21:55 QZB 阅读(1023) 评论(0) 推荐(0) 编辑
摘要: 1.找到你的debug.keystore文件在Eclipse工具下,选择windows-->Preference-->Android-->Build,其中Default debug keystore的值便是debug.keystore的路径了。2.获取 机器的MD5和SHA1的值cmd cd sdk路径\toolskeytool -exportcert -alias androiddebugkey -keystore "debug.keystore的路径" -list -v -storepass android -keypass androidMD5:12 阅读全文
posted @ 2013-01-04 16:01 QZB 阅读(203) 评论(0) 推荐(0) 编辑
摘要: className=包名+Class名称 Intent intent = new Intent(); intent.setClass(mContext, Class.forName(className)); startActivity(intent); 阅读全文
posted @ 2012-05-15 10:41 QZB 阅读(1437) 评论(0) 推荐(0) 编辑
摘要: 1:android.os.Process.killProcess(android.os.Process.myPid());finish();System.exit(0);2:Intent intent=new Intent(Intent.ACTION_MAIN);intent.addCategory(Intent.CATEGORY_HOME);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startActivity(intent);System.exit(0);PS:使用第二种方式退出 会出现本来下载到sdcard的html文件自动删除,没有搞清 阅读全文
posted @ 2012-04-25 15:21 QZB 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 找到.android文件夹,如:C:\Documents and Settings\biao\.android新建文件cmd.bat,文件内容:cmd,保存。双击打开cmd.bat文件.输入:keytool -v -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android确认即可得到结果,复制你的MD5值。到 http://code.google.com/intl/pl/android/maps-api-signup.html 获取你key值即可。 阅读全文
posted @ 2012-04-18 09:02 QZB 阅读(493) 评论(0) 推荐(0) 编辑
摘要: //px转换成dip public int dip2px(Context context, float dipValue){ final float scale = context.getResources().getDisplayMetrics().density; return (int)(dipValue * scale + 0.5f); } 下面是如何调用:a1.setPadding(a1.getPaddingLeft()+this.dip2px(this, 5... 阅读全文
posted @ 2011-10-09 11:40 QZB 阅读(565) 评论(0) 推荐(1) 编辑