自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 资源 (36)
  • 收藏
  • 关注

转载 Xcode 6 empty project

Create an Single View Application with XCode6Remove Main.storyboard and LaunchScreen.xib (select them, right-click, and choose to either remove them from the project, or delete them completely).Re

2015-09-19 16:39:01 383

转载 Using Password-based Encryption on Android

Using Password-based Encryption on AndroidWhy password-based encryption is neededThere are various reasons why one would want to encrypt data in an Android application: to make sure that

2015-08-03 17:32:29 815

原创 android 模拟器模拟非root权限

ubuntu$ adb shellandroid# iduid=0(root) gid=0(root) context=u:r:shell:s0android# su shellandroid$ uid=2000(shell) gid=2000(shell) context=u:r:su:s0

2015-07-22 16:51:28 1693

转载 Android APK签名对比及说明

发布过Android应用的朋友们应该都知道,Android APK的发布是需要签名的。签名机制在Android应用和框架中有着十分重要的作用。例如,Android系统禁止更新安装签名不一致的APK;如果应用需要使用system权限,必须保证APK签名与Framework签名一致,等等。在《APK Crack》一文中,我们了解到,要破解一个APK,必然需要重新对APK进行签名。而这个签名,一

2015-07-22 10:36:08 536

转载 Android手机目前常见的分辨率

1 Android手机目前常见的分辨率1.1 手机常见分辨率:4:3VGA     640*480 (Video Graphics Array)QVGA  320*240 (Quarter VGA)HVGA  480*320 (Half-size VGA)SVGA  800*600 (Super VGA)5:3WVGA  800*480 (Wide VG

2015-03-24 16:34:26 401

转载 Android Activity之间切换出现短暂黑屏的处理方法

在两个Activity跳转时,由于第二个Activity在启动时加载了较多数据,就会在启动之前出现一个短暂的黑屏时间,解决这个问题比较简单的处理方法是将第二个Activity的主题设置成透明的,这样在启动第二个Activity时的黑屏就变成了显示第一个Activity界面。这个分两步完成:第一步:xxx/res/values/styles.xml中加入自定义Activity的Theme,如下所

2015-03-02 15:42:56 2067

原创 网站分享

http://bookzz.org/

2015-01-21 12:50:19 425

原创 android 小技术

邮件Intent String title  = getResources().getString(R.string.about_mail_feedback); Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(                "mailto","[email protected]", null))

2014-12-10 15:57:32 391

原创 android 资料汇总

规范:http://blog.sina.com.cn/s/blog_4b3ece840101gh6t.html

2014-11-12 15:36:33 388

原创 [Android]Volley源码分析(六)图片请求ImageRequest

Volle

2014-09-26 15:09:44 863

原创 [Android]Volley源码分析(五)消息分发器Dispatcher

在[Android]Volley源码分析(四)请求队列

2014-09-24 10:09:32 724

原创 [Android]Volley源码分析(四)请求队列

在[Android]Volley源码分析(一)概述中,我们看到了Volley通过调研RequestQueue的start()方法启动了一个请求队列,下面我们通过代码看看具体是如何实现的:

2014-09-23 16:30:29 722

原创 [Android]Volley源码分析(三)网络请求

在Volley源码分析(二)初始化中对

2014-09-22 14:35:27 621

原创 [Android]Volley源码分析(二)初始化

Volley通过工具包的Volley类进行初始化

2014-09-19 11:15:03 663

原创 [Android]Volley源码分析(一)概述

Volley是google在2013年IO大会上发布的一个网络通信工具包,对在android平台上通过消息队列,异步处理,线程池,缓存等方式对http请求的一些常见方法进行了优化,同时对大数据量的请求并发也作了一定的处理,可以随时取消消息的请求。Volley主要分为两个包:核心包和工具包。核心包主要对消息请求常用的方法进行了封装;工具包则提供了一些常见的消息请求如图片,json。

2014-09-18 16:22:18 751

原创 android异步请求

public abstract class AsyncRequestHandler extends Handler {private static Looper sLooper = null;private Handler mWorkerThreadHandler;private static final int EVENT_ARG_REQUEST = 1;

2014-07-11 11:22:21 486

转载 java-concurrent之CountDownLatch

功能:保持一个或多个线程等待(CountDownLatch的await方法)直到CountDownLatch计数为0(调用CountDownLatch的countDown方法)时才开启等待的线程。例如:学校的期末考试有10科,只有当每一科都结束后才能够汇总成绩。CountDownLatch正适合这样的需求,在汇总成绩时一直await,知道CountDownLatch计数到0为止,表明所有考

2014-01-02 17:03:58 482

原创 Android中通过Intent调用其他应用的方法(转)

启动浏览器代码与范例:12Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); startActivity(intent);说明:启动浏览器并前往http://www.google.com 。启动拨号程序代码与范例...

2012-06-26 15:09:28 272

原创 通过gps,wifi,基站定位获取当前位置(转)

private Location getCurrentLocationGPS() {        Criteria criteria = new Criteria();        criteria.setAccuracy(Criteria.ACCURACY_FINE);        criteria.setAltitudeRequired(false);...

2012-05-10 17:32:41 815

原创 (转)Android LinearLayout根据状态切换图片(模拟按钮的效果)

 在Android中Button可以根据选中,点击等状态切换图片,我想用LinearLayout实现类似的功能,但是默认情况下pressed状态“容器类”(继承于ViewGroup的类)是接收不到的,所以LinearLayout的按下就没有效果,后来分析代码,可以通过设置setAddStatesFromChildren方法获得内部View的状态,就可以取得pressed状态。...

2012-04-25 10:44:40 347

原创 JsonUtils

public class JsonUtils{    /**     * Simple JsonString to obj.     *      * @param jsonString     * @param c     * @return     */    public static Object simpleJsonToObject(String js...

2012-04-06 17:19:50 79

原创 AndroidHttpClient

public final class AndroidHttpClient implements HttpClient{    // Gzip of data shorter than this probably won't be worthwhile    public static long DEFAULT_SYNC_MIN_GZIP_BYTES = 256;    privat...

2012-04-06 16:48:46 96

原创 XmlParser(android 解析xml)

import java.io.IOException;import java.io.InputStream;import java.lang.reflect.Field;import java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;import java.util.Arr...

2012-04-06 16:45:21 517

原创 MediaPlayer中的几种播放音乐文件的方式(转)

在MediaPlayer中的几种播放音乐文件的方式1.    有下载的好的资源a)        直接实例化MediaPlayer,把音乐文件加载进去就可以播放b)        调用mediaplayer中的Create的方法。有两个参数(作用类,和音乐文件路径)代码如下  // 给mediaPlayer对象实例化    mdplay = new MediaP...

2012-01-05 11:54:38 290

原创 android service(转)

android service 学习(上) Service是android 系统中的一种组件,它跟Activity的级别差不多,但是他不能自己运行,只能后台运行,并且可以和其他组件进行交互。Service的启动有两种方式:context.startService() 和 context.bindService()。 使用context.startService() 启动Service是会会...

2011-12-23 17:12:25 53

原创 (转)android asmack 注册 登陆 聊天 多人聊天室 文件传输

XMPP协议简介XMPP协议(Extensible Messaging and PresenceProtocol,可扩展消息处理现场协议)是一种基于XML的协议,目的是为了解决及时通信标准而提出来的,最早是在Jabber上实现的。它继承了在XML环境中灵活的发展性。因此,基于XMPP的应用具有超强的可扩展性。并且XML很易穿过防火墙,所以用XMPP构建的应用不易受到防火墙的阻碍。利用X...

2011-12-09 11:16:00 109

原创 Java之WeakReference与SoftReference使用讲解

来源:编程之家   编辑:  发布时间:10-09-15  如果你想写一个 Java 程序,观察某对象什么时候会被垃圾收集的执行绪清除,你必须要用一个 reference记住此对象,以便随时观察,但是却因此造成此对象的 reference 数目一直无法为零, 使得对象无法被清除。  java.lang.ref.WeakReferenc...

2011-11-12 16:22:41 133

原创 众多Android 开源项目推荐,给力工作给力学习

原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://terryblog.blog.51cto.com/1764499/547777FBReaderJ FBReaderJ用于Android平台的电子书阅读器,它支持多种电子书籍格式包括:oeb、ePub和fb2。此外还支持直接读取zip、tar和gzip等压缩文档。项目地址:http:...

2011-11-10 09:56:31 87

数字图像和视频处理的基础.zip

数字图像和视频处理的基础 coursera课程ppt Welcome to Fundamentals of Image and Video Processing – we are incredibly excited that you will be joining us for the next 12 weeks as we learn how to use the fundamental tools which enable the modern multimedia revolution we are experiencing today. We hope that after com

2020-09-13

OAuth 2.0 in Action

OAuth 2.0 in Action OAuth 2.0 in Action OAuth 2.0 in Action OAuth 2.0 in Action OAuth 2.0 in Action

2018-07-28

you don‘t know js(全六套)

You Don't Know JS全套六本带目录 You Don't Know JS全套六本带目录

2018-07-28

Android High Performance Programming

Build fast and efficient Android apps that run as reliably as clockwork in a multi-device world

2018-07-28

图解密码技术

本书以图配文的形式,详细讲解了6种最重要的密码技术:对称密码、公钥密码、单向散列函数、消息认证码、数字签名和伪随机数生成器。 第一部分讲述了密码技术的历史沿革、对称密码、分组密码模式(包括ECB、CBC、CFB、OFB、CTR)、公钥、混合密码系统。第二部分重点介绍了认证方面的内容,涉及单向散列函数、消息认证码、数字签名、证书等。第三部分讲述了密钥、随机数、PGP、SSL/TLS 以及密码技术在现实生活中的应用。

2018-07-28

react in patterns

A free book that talks about design patterns/techniques used while developing with React

2018-07-27

Android技术内幕.系统卷

Android技术内幕.系统卷(杨丰盛) Android技术内幕.系统卷

2011-11-09

Launcher2源码

android Launcher2源码 android Launcher2源码 android Launcher2源码

2011-10-14

linux 设备驱动(高清)

linux 设备驱动(高清) linux 设备驱动(高清) linux 设备驱动(高清)

2011-08-01

UML Distilled

UML Distilled UML Distilled UML Distilled UML Distilled UML Distilled

2011-04-06

Building the Realtime User Experience

Building the Realtime User Experience

2011-03-01

Building the Realtime User Experience

The Web is increasingly happening in realtime. With websites such as Facebook and Twitter leading the way, users are coming to expect that all sites should serve content as it occurs — on smartphones as well as computers. This book shows you how to build realtime user experiences by adding chat, streaming content, and including more features on your site one piece at a time, without making big changes to the existing infrastructure. You’ll also learn how to serve realtime content beyond the browser.

2011-03-01

Addison-Wesley+-+Design+Patterns+Elements+of+Reusable+Object-Oriented+Software

Addison-Wesley+-+Design+Patterns+Elements+of+Reusable+Object-Oriented+Software

2011-02-28

jQuery in Action

jQuery in Action jQuery in Action jQuery in Action

2011-02-28

一步步学习Struts2

一步步学习Struts2 一步步学习Struts2

2011-02-28

struts_2_in_action.5040844802.rar

struts_2_in_action.5040844802.rar struts_2_in_action.5040844802.rar

2011-02-28

设计模式_20091017.rar

设计模式_20091017.rar 设计模式_20091017.rar 设计模式_20091017.rar

2011-02-28

head first 设计模式.part2.rar(共两卷)

head first 设计模式.part2.rar

2011-02-28

head first 设计模式.part1.rar(共两卷)

head first 设计模式.part1.rar(共两卷)

2011-02-28

RSS and Atom in Action

经典无需废话! 经典无需废话 经典无需废话 经典无需废话

2011-02-28

mfc帮助.chm

mfc中文帮助.chm

2007-08-05

c++面试题.doc(转载)

c++面试题.doc(转载)

2007-08-05

深入浅出MFC(侯捷).rar

深入浅出MFC(侯捷).rar,简体版

2007-08-02

SQL_Server_2000.chm

SQL_Server_2000.chm

2007-08-02

编译原理南大内部讲义.pdf

编译原理南大内部讲义.pdf

2007-08-02

c++培训ppt

很多书上是看不到的,值得看一看

2007-08-02

《Oracle9i关系数据库实用教程》ppt

《Oracle9i关系数据库实用教程》ppt

2007-08-01

More Effective C++(中文)

经典书籍,共享一下,chm格式,便于阅读

2007-08-01

Visual C++ .NET教程

Visual C++ .NET教程

2007-08-01

Visual C++ .NET实用编程100例

Visual C++ .NET实用编程100例

2007-08-01

effectiveC++.chm

大师经典,程序员必备!

2007-08-01

深入浅出mfc

深入浅出mfc,chm版

2007-08-01

The C++ Programming Language 3rd Edition.pdf

经典书籍,被誉为“c 圣经”, The C Programming Language Special 3rd Edition.pdf

2007-08-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除