码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
[转]android学习----基础UI编程(三)
9. Toast--Android专属浮动小提示下例中,实现在一个EditView中输入一段话后,点击Button,Toast显示这段话。示例代码:①新建工程②在string.xml中添加字符串EX_Ctrl_3亲爱的圣诞老人:送出愿望你的愿望:已送达圣诞老人信箱!③在main.xml布局中添加UI...
分类:移动开发   时间:2015-06-11 18:36:35    阅读次数:261
JAVA WEB:请求转发和重定向的区别
sevlet response有一个重定向的方法我们先介绍一下。1.HttpServletResponse对象的sendRedirect(String local)方法称作重定向。如果location地址前面加上"/",则表示相对于Servlet容器的根来请求,即http://localhost:8...
分类:编程语言   时间:2015-06-11 18:33:00    阅读次数:121
Hadoop源代码分析(四零)
有了上面的基础,我们可以来解剖DFSOutputStream了。先看构造函数: privateDFSOutputStream(String src,longblockSize, Progressable progress, intbytesPerChecksum)throwsIOException....
分类:其他好文   时间:2015-06-11 18:31:31    阅读次数:113
Android无线测试之—UiAutomator UiObject API介绍四
输入文本与清除文本一、输入文本与清除文本相关API返回值API描述booleansetText(String test)在对象中输入文本voidclearTextField()清除编辑框中的文本二、输入文本与清除文本实现步骤说明1)输入文本:清除文本—>输入文本2)清除文本:长按—>清除文本三、AP...
分类:移动开发   时间:2015-06-11 18:28:06    阅读次数:146
Latched 3 Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-06-11 18:25:40    阅读次数:104
Excel .net读取
public void LoadData(string StyleSheet) { string strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" + Server.MapPath ...
分类:Web程序   时间:2015-06-11 18:23:40    阅读次数:143
Leetcode[20]-Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" are all valid but "...
分类:其他好文   时间:2015-06-11 17:05:56    阅读次数:123
android 带箭头的textview文字伸缩效果
虽然是自己做的 还是不太懂 都是看网上的方法自己总结的   如果大家有质量好的demo  请分享一下 主要就是一个方法  几个变量限制   public class TextViewActivity extends Activity { private TextView tv; private String status = "up"; private String str = "A...
分类:移动开发   时间:2015-06-11 17:02:23    阅读次数:242
java调用oracle函数
/** * 调用函数取得数据表的ID值 * @param tableName 表名 * @return * @throws SQLException */ public String callFun(String tableName) throws SQLException { Connection conn = ConnectionFactory.getConnect...
分类:数据库   时间:2015-06-11 16:58:48    阅读次数:141
Hadoop源代码分析(四零)
有了上面的基础,我们可以来解剖DFSOutputStream了。先看构造函数:     privateDFSOutputStream(String src, longblockSize, Progressable progress,         intbytesPerChecksum) throws IOException     DFSOutputStream(String...
分类:其他好文   时间:2015-06-11 16:56:55    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!