码迷,mamicode.com
首页 >  
搜索关键字:unacceptable content    ( 25707个结果
android 写入联系人
public void testInsert() { ContentValues values = new ContentValues();/* * 首先向RawContacts.CONTENT_URI执行一个空值插入,目的是获得系统返回的rawContactId */ Uri rawContact...
分类:移动开发   时间:2014-06-16 00:40:11    阅读次数:356
C++11 正则表达式库 (regex)
Source: http://cpprocks.com/wp-content/uploads/c++11-regex-cheatsheet.pdf
分类:编程语言   时间:2014-06-16 00:05:54    阅读次数:441
layout_weight
在layout_width設置為fill_parent的時候,layout_weight所代表的是你的控件要優先盡可能的大,但這個大是有限度的,即fill_parent. 在layout_width設置為wrap_content的時候,layout_weight所代表的是你的控件要優先盡可能的小,但...
分类:其他好文   时间:2014-06-15 22:57:20    阅读次数:325
自定义TextView 调用ttf格式字体
自定义TextView 调用ttf格式字体 将ttf格式文件存放在assets/fonts/下 import android.content.Context; import android.graphics.Typeface; import android.util.AttributeSet; import android.widget.TextView; /** * 修改字体 *...
分类:其他好文   时间:2014-06-15 18:57:33    阅读次数:177
Asp.Net MVC4开发三:HTML5、CSS3、JQuery、JQuery UI的应用
在Asp.Net MVC4里面UI层也就是View层默认使用HTML5以及与HTML相对应的CSS3,JS默认使用JQuery和JQuery UI。新建一个MVC4项目,项目会自动包含JQuery、JQuery UI所需要的文件及智能提示支持; HTML则是自动生成HTML5格式标签的页面。 先来看看MVC4项目里面对这些内容的支持: 在MVC4项目里面有Scripts和Content两个文件...
分类:Web程序   时间:2014-06-15 18:36:39    阅读次数:670
解决scrollView中嵌套编辑框导致不能上下滑动的问题
EditText设置maxLines之后,文本行数超过maxLines,会网上折叠,上下滑动可以浏览所有文本。 若EditText外层有scrollView,在EditText上下滑动,不会像正常情况那样上,只会滑动了scrollView。 解决办法是: mEt_content.setOnTouchListener(this); // 解决scrollView中嵌套EditText导致不...
分类:其他好文   时间:2014-06-15 17:54:08    阅读次数:137
下载图片
header("Content-Type:image/gif"); header('Content-Disposition: attachment; filename="logo3333.gif"'); header('Content-Length:'.filesize("logo.gif"));....
分类:其他好文   时间:2014-06-14 23:25:48    阅读次数:220
对SD卡的读写操作-保存用户登录密码
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStreamReader; import android.content.Context; import android.o...
分类:其他好文   时间:2014-06-14 07:39:11    阅读次数:309
Android学习Scroller(二)
MainActivity如下: package cc.testscroller1; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.os.Bundle; import...
分类:移动开发   时间:2014-06-13 20:48:10    阅读次数:326
C++11 正则表达式库 (regex)
Source: http://cpprocks.com/wp-content/uploads/c++11-regex-cheatsheet.pdf
分类:编程语言   时间:2014-06-13 14:57:19    阅读次数:313
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!