自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hunter

May you: do good and not evil,share freely, never taking more than you give.

  • 博客(29)
  • 收藏
  • 关注

转载 ffos: the start of b2g process

Firefox OS启动过程分析-b2g进程启动(序) https://blog.csdn.net/zembers/article/details/48472965 b2g进程的启动:b2g进程在系统启动时由init进程启动(init.b2g.rc):service b2g /system/bin/b2g.sh class...

2018-04-28 10:10:55 130

原创 ffos:nfc 2.5 cannot start the service

here are the logs of the nfc test after enable switch ,and before read tagI/ ( 173): halo,im 3,**** posttonfcdaemon ******in gecko/ipc/nfcI/ ( 173): halo,im 3,********** sendNfc...

2018-04-27 15:33:37 396

转载 vim : the high level off using vim

实用的vim下比较两个文件命令:    1、 vimdiff file1 file2  终端下输入该命令进入vim,垂直分隔窗口进行比较    2、 vimdiff -o file1 file2  水平分隔窗口进行比较    3、 ctrl+w (j,k,h,l)  上下左右切换光标所在的窗口(括号中表示可以是其中之一,按下ctrl+w,放开ctrl再按j,k,h,l)    4、 ctrl+w ...

2018-04-26 18:32:54 149

转载 shell: output with color

shell脚本中echo显示内容带颜色shell脚本中echo显示内容带颜色显示,echo显示带颜色,需要使用参数-e 格式如下: echo -e "\033[字背景颜色;文字颜色m字符串\033[0m" 例如: echo -e "\033[41;36m something here \033[0m" 其中41的位置代表底色, 36的位置是代表字的颜色 注:   1、字背景颜色和文字颜色之间是英文...

2018-04-26 16:06:17 624

转载 android : nfc framework/.../nfc

我们来看一下NFC在Android代码中的位置: 1.frameworks/base/core/java/android/nfc Java代码ErrorCodes.javaThis class defines all the error codes that can be returned by the service and producing an exception on the appli...

2018-04-25 15:54:43 572

转载 android :adb logcat

作者 :万境绝尘  转载请著名出处eclipse 自带的 LogCat 工具太垃圾了, 开始用 adb logcat 在终端查看日志;1. 解析 adb logcat 的帮助信息在命令行中输入 adb logcat –help 命令, 就可以显示该命令的帮助信息;[plain] view plaincopyoctopus@octopus:~$ adb logcat –help  Usage: lo...

2018-04-25 15:48:53 156

转载 android: C log

/********************** log.c *************************/#include <jni.h>#include <utils/Log.h>int main(){    LOGD("调试信息!!!!!!!!!!\n");    return 0;}/********************** Android.mk *****...

2018-04-25 10:41:43 166

转载 c++: ::

1、 作用域符号::的前面一般是类名称,后面一般是该类的成员名称,C++为例避免不同的类有名称相同的成员而采用作用域的方式进行区分如:A,B表示两个类,在A,B中都有成员member。那么      A::member就表示类A中的成员member      B::member就表示类B中的成员member 2、 全局作用域符号:当全局变量在局部函数中与其中某个变量重名,那么就可以用::来区分如:...

2018-04-24 14:35:17 394

转载 network: the whole progress of network request

https://blog.csdn.net/SEU_Calvin/article/details/53304406 0.  前言从我们在浏览器的地址栏输入http://blog.csdn.net/seu_calvin后回车,到...

2018-04-24 10:51:49 109

转载 network: the different of TCP and UDP

https://blog.csdn.net/li_ning_/article/details/52117463TCP UDPTCP与UDP基本区别  1.基于连接与无连接  2.TCP要求系统资源较多,UDP较少;   3.UDP程序结构较简单   4.流模式(TCP)与数据报模式(UDP); ...

2018-04-24 10:41:25 84

转载 ffos:(FFOS Gecko) - several ways of exposing a module to navigator

(FFOS Gecko) - several ways of exposing a module to navigator当我们实现了一个module,并且通过navigator.mozCustomModule访问根据module的实现方式的不同,有几种不同的做法。1. XPCOM component(Javascript实现):   在chrome.manifest中配置(加粗部分):compo...

2018-04-23 14:51:14 139

转载 ffos:ffos introduction

https://blog.csdn.net/engineer_james/article/details/73175872 目录(?)[+] FFOS 系统介绍FFOS 系统是属于FireFox OS平台的系统,和android 系统对比,主要的差距a...

2018-04-23 14:34:38 344

转载 android5.0 : source tree detail

android source tree detail directory1. abicppThe content of this directory is not clear what it is about as it contains several C++ files.2. artbuil...

2018-04-23 14:24:40 2928

转载 Android VS linux system file level compare

https://blog.csdn.net/kangear/article/details/16897759 目录(?)[+]      这篇文章布局好乱呀,有时间得整理一下。声明本文是积累式的写法,不会为去写而写,是先总结一些...

2018-04-23 14:20:36 112

转载 android:手机各大分区详解

1. bootloader 当我们拿到一款手机,第一件事应该就是按下电源键开机,那么从开机到进入到桌面程序这中间发生了些什么呢,我们从下面这张简化了的手机结构图开始: 注意:该结构图并不反映手机的实际分区顺序和位置,只是一个逻辑结构图。 大家可以简单的把手机的ROM存储类比为我们电脑上的硬盘,这个硬盘被分成了几个分区:bootloader分区,boot分区,system分区等等。后面我们会...

2018-04-23 14:12:18 4118 2

转载 android : source tree of android 2.1

这是Android2.1的源代码的目录结构,可以帮助我们研究Android的源代码。Android源代码的下载请参考官网 Android 2.1 |-- Makefile |-- bionic                        (bionic C库) |-- bootable                (启动引导相关代码) |-- build                    ...

2018-04-23 11:42:37 135

转载 NFC:abbreviation of nfc related

thanks to the author:https://blog.csdn.net/zy00000000001/article/details/70662352NCI规范,全称NFC Controller interface,主要的作用是将DH(Device host,主机,在手机中可以看做是手机的AP)和NFCC(可以看做手机中的NFC芯片,如PN544等)之间的消息标准化,让我们的手机CPU...

2018-04-23 10:17:11 193

原创 firefox os :ffos basic skills

build and flash gecko only :单独编译、烧写gecko./build.sh gecko./flash.sh geckobuild gaiamake install-gaia make reset-gaia build appAPP=settings make make an install  appAPP=setting...

2018-04-16 11:46:29 195 2

转载 shell:zsh

大多数的Linux用户偏爱Bash,因为发行版通常默认的就是它。 Bash确实是不错的Shell,但仍有用很多不尽人意的地方,如自动补全的功能不够强大,定位较长路径不够方便,命令历史管理不够完善等。介绍使用zsh,功能十分强大..推荐给大家!1 zsh介绍1.1 Linux shellLinux/Unix提供了很多种Shell,为毛要这么多Shell?难道用来炒着吃么?那我问你,你同类型的衣...

2018-04-15 09:37:43 260

原创 vim : personal back up 2108.4.14 sat

back up of vimrcCHANGE from vimplus of chxuan" " __ __ " __ __/_/___ ___ ____ / /_ _______ " \ \ / / / __ `__ \/ __ \/ / / / / ___/ " \ V...

2018-04-14 21:29:42 234

原创 vim: nice vimrc configure

https://zhuanlan.zhihu.com/p/25905625?utm_source=itdadao&utm_medium=referralhttps://github.com/chxuan/vimplushttps://github.com/ruanyl/bigvimhttps://zhuanlan.zhihu.com/hack-vimhttps://github.com/V...

2018-04-14 20:20:29 525

原创 vim:the damn garbled of vim-devicons from nerdtree

the solution of the bug is :set guifont=DroidSansMono\ Nerd\ Font\ 11if no Droidsansmono nerd font,you need to patch it yourslefsetting of the font of terminal is not okay,change to this ...

2018-04-14 20:12:21 538

转载 vim :airline and font

1. https://blog.csdn.net/panderang/article/details/54175475安装Vim-airline1 由于我使用的Vundle管理的vim插件,所以安装插件还是非常简单的。Git拉取插件内容:git clone https://github.com/vim-airline/vim-airline ~/.vim/bundle/vim-airline...

2018-04-13 21:49:49 711

转载 vim : ctrlp

thanks to the author:https://blog.csdn.net/dark_tone/article/details/52914218Ctrlp到底是做什么的?先看看spf13里对它的描述:Ctrlp replaces the Command-T plugin with a 100% viml plugin. It provides an intuitive and fast ...

2018-04-13 20:12:50 1986

转载 ffos:build or emulator

https://blog.csdn.net/nxh_love/article/details/9467707参考文章:Building and installing Firefox OS这篇文件简单说下,自己实践获取B2G的源码并编译。硬件要求:    1. An installed 64 bit GNU/Linux distribution (we recommend Ubuntu 12.04)...

2018-04-11 20:28:00 183

原创 IT is so ashamed this stupid techknowlege which i didin't understand

it's a great ashamed of today's embarrassment ,shit!!! get to understand how :1.the repo and git work???2. the source codes complied ???

2018-04-10 20:44:37 201

转载 firefox os :build ffos: repo

https://blog.csdn.net/feiniao8651/article/details/59178128在涉及到AOSP的项目代码同步时,大家经常会用到repo工具(关于repo可以看我之前写的一篇文章)。由于众所周知的原因,我们在访问谷歌服务时会受到各种限制。执行repo init命令时,设计者出于维护和使用体验的考虑,每次都要去服务器...

2018-04-10 20:22:13 132

原创 Firfox OS : the study of NFC

NFC调研大纲   1.什么是NFC?   2.NFC的用途?   3.怎么使用NFC?3.1 有哪些难点?3.2使用步骤如何?  4.如何使用在当前项目?源码中如何添加?

2018-04-02 15:07:37 91

转载 android:battery frame

thanks to the author:https://blog.csdn.net/daweibalang717/article/details/41446993参考文献:http://blog.csdn.net/wlwl0071986/article/details/38778897 简介:Linux电池驱动用于和PMIC交互、负责监听电池产生的相关事件,例如低电报警、电量发生变化、高温报警、...

2018-04-02 09:48:12 340

空空如也

空空如也

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

TA关注的人

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