自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 资源 (16)
  • 收藏
  • 关注

原创 iOS书籍(OC/Swift 3)

iOS入门书籍,记录下(好人推荐)

2015-11-30 09:11:55 803

翻译 ContentProvider示例-Calendar Provider

The Calender Provider API can be used by applications and sync adapters.Here are the rules for inserting a new event:You must include CALENDAR_ID and DTSTART.You must include an EVENT_TIMEZO

2015-11-28 22:00:12 600

翻译 android-Creating a Content Provider(2)

For content URIs that point to a row or rows of table data, getType() should return a MIME type in Android's vendor-specific MIME format:Type part: vndSubtype part:If the URI pattern is for

2015-11-28 19:04:30 526

原创 android-Creating a Content Provider

Content Provider是数据存储的一种组件,方式;运行在UI线程中You need to build a content provider if you want to provide one or more of the following features:You want to offer complex data or files to other applicati

2015-11-28 18:20:42 466

转载 Android网络编程之使用HttpClient批量上传文件

Apach HttpClient的使用:android端:1.通过addBinaryBody方法直接可以添加File、InputStream、byte[]类型的数据。2.通过addPart方法只能添加ContentBody类型的数据,在org.apache.http.entity.mime.content包中已经提供了File、InputStream以及String对应的Conte

2015-11-28 15:11:20 1012

翻译 Android-Content Provider Basics

This topic describes the basics of the following:How content providers work.The API you use retrieve data from a content provider.The API you use to insert, update, or delete data in a content pro

2015-11-27 23:46:21 542

转载 android-Content providers

Content providers are the standard interface that connects data in one process with code running in another process.得到ContentResolver实体去访问系统数据或者App数据。Content Provider BasicsHow to access d

2015-11-27 23:38:48 1644

转载 android-App Widget Host

bindAppWidgetIdIfAllowed(), allocateAppWidgetId(). AppWidgetHostView updateAppWidgetOptions() and updateAppWidgetSize()Regardless of the version of Android you are targeting, all hosts have the

2015-11-27 23:05:12 794

转载 用心做点事,写点代码的哲学(编程的基本功)

技术类开源项目和一般的业务型项目不同,更需要对代码和质量的控制,我们总结出以下几点:> 用心写代码,用代码讲故事。代码是项目的唯一核心和产出,任何一行的代码都需要用心思考优雅性,可读性,合理性。> 代码整洁干净到极致。简单点说就是重度代码洁癖患者。只有代码漂亮整洁,其他开源爱好者才愿意阅读代码,进而找出项目中的bug和贡献高质量代码。> 极简代码, 高度复用,无重复代码

2015-11-27 11:24:57 1136

原创 Android-App Widgets

Widgets:App Widget provider and An application component.AppWidgetHost and Widget Design.    eg:                                   android:resource="@xml/example_appwidget_info" />

2015-11-27 08:57:59 493

原创 Android-Overview Screen

学会使用Flag对Activity设置,然后可以更好的管理Activity 栈。With the Android 5.0 release (API level 21), multiple instances of the same activity containing different documents may appear as tasks in the overview scre

2015-11-26 23:32:41 491

原创 Android-Tasks and Back Stack

界面焦点和用户焦点When the current activity starts another, the new activity is pushed on the top of the stack and takes focus. Activity栈:"last in, first out"When all activities are removed from the st

2015-11-26 22:26:49 450

原创 Android-loader

Loaders have these characteristics:They are available to every Activity and Fragment.They provide asynchronous loading of data.They monitor the source of their data and deliver new results when th

2015-11-26 22:07:22 613

原创 Fragment、FragmentActivity、Fragment生命周期及Fragment组件穿透

--单Activity+多Fragment 或者 多模块Activity+多Fragment的架构,Fragment管理框架单Activity+多Fragment 或者 多模块Activity+多Fragment的架构,重度使用Fragment或者想使用单Activity+多Fragment的组件架构- https://github.com/YoKeyword/Fragmentation...

2015-11-26 21:11:22 1289

原创 android- activity,Application,activity渲染xml文件

Intent的flag 标志:intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);-- Android四大启动模式:standard、singleTop、singleTask、singleInstance 及应用场景:- Android 生命周期监听- https://github.com/LillteZheng/ZlifeCycleActivit...

2015-11-25 11:03:57 980

原创 android compatibility and System Permissions

安卓的兼容性有:设备兼容性和App兼容性If necessary, however, you can restrict your app's availability to devices through Google Play Store based on the following device characteristics:Device featuresPlatform

2015-11-24 22:52:22 778

翻译 android-Intents and Intent Filters and Common Intents

You can deliver a broadcast to other apps by passing an Intent to sendBroadcast(), sendOrderedBroadcast(), or sendStickyBroadcast().Without a component name, the intent is implicit and the syste

2015-11-24 11:14:08 536

转载 Android-Creating a Bound Service

When creating a service that provides binding, you must provide an IBinder that provides the programming interface that clients can use to interact with the service. There are three ways you can def

2015-11-24 10:16:55 536

原创 Android AIDL

android IPC: AIDL thread is not blocked.Using AIDL is necessary only if you allow clients from different applications to access your service for IPC and want to handle multithreading in your service

2015-11-23 18:46:34 598

原创 Android Service与IntentService,下载/断点续传

Android的Service组件可以处理的场景有:网络请求(心跳、长连接),文件的I/O操作,ContentProvider数据的CRUD,及所有可运行在后台的动作等。Service:适合并发请求,代码较多,较复杂,更灵活。 Service的各个生命周期函数是运行在主线程,因此它本身并不是一个异步处理技术。为了能够在Service中实现在子线程中处理耗时任务,Android引入了一个S...

2015-11-23 11:13:37 862

翻译 android process and thread

Processes:By default, all components of the same application run in the same process and most applications should not change this. However, if you find that you need to control which process a cer

2015-11-23 09:54:15 680

2020淘系技术年货 技术人的百宝黑皮书.zip

2020淘系技术年货 技术人的百宝黑皮书

2021-03-01

HttpClient _legacy.jar

HttpClient Jar包,Android9.0引入HttpClient ,useLibrary 'org.apache.http.legacy'

2021-02-24

打包的keystore备份

打包的keystore备份,不用每次都去生成;keystore文件和密钥

2018-06-14

JNI规范中文版

JNI规范中文版,学习JNI/NDK编译的同时,学习下JNI规范

2018-06-06

jni规范英文文档

jni规范英文文档,学习JNI/NDK编译的同时,学习下JNI规范

2018-06-06

FFmpeg_v3.4已编译好的so包

FFmpeg_v3.4已编译好的so包,拿出so包可以进行视频编解码 转码等

2018-05-25

NetEase QA Emmagee

NetEase QA Emmagee,Android performance test tool-CPU,memory,network traffic,starting time,battery current and status。需要Root手机

2018-05-03

Android字体

Android各种字体,字体样式

2018-04-10

图片压缩LuBan

图片压缩LuBan

2017-05-26

设计模式代码

设计模式代码

2017-05-25

算法和数据结构代码

算法和数据结构代码

2017-05-25

ScrollView嵌套Recyclerview

ScrollView嵌套Recyclerview

2016-12-07

Hash MD5 DES AES RSA加解密实例

Hash MD5 DES AES RSA加解密实例

2016-11-19

httpClient/httpmime_4.2.2.jar

httpClient4.2.2 httpmime4.2.2的jar包

2016-08-14

移动端MVC-MVP架构简单示例

移动端MVC-MVP架构简单示例-Android

2016-06-05

高性能服务器架构设计和调优

高性能服务器架构设计和调优

2016-05-28

空空如也

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

TA关注的人

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