自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

世上只有一种英雄主义

在认清生活真相之后依然热爱生活

  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

原创 android的Binder通信机制java层浅谈

1.Service Manager的Java代理对象在Java层中,Service Manager的代理对象类型为ServiceManagerProxy。它继承并且实现了IServiceManager接口,其中四个成员函数和一个变量如下: getService、checkService:获取Java服务代理对象 addService:注册Java服务 listService:获取已经注册的ja

2015-11-20 09:28:14 4891

原创 AndroidBinder进程间通信系统

目录前言及知识准备Service组件结构Clinet组件结构与Binder驱动程序交互总结Binder进程间通信实例问题本次主要介绍Android平台下Binder进程间通信库。所谓通信库,就是Adroid在应用程序框架层中将各种Binder驱动操作封装成一个Binder库,应用程序可以方便地调用库中提供的接口进行通信。这次将介绍Binder库的结构以及相关知识。在Binder库中,se

2015-11-11 17:07:19 4411 1

原创 Aidl跨进程通信机制-android学习之旅(87)

Aidl简介AIDL (Android Interface Definition Language) 是一种IDL 语言,用于生成可以在Android设备上两个进程之间进行进程间通信的代码。如果在一个进程中(例如Activity)要调用另一个进程中(例如Service)对象的操作,就可以使用AIDL生成可序列化的参数。下面介绍使用方法下面介绍使用方法1.服务端需要创建一个包,在包里面新建一个后缀

2015-11-20 09:09:41 1007

原创 [面试算法题]比较二叉树异同-leetcode学习之旅(5)

问题描述Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.和Balanced Bina

2015-11-18 22:37:23 751

[面试算法题]比较二叉树异同-leetcode学习之旅(5)

问题描述Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.和Bal...

2015-11-18 22:37:00 147

原创 [面试算法题]有序列表删除节点-leetcode学习之旅(4)

问题描述Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value

2015-11-18 22:18:35 958

[面试算法题]有序列表删除节点-leetcode学习之旅(4)

问题描述Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third...

2015-11-18 22:18:00 239

原创 二叉树的最大深度算法面试题-leetcode学习之旅(3)

标题Maximum Depth of Binary Tree描述The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.c++实现方法代码1.递归实现,时间复杂度为O(n) 空间复杂度为O(logn)/** * Definiti

2015-11-11 20:39:26 2139

二叉树的最大深度算法面试题-leetcode学习之旅(3)

标题Maximum Depth of Binary Tree描述The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.c++实现方法代码1.递归实现,时间复杂度为O(n) 空间复杂度为...

2015-11-11 20:39:00 177

原创 Android通过编译源代码提供系统服务

通过编译android4.1.2的源代码,添加一个FregServer的系统服务,以及一个服务代理FregClient具体分为三部分,client,common,server,common中规定了client和common的接口,和一些公共方法client部分代码#define LOG_TAG "FregTest"#include <utils/Log.h>#include <binder/ISe

2015-11-10 21:20:51 3294

原创 2015年北京的第一场雪-关于android学习的思考(84)

今天是2015年11月6日,今天北京下了大雪,我听着民谣,发现丢火车的摇滚也还不错,我身体的一部分毛发也发生了变异,由黑色变成红色,一切来的太突然了。。。。。。不知不觉学习android开发2年多了,虽然读研了,但是从未放弃过实践,经常到创业公司实习,但我发现我的android开发还是没有很大的进步。前段时间读了黑客与画家。大受启发,代码应该是写出来的,要在写的过程中思考,程序员和画家很像,你看画家

2015-11-06 14:39:08 1161

深入理解Java虚拟机——JVM高级特性与最佳实践(第2版

深入理解Java虚拟机——JVM高级特性与最佳实践(第2版).pdf,完整,带书签, 完整版

2017-11-03

空空如也

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

TA关注的人

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