cnbeta今日的一篇文章感觉存在你蓄意抹黑小米的嫌疑,本人做了相关调查,结果见全文。...
分类:
移动开发 时间:
2014-12-17 09:11:04
阅读次数:
164
高级UI
ImageView ImageButton RadioButton CheckBox ProgressBar
1.ImageView 图片组件
src 指定要加载的图片
缩放问题
1.按着图片原始比例(不失真)
2.不按着比例(失真)
ScaleType
1.fitXY 强制让图片缩放以填充整个imageview
2.fitCenter 按着比例缩放以...
分类:
移动开发 时间:
2014-12-17 09:11:18
阅读次数:
179
东西拼凑,终于弄出来可以用的代码
[1].[代码] [Java]代码 跳至 [1]
?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
...
分类:
移动开发 时间:
2014-12-17 09:11:50
阅读次数:
306
Android-Universal-Image-Loader是一个图片异步加载,缓存和显示的框架。这个框架已经被很多开发者所使用,是最常用的几个Android开源项目之一,主流的应用,随便反编译几个,都可以见到它的身影。淘宝,天猫,Facebook,京东商城等都用到了这个项目。
该项目的Github地址链接:https://github.com/nostra13/Android-Universa...
分类:
移动开发 时间:
2014-12-17 09:08:07
阅读次数:
418
These are some tutorials i've written to get people started with android cracking.way of the android cracker 0this covers the essentials of setting up...
分类:
移动开发 时间:
2014-12-17 09:06:14
阅读次数:
151
AntiLVL - Android License Verification Library Subversion[ What is it? ]AntiLVL's purpose is to subvert standard license protection methods such as th...
分类:
移动开发 时间:
2014-12-17 09:04:24
阅读次数:
1112
一、DEX相关基础知识1、什么是DEX?DEX是DalvikEXecutable的简称。打包.class文件为单一DEX文件并运行于Dalvik虚拟机。DEX文件打包进APK文件中(本质上是jar或zip文件)。安装时,系统提取DEX文件进行检查和验证。第一次运行时,系统完成DEX优化,转换成ode...
分类:
移动开发 时间:
2014-12-17 09:03:41
阅读次数:
306
Google今年七月份的时候更新了他们的Google+应用,采用了新的导航方式并抛弃了navigationdrawer。一时之间,又引发了一系列关于NavigationDrawer利弊的讨论,不过对于开发者而言我们只需要管好自己需要实现或者学习的功能的即可,2012年Youtube、Facebook...
分类:
移动开发 时间:
2014-12-17 09:02:02
阅读次数:
210
在多数移动应用中任何时候都只能有一个应用程序处于活跃状态,如果其他应用此刻发生了一些用户感兴趣的那么通过通知机制就可以告诉用户此时发生的事情。iOS中通知机制又叫消息机制,其包括两类:一类是本地通知;另一类是推送通知,也叫远程通知。两种通知在iOS中的表现一致,可以通过横幅或者弹出提醒两种形式告诉用...
分类:
移动开发 时间:
2014-12-17 09:02:30
阅读次数:
397
1.UI搭建,import头文件#import 2.添加成员变量,并连线 1 - (IBAction)geocodeButton; 2 @property (weak, nonatomic) IBOutlet UITextField *inputAddress; 3 @property (weak,...
分类:
移动开发 时间:
2014-12-17 07:58:43
阅读次数:
239
环境:R1(网通路由器)有NAT到外网,R2(电信路由器)有NAT到外网。内网跑ospf,R1和R2有缺省路由,重发布进ospf。如果A(电信)用户在家,访问网通的路由器再访问网通服务器,发现不通。原因:因为R3给A回信息的时候,地址做了一个调换,目标地址是电信的地址,到达R1,R1做..
分类:
移动开发 时间:
2014-12-17 06:54:05
阅读次数:
209
1.首先安装MTP软件apt-getinstallmtpfslibmtp-commonmtp-toolslibmtp-devlibmtp-runtimelibmtp92.编辑/etc/fuse.conf文件#/etc/fuse.conf-ConfigurationfileforFilesysteminUserspace(FUSE)
#SetthemaximumnumberofFUSEmountsallowedtonon-rootusers.
#Thedefaultis1000.
#mou..
分类:
移动开发 时间:
2014-12-17 06:50:36
阅读次数:
141
Going from u to v or from v to u?
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 14789
Accepted: 3915
Description
In order to make their sons brave, Jiaji...
分类:
移动开发 时间:
2014-12-17 06:50:08
阅读次数:
225
A.需求1.自定义一个UIView和xib,包含国家名和国旗显示2.学习row的重用B.实现步骤1.准备plist文件和国旗图片2.创建模型 1 // 2 // Flag.h 3 // CountriesSelection 4 // 5 // Created by hellovoidworld...
分类:
移动开发 时间:
2014-12-17 01:35:33
阅读次数:
429
如果你去到一位熟练的木匠的工作室,你总是能发现他/她有一堆工具来完成不同的任务。软件开发同样如此。你可以从软件开发者如何使用工具中看出他水准如何。有经验的开发者精于使用工具。对你目前所使用的工具不断研究,同时了解一些替代品的使用,当你目前所用的工具无法满足你的需要时可以填补空缺。记住了这些,我将向你...
分类:
移动开发 时间:
2014-12-17 01:32:01
阅读次数:
401
1 UIView1.1 创建自定义的UIView的xib文件 [1]设置 file's Owner的 Custom Class 中的class 执行自定义控件类 [2]设置当前UIView 的屏幕大小 Simulated Metrics 中 Size 为FreeFrom,其他的Ba...
分类:
移动开发 时间:
2014-12-17 01:26:04
阅读次数:
234
//
private byte[] Bitmap2Bytes(Bitmap bm)
{
ByteArrayOutputStream baos = new ByteArrayOutputStream();
bm.compress(Bitmap.CompressFormat.PNG, 100, baos);
return baos.toByteArray();
}
...
分类:
移动开发 时间:
2014-12-17 00:23:44
阅读次数:
316