Java: 1 package com.example.communication; 2 3 import android.content.BroadcastReceiver; 4 import android.content.Context; 5 import android.content.I....
分类:
移动开发 时间:
2014-08-01 13:28:21
阅读次数:
256
DFU的工作原理,本文主要讲述USB部分的相关工作原理。...
分类:
其他好文 时间:
2014-07-31 20:47:27
阅读次数:
503
adb_usb.ini在adb找不到设备时 转:关于飞思卡尔imx 53系列的adb的不能连接的问题 可能连接不上adb,如下方法解决,步骤描述不愿意看的话,直接使用本文最下面的批处理命令,方法copy粘贴到新建的bat文件里运行,...
分类:
数据库 时间:
2014-07-31 17:27:57
阅读次数:
275
phonegap的拍照插件选择图库中的图片,代码如下:
navigator.camera.getPicture(function(uri){
console.log(uri);//这里得到图片的uri
}, this.failure, {
quality: 70,
destinationType: navigator.camera.DestinationType.FILE_...
分类:
移动开发 时间:
2014-07-31 13:28:36
阅读次数:
398
The volume label for my new USB disk is displayed as capital letters on my home PC although when I formatted this disk (FAT32) on Windows, I used lowe...
分类:
移动开发 时间:
2014-07-31 13:02:26
阅读次数:
344
最近在做烧写工具的优化工作,有一些关于USB的内容需要总结一下其中包括设备的初始化过程和枚举过程。
在枚举的过程中,设备会一直等PC端的状态,当等到reset命令时会对设备进行重新枚举。但是这个reset终端是如何而来呢?
Halt Conditions
A control endpoint may recover from a halt condition upon receiving...
分类:
其他好文 时间:
2014-07-30 20:48:14
阅读次数:
168
方法:private Camera openFrontFacingCameraGingerbread() { int cameraCount = 0; Camera cam = null; Camera.CameraInfo cameraInfo = new Camera.Came...
分类:
移动开发 时间:
2014-07-30 20:11:54
阅读次数:
169
mjpg-streamer 可以通过文件或者是HTTP方式访问linux UVC兼容摄像头。可以在公司,通过访问家里安装的摄像头查看家里的情况,对于有小孩的家长很有帮助。如果刚好手头上一个能安装openwrt带USB接口的路由器,可以使用本文介绍的方法来配置。我现在用的罗技的C270,效果不错。mj...
分类:
其他好文 时间:
2014-07-30 12:06:23
阅读次数:
268
1、首先安卓手机下载软件DriveDroid.apk
2、下载linux镜像文件放手机存储卡存储,放到Download/images/下面
3、打开软件会自动读取这个文件夹下面镜像,也可以在软件里面下载需要的镜像文件
4、软件设置usb连接模式
5、然后手机usb通过数据线连接电脑,电脑选择手机引导,便开始进入linux引导安装界面进行安装,我使用的linux deepin...
分类:
移动开发 时间:
2014-07-30 01:06:12
阅读次数:
276
For bulk and interrupt transfers, the data toggle resets only on Set Configuration, Set Interface, and Clear Feature(Endpoint Halt).For isochronous t....
分类:
其他好文 时间:
2014-07-29 17:10:42
阅读次数:
249