android4.4 bluetooth OPP 之BluetoothOppSendFileInfo
来源:互联网 发布:淘宝违规处罚考试 编辑:程序博客网 时间:2024/04/30 03:39
BluetoothOppSendFileInfo类主要用来存放发送文件的信息。
其成员变量 主要是如下:
/** readable media file name */
public final String mFileName;
/** media file input stream */
public final FileInputStream mInputStream;
/** vCard string data */
public final String mData;
public final int mStatus;
public final String mMimetype;
public final long mLength;
成员函数 public static BluetoothOppSendFileInfo generateFileInfo(Context context, Uri uri,String type)用来产生BluetoothOppSendFileInfo ,首先会对文件的一些信息做判断,符合要求之后会用mInputStream和文件关联。文件的信息解析判断由ContentResolver实现,此处不再介绍。
0 0
- android4.4 bluetooth OPP 之BluetoothOppSendFileInfo
- android4.2 蓝牙 bluetooth第4节:OPP文件传输
- Android4.4 之Bluetooth整理
- Android4.4 之Bluetooth整理
- Android4.4 Bluetooth enble
- Bluetooth OPP Profile
- Bluetooth Opp发送文件
- android4.4 bluetooth 配置文件分析
- android4.4 bluetooth 配置文件分析
- android 蓝牙 bluetooth OPP文件传输
- 有关Android Bluetooth - OBEX OPP文件传送
- Android Bluetooth opp package 学习笔记
- android -- 蓝牙 bluetooth (四)OPP文件传输
- android -- 蓝牙 bluetooth (四)OPP文件传输
- android -- 蓝牙 bluetooth (四)OPP文件传输
- 有关Android Bluetooth - OBEX OPP文件传送
- 兔子-蓝牙 bluetooth (四)OPP文件传输
- android -- 蓝牙 bluetooth (四)OPP文件传输
- get与post的区别
- Sample 5.16:textin1.cpp
- 系统分区(hd,sdax)
- 网络常用词汇比喻式精解
- mysql开启创建函数的功能
- android4.4 bluetooth OPP 之BluetoothOppSendFileInfo
- Sample 5.17:textin2.cpp
- 系统分区(hd,sdax)
- Sample 5.18:textin3.cpp
- android的apk之反编译
- Sample 5.19:textin4.cpp
- Android SQLite数据库判断某张表是否存在的语句
- Android笔记—界面如何设置全屏化
- 作为程序员必须知道的编程语言编年史