- 浏览: 161702 次
- 性别:
- 来自: 马赛大回旋
文章分类
最新评论
-
ihopethatwell:
楼主请教一下,如果我添加packages/MSystemUI/ ...
Framework添加AIDL文件 -
285985787:
太感谢了 哈哈
eclipse查看android源码工程(附件) -
bluishoul:
应该比较大吧 还是自己编译吧 但是我的ubuntu是装的wub ...
Android 4.0 编译全程... -
地球小野花:
gzfreeman 写道请问用了多长时间?几个小时。具体没计算 ...
Android 4.0 编译全程... -
地球小野花:
bluishoul 写道求镜像 呵呵 bluishoul@gm ...
Android 4.0 编译全程...
Android应用程序(Setting)中有关蓝牙设定部分的相关类
在Android Setting App中中,蓝牙功能的设定是如何定义了如下相关类,它们的意义和作用分别为:
BluetoothSettings is the Settings screen for Bluetooth configuration and connection management.
BluetoothDevicePreference is the preference type used to display each remote Bluetooth device in the Bluetooth Settings screen.
BluetoothDiscoverableEnabler is a helper to manage the “Discoverable” checkbox. It sets/unsets discoverability and keeps track of how much time until the the discoverability is automatically turned off.
BluetoothEnabler is a helper to manage the Bluetooth on/off checkbox preference. It is turns on/off Bluetooth and ensures the summary of the preference reflects the current state.
BluetoothEventRedirector receives broadcasts and callbacks from the Bluetooth API and dispatches the event on the UI thread to the right class in the Settings.
BluetoothNamePreference is the preference type for editing the device’s Bluetooth name. It asks the user for a name, and persists it via the Bluetooth API.
BluetoothPinDialog asks the user to enter a PIN for pairing with a remote Bluetooth device. It is an activity that appears as a dialog.
BluetoothPinRequest is a receiver for any Bluetooth pairing PIN request. It checks if the Bluetooth Settings is currently visible and brings up the PIN entry dialog. Otherwise it puts a Notification in the status bar, which can be clicked to bring up the PIN entry dialog.
ConnectSpecificProfilesActivity presents the user with all of the profiles for a particular device, and allows him to choose which should be connected (or disconnected).
LocalBluetoothDevice represents a remote Bluetooth device. It contains attributes of the device (such as the address, name, RSSI, etc.) and functionality that can be performed on the device (connect, pair, disconnect, etc.).
LocalBluetoothDeviceManager manages the set of remote Bluetooth devices.
LocalBluetoothManager provides a simplified interface on top of a subset of the Bluetooth API.
LocalBluetoothProfileManager is an abstract class defining the basic functionality related to a profile.
SettingsBtStatus is a helper class that contains constants for various status codes.
Framework realted
AtCommandHandler is handler interface for AtParser.
AtCommandResult represent the final response to an AT command line, and also intermediate responses to a single command within a chained AT command line.
AtParser object accepts a new command line to parse via its process() method. It breaks each command line into one or more commands. Each command is parsed for name, type, and (optional) arguments, and an appropriate external handler method is called through the AtCommandHandler interface.
BluetoothCmeError: Constants for extended AT error codes specified by the Handsfree profile.
BluetoothAtPhonebook is helper for managing phonebook presentation over AT commands
BluetoothA2dp is a proxy object for controlling the Bluetooth A2DP Service via IPC. Currently this class provides methods to connect to A2DP audio sinks.
BluetoothA2dpService
BluetoothAudioGateway listen’s for incoming RFCOMM connection for the headset / handsfree service. This class is planned for deletion, in favor of a generic Rfcomm class.
BluetoothClass is static helper methods and constants to decode the device class bit vector returned by the Bluetooth API.
BluetoothDevice manages the local Bluetooth device. Scan for devices, create bondings, power up and down the adapter.
BluetoothDeviceService
BluetoothError: constant error codes
BluetoothEventLoop
BluetoothHeadset is public API for controlling the Bluetooth Headset Service. This includes both Bluetooth Headset and Handsfree (v1.5) profiles. The Headset service will attempt a handsfree connection first, and fall back to headset.
BluetoothHandsfree: Bluetooth headset manager for the Phone app.
BluetoothHeadsetService extends Service, provides Bluetooth Headset and Handsfree profile, as a service in the Phone application.
BluetoothIntent contains constant intens for bluetooth.
Database is A low-level API to the Service Discovery Protocol (SDP) Database.
HeadsetBase is the base RFCOMM (service) connection for a headset or handsfree device.
RfcommSocket implements an API to the Bluetooth RFCOMM layer. An RFCOMM socket is similar to a normal socket in that it takes an address and a port number. The difference is of course that the address is a Bluetooth-device address, and the port number is an RFCOMM channel.
ScoSocket: Simple SCO Socket. Currently in Android, there is no support for sending data over a SCO socket – this is managed by the hardware link to the Bluetooth Chip. This class is instead intended for management of the SCO socket lifetime, and is tailored for use with the headset / handsfree profiles.
发表评论
-
1123456
2012-02-08 11:41 851 -
Android 4.0 编译全程...
2011-11-18 13:35 9642进过几天的等待,几经波折终于把android 4.0 的代码下 ... -
Android 4.0 亮点之WI-FI Direct
2011-11-15 20:01 8750Wi-Fi Direct 来自官网: Android ... -
Android 4.0 源码下载中....
2011-11-15 11:02 8471经过3.0+ 版本不开源,终于等到4.0的开源,也可以看看4. ... -
Android RIL CDMA分支总结(1)
2011-05-16 21:36 4781Android RIL CDMA分支总结 1. CDM ... -
Android APN的设置问题
2011-03-18 13:08 2317Android APN的设置问题 原创作品,允许转 ... -
Android应用程序获得root权限
2011-03-16 11:17 3902Android应用程序获得root权限 原文:(htt ... -
eclipse查看android源码工程(附件)
2011-03-11 13:47 3884eclipse查看android源码工程(附件) 网上 ... -
快速体验Android 2.3
2010-12-07 10:21 1566由于Google目前只是开放了Android 2.3的源 ... -
Google 正式发布Android 2.3 -姜饼来了
2010-12-07 09:58 934最值得期待的视频通话功能。动起来吧~ -
Android Launcher解读之一AndroidManifest.xml
2010-11-29 16:50 0AndroidManifest.xml是何物?它在And ... -
android linux 基础知识总结
2010-09-06 11:03 0android linux 基础知识总结 (很好,很强大 ... -
Android源码下“系统级开发”——Settings例子
2010-09-04 13:50 9354在Android开发过程中,通常会遇到有很多隐藏的 ... -
PC机上体验Android x86操作系统
2010-09-03 13:15 7777Android X86是一款支持x86硬件平台上 ... -
透过HAL(硬件抽象层)看顶层API是如何访问硬件
2010-08-07 15:01 14985文章导读:HAL硬件抽象层的实现及 ... -
Android应用程式编译成系统程序
2010-08-05 22:22 6989Android应用程式编译成系统程序简介 简 ... -
android.编译程序的模板.android.mk.txt
2010-08-03 00:31 1540# 编译动态库的模板: #Test S ... -
android.源码启动模拟器
2010-08-02 13:47 6373Android.源码中启动模 ... -
在Linux下Android编译中修改Java的环境
2010-07-31 16:44 2677Android 在编译过程中需要用到Java Versi ...
相关推荐
安卓Android源码——Bluetooth.rar
Android应用源码之Bluetooth_应用
android 自带的Bluetooth.apk源代码
这是本人在研究安卓蓝牙模块的时候,自己整理的bluetooth框架相关知识点,android顶起。
源码参考,欢迎下载
android4.2蓝牙Bluetooth应用程序源码,谷歌官方的源码,对蓝牙感兴趣的可以下载下来仔细研究和修改。
在Linux挂着代理弄下来的,费了点劲,在这分享。需要的请带走。
已经在使用。已经在使用。已经在使用。已经在使用。已经在使用。
android source code -Bluetooth: 对于android 源码的分析很有用,此处是Bluetooth的android 源码。
可用的安卓蓝牙代码
mtk 6577等 的android平台, bluetooth.apk源代码。和android自带的大不相同。
for android bluetooth demo
此资源为有关Android 蓝牙的相关内容介绍,源码包括的内容主要有:如何打开蓝牙服务,如何寻找蓝牙设备,如何进行设备之间的通信。
源码里面有Bluetooth4_3/BLEDemo/Android_Lightblue.apk三个.前两个是BLE的demo。BLEDemo这个功能较Bluetooth4_3多一些,有兴趣的可以都看下。Android_Lightblue.apk是Android版的lightblue,在进行ble开发的时候用...
Android应用源码之Bluetooth.zip项目安卓应用源码下载Android应用源码之Bluetooth.zip项目安卓应用源码下载 1.适合学生毕业设计研究参考 2.适合个人学习研究参考 3.适合公司开发项目技术参考
如果您有android源码,并像分析蓝牙源码模块的简单内容,可以看看此文档,这只是简单的ppt文档
包涵几乎所有安卓原生应用源码 BlueTooth 蓝牙程序 Browser 原生浏览器 Calculator Camera Contacts 通讯录 DeskClock 桌面时钟 Email 电子邮箱程序 Gallery Launcher2 Music ...Settings android设置
蓝牙与平板的正常通信、数据正常显示与实时刷新
基于android的蓝牙控制小车控制端,源码,eclipse编译下载到Android 2.3.3手机上,运行成功!用户可以根据自己的手机自行配置,重新编译下载即可。