自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (2)
  • 收藏
  • 关注

原创 CGI与WSGI

Web Server包括Apache、Nginx、Lighttpd等这些常见的静态服务器,负责接受HTTP请求、解析HTTP请求、发送HTTP响应这些底层工作CGI(Common Gateway Interface)通过网关接口,它是一段程序,运行在Web Server上。CGI程序可以是Python脚本,PERL脚本,SHELL脚本,C或者C++程序等。优点:CGI程序能专注于动态内容的生成。缺...

2018-05-31 11:16:19 554

原创 Servlet 笔记

最新包javax.servlet:servlet-api:2.5javax.servlet:javax.servlet-api:4.0.1artifactId在3.1之前采用servlet-api,3.1及之后采用javax.servlet-apigroupId不变职责接收浏览器http(HypeText Transfer Protocol)请求,并响应开发接口内部实现...

2018-05-28 11:13:26 223

原创 MySQL表添加自增字段并指定起始

create table student( a int not null, b int not null , primary key (a));添加自增字段,并指定起始:ALTER table student add c int not null unique key auto_increment;update student set c=c+'10000';

2013-10-10 16:48:25 909

原创 Android4.3源码Mac平台下载

一、EnvirmentFreeXuematoMacBook-Pro:~ freexue$ hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g ~/android.dmg FreeXuematoMacBook-Pro:~ freexue$ function mountAndroid { hdiut

2013-07-25 17:45:47 1166

原创 TwoLibs——mk

#指定源文件的位置LOCAL_PATH:= $(call my-dir)# first lib, which will be built statically##初始化与Make相关的环境变量include $(CLEAR_VARS)#指定生成库的库名和需要编译的源文件LOCAL_MODULE := libtwolib-firstLOCAL_SRC_FILES := fi

2013-07-12 17:37:37 509

原创 CPU相关知识

IBM 是一家PC制造厂商,其对CPU的影响,参考http://diy.pconline.com.cn/cpu/study_cpu/1207/2862888.html1、两大CPU厂商Intel和AMD 2、两大CPU架构x86、ARM3、两种架构的主要市场Intel 使用的是x86架构,现在PC和服务器市场上主流的还是x86架构,而移动市场的主

2013-07-11 14:48:15 557

原创 Android Service

BluetoothAdapter.java /** * Get a handle to the default local Bluetooth adapter. * Currently Android only supports one Bluetooth adapter, but the API * could be extended to support m

2013-07-10 11:08:27 639

原创 Android NDK C++开发环境设置

点击Finish后,变化如下图

2013-07-09 17:02:48 801

原创 Android项目设置为自动进行ndk-build

一、配置坏境1、创建文件.bash_profileFreeXuematoMacBook-Pro:~ freexue$ touch .bash_profile2、打开编辑文件FreeXuematoMacBook-Pro:~ freexue$ pico .bash_profile添加以下export PATH=${PATH}:/Users/freexue/Downloa

2013-07-09 10:40:34 592

原创 ANDROID-MK

Android.mk file syntax specificationIntroduction:-------------This document describes the syntax of Android.mk build filewritten to describe your C and C++ source files to the AndroidNDK. To un

2013-07-05 15:35:04 584

原创 Sources for Android SDK 源码关联 以及第三方jar包源码关联

一、android zip包源码的下载地址1、4.0以下的版本可到http://rgruet.free.fr/public/下载2、4.0以上的版本可通过以下链接下载(Android 4.0.1) https://dl-ssl.google.com/android/repository/sources-14_r01.zip(Android 4.0.3) https://dl-s

2013-07-04 18:43:31 2999

原创 Android Test 工程关联到被测试工程

2013-07-04 17:13:28 569

原创 Android4.2.2源码在Mac下编译模拟器运行

一、编译源码和SDKFreeXuematoMacBook-Pro:/ freexue$ cd /Volumes/android 切换到源码主目录FreeXuematoMacBook-Pro:android freexue$ . build/envsetup.shFreeXuematoMacBook-Pro:android freexue$ lunch full-engFreeXue

2013-07-04 10:48:36 2214

翻译 KeyFobDemoApplication Overview

–Advertise and connect with master device 广播以及和主设备连接–Key press notifications 按键通知–Proximity alarm 近场警报–Battery percentage measurement 电池电量测量–Accelerometer data notification 加速计数据通知•The f

2013-06-26 14:40:05 1611

翻译 Generic Attribute Profile (GATT) 通用属性协议

•Designed for use by the application or a profile, so that an attribute client can communicate with attribute server为应用程序或配置而设计,使属性客户端可以和属性服务端通讯。•GATT defines: 通用属性配置的定义–Procedures for u

2013-06-26 14:33:20 7910

翻译 Attribute Protocol (ATT) 属性协议

•An attribute is a discrete value that has associated with it the following three properties: 属性是一个离散值,与之关联的以下三个部分1.A handle (address) 地址The address of the attribute in the table2.A type 类型 Tells

2013-06-26 14:31:04 4077

翻译 Generic Access Profile (GAP)

•Defines generic procedures for connection-related services:定义连接相关的服务–Device Discovery–Link Establishment–Link Management–Link Termination–Initiation of security features•Many GAP function

2013-06-26 14:27:28 2116

翻译 Security Manager Protocol (SMP) 安全管理协议

•Performs authentication and key management 执行身份验证和密钥管理•Uses AES-128 as the encryption algorithm for security procedures 为安全程序使用aes - 128加密算法•Defines protocol to setup secure link 定义了协议设置安

2013-06-26 14:21:59 1715

翻译 Logical Link Control and Adaptation Protocol (L2CAP) 逻辑链路控制及适配协议

•Permits upper level protocols and applications to transmit and receive upper layer data packets up to 23 bytes in length允许上层协议和应用程序传输和接收上层数据包直到23个字节的长度•Provides channel management, allowing f

2013-06-26 14:20:38 1597

翻译 Host/Controller Interface (HCI)

•Reused from standard Bluetooth specification, with new additional commands for low energy-specific functions•Thin layer; doesn‟t perform any processing 轻层,不执行任何处理•In a dual-chip solution (with se

2013-06-26 14:18:17 1348

翻译 Link Layer 链路层

Channels3 Advertising Channels and 37 Data ChannelsStates and Network Topology•There are six possible Link Layer states of a BLE device:–Standby-device is not transmitting or receiving any dat

2013-06-26 11:27:10 1459

翻译 Physical Layer 物理层

•RF Specifications 射频规格–Operates in 2.4 GHz ISM band 在2.4 GHz的ISM波段操作–GFSK modulation–40 channels with 2 MHz spacing 40个通道•3 fixed advertisting channels for broadcasting, which avoid 802.1

2013-06-26 11:18:07 915

翻译 Goals for this Training

•Gain a basic understanding of what Bluetooth low energy is, and how BLE communications work at the link-layer能够基本理解BLE是什么,以及BLE通信在链路层如何工作•Understand Bluetooth low energy access control and data c

2013-06-26 11:10:28 911

android-support-v4

android4.2.2下的support-v4源码

2013-07-04

Android AChartEngine1.0 源码

Android AChartEngine1.0 源码

2013-02-07

空空如也

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

TA关注的人

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