iOS路径沙盒文件管理,看到博主总结的很好,转载过来,原文:http://www.aichengxu.com/view/35264一、iOS中的沙盒机制iOS应用程序只能对自己创建的文件系统读取文件,这个独立、封闭、安全的空间,叫做沙盒。它一般存放着程序包文件(可执行文件)、图片、音频、视频、pli...
分类:
移动开发 时间:
2015-07-28 12:34:37
阅读次数:
169
AndroidMainfest.xml View Code新闻列表布局activiti...
分类:
移动开发 时间:
2015-07-28 12:34:36
阅读次数:
441
TempData与ViewData用法一样,不同的是ViewData是当前action与对应的view中存在,TempData在下个action还有效,再往后就无效了。只是我的浅薄理解,希望不会误人子弟举2个例子1.我们经常遇到的环境是,当前页面做了一个form提交,我们希望form提交以后跳转到另...
分类:
其他好文 时间:
2015-07-28 12:31:35
阅读次数:
94
请参与一下链接:http://segmentfault.com/a/1190000002462033简单的说下,就是必须写满一个view的6个约束,就是上下左右高宽,让scrollview 能够根据这些值计算出content view的size!
分类:
移动开发 时间:
2015-07-28 12:24:55
阅读次数:
174
JQuery方法:$(window).bind('scroll',function(){ // var len = $(this).scrollTop() if($('body').scrollTop() 10){ layer.style.display = 'block'; } else...
分类:
其他好文 时间:
2015-07-28 12:22:51
阅读次数:
187
一.Toast //?弹出吐司
??Toast.makeText(getApplicationContext(),?"吐司",?0).show(); ?二.对话框: ???1.确定取消对话框 ?public?void?click1(View?view){
???????//对话框的创建器
???...
分类:
移动开发 时间:
2015-07-28 11:13:06
阅读次数:
117
一.建立示例程序hello world 1.编写asdf 文件hello.asd [plain]?view plaincopy <span?style="font-size:18px;">(defpackage?:hello-system?(:use?#:asdf?#:cl))?? ?? (in-package?:hello-system)??...
分类:
其他好文 时间:
2015-07-28 11:11:34
阅读次数:
359
LayoutInflater layoutInflater=LayoutInflater.from(MainActivity.this);
View view= layoutInflater.inflate(R.layout.g, null);
Button button =(Button) LayoutInflater.from(getApplicationConte...
分类:
其他好文 时间:
2015-07-28 11:00:25
阅读次数:
105
错误代码:
[c-sharp]
view plaincopy
org.hibernate.MappingException: No Dialect mapping for JDBC type: -1 at org.hibernate.dialect.TypeNames.get(TypeNames.java:79) at org.hibernate.dia...
分类:
移动开发 时间:
2015-07-28 10:56:10
阅读次数:
169
场景:
我在一个项目中遇到了如下情况:在ViewController中有一个UITableView, 在tableView中的每个cell上的最右边都添加了一个按钮,然后给tableView加上了索引栏之后就会发现添加在cell上的按钮不能按,无法响应出发事件
分析:找到相应的代码文件,点击下面的视图概览按钮(Debug view Hierarchy)就可以看到大概的视图 ...
分类:
移动开发 时间:
2015-07-28 10:53:24
阅读次数:
129