EidtText和textview中内容过长的话自动换行,使用android:ellipsize与android:singleine可以解决,使只有一行。EditText不支持marquee用法如下:在xml中android:ellipsize = "end" 省略号在结尾android:ell.....
分类:
移动平台 时间:
2016-01-25 11:24:35
收藏:
0 评论:
0 赞:
0 阅读:
171
参考:http://www.cocoachina.com/industry/20140818/9401.htmlhttp://blog.csdn.net/zhaoxy_thu/article/details/17277527iOS 9 安装企业包 没有了信任按钮 需要手动设置为信任http://ww...
分类:
移动平台 时间:
2016-01-25 11:20:35
收藏:
0 评论:
0 赞:
0 阅读:
186
1--JDK下载地址 JDK下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html JDK(Java Development Kit)是整个Java的核心,包括一系列Java开发的东西,安装完毕需要配置一下环.....
分类:
移动平台 时间:
2016-01-25 11:20:08
收藏:
0 评论:
0 赞:
0 阅读:
231
#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@...
分类:
移动平台 时间:
2016-01-25 11:14:25
收藏:
0 评论:
0 赞:
0 阅读:
1716
package cn.iris.matrixapi;import android.app.Activity;import android.graphics.Matrix;import android.graphics.PointF;import android.os.Bundle;import an...
分类:
移动平台 时间:
2016-01-25 11:14:05
收藏:
0 评论:
0 赞:
0 阅读:
260
#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@...
分类:
移动平台 时间:
2016-01-25 11:13:55
收藏:
0 评论:
0 赞:
0 阅读:
205
转自:http://blog.csdn.net/guolin_blog/article/details/16919859获取状态栏的高度。 1 private static int statusBarHeight; 2 3 private int getStatusBarH...
分类:
移动平台 时间:
2016-01-25 11:13:35
收藏:
0 评论:
0 赞:
0 阅读:
219
没有存储任何内存地址的指针就称为空指针(NULL指针)野指针是指向"垃圾"内存(不可用内存)的指针。野指针是非常危险的比如说 定义了一个Person 的类,Person类有一个 - (void)setName方法Person * per = [[Person alloc]init];[per set...
分类:
移动平台 时间:
2016-01-25 11:13:25
收藏:
0 评论:
0 赞:
0 阅读:
336
C# url 用 浏览器打开、C#获取浏览器的url static void Main(string[] args){ string file = @"C:\Users\Hero\Desktop\SiteWhitelist.tsv"; string[] l...
分类:
移动平台 时间:
2016-01-25 11:12:05
收藏:
0 评论:
0 赞:
0 阅读:
174
转发:http://segmentfault.com/a/1190000003498111“新概念英语”、“可可英语”、“亚马逊的audible有声书”、“扇贝听力”是我目前所知道的实现英文语音和文本同步的应用。“同步”包括两方面:被读到的单词(或句子)可以高亮显示,同步显示文本;选中某个单词(或句...
分类:
移动平台 时间:
2016-01-25 11:08:45
收藏:
0 评论:
0 赞:
0 阅读:
1241
1 +(UIImage *)getImage:(NSString *)videoURL 2 3 { 4 5 AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:[NSURL fileURLWithPath:videoURL] opt...
分类:
移动平台 时间:
2016-01-25 11:08:35
收藏:
0 评论:
0 赞:
0 阅读:
225
介绍:Objective-c实现MD5和SHA1算法相对还是比较简单的,可以直接调用系统的C/C++共享库来实现调用MD5即Message Digest Algorithm 5(信息-摘要算法 5),用于确保信息传输完整一致。是计算机广泛使用的杂凑算法之一SHA即Secure Hash Algori...
分类:
移动平台 时间:
2016-01-25 11:06:35
收藏:
0 评论:
0 赞:
0 阅读:
242
本文翻译自苹果官方文档《iOS Human Interface Guidelines》——Accessing User Data,讲解使用用户私人数据时的相关指南...
分类:
移动平台 时间:
2016-01-25 10:02:05
收藏:
0 评论:
0 赞:
0 阅读:
167
第二十五章、MVC的介绍与实战1.MVC的基本介绍
MVC全称是Model - View - Controller,是模型(model)-视图(view)-控制器(controller)的缩写。MVC是一种框架模式而非设计模式,GOF把MVC看作是3种设计模式:观察者模式、策略模式与组合模式的合体,而核心是观察者模式。...
分类:
移动平台 时间:
2016-01-25 10:01:28
收藏:
0 评论:
0 赞:
0 阅读:
128
CSDN的帖子,Wap版 和 PC版 网址对应关系:1、举个例子:手机版的网址: http://bbs.csdn.net/wap/topics/391891319PC版的网址: http://bbs.csdn.net/topics/3918913192、
分类:
移动平台 时间:
2016-01-25 09:57:05
收藏:
0 评论:
0 赞:
0 阅读:
184
CSDN 博客 手机上的网址 和 PC上的网址,对应关系:1、举个例子:手机上的网址: http://m.blog.csdn.net/article/details?id=7910239PC上的网址: http://blog.csdn.net/jiejiaozhufu/article/detai.....
分类:
移动平台 时间:
2016-01-25 09:55:25
收藏:
0 评论:
0 赞:
0 阅读:
321
http://blog.csdn.net/stonecao/article/details/6425019http://www.cnblogs.com/linucos/archive/2012/05/24/2516623.htmlSurfaceView 由于可以直接从内存或者DMA等硬件接口取得图像...
分类:
移动平台 时间:
2016-01-25 09:54:15
收藏:
0 评论:
0 赞:
0 阅读:
616
今天给大家详细解释一项关于Spring的applicationContext.xml文件,这对于初学者来说,应该是很有帮助的,以下是详解Spring的applicationContext.xml文件代码: ...
分类:
移动平台 时间:
2016-01-25 09:52:45
收藏:
0 评论:
0 赞:
0 阅读:
238
Android横竖屏设置:方法一:onCreate()中 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); //横屏 setRequestedOrientation(ActivityInfo.SCREE...
分类:
移动平台 时间:
2016-01-25 09:50:45
收藏:
0 评论:
0 赞:
0 阅读:
252
分类:
移动平台 时间:
2016-01-25 09:49:45
收藏:
0 评论:
0 赞:
0 阅读:
228