USB accessories. The application can obtain a USB Manager instance and query, manage, and communicate the list of connected devices or accessories.
If the power supply device of Android is used as the USB host, USB device is used. If the peripheral acts as a
Z500 dual-core CPU,CPU speed is 800MHz, memory space 512MB, hard disk space 8GB, the screen is 4.3 inches, the resolution of up to 800x480 pixels, is a no-compromise netbook [2]. However, the VCP08 battery can only support 2 hours of computer operation [1].Word, VCP08 equivalent to a MTK Feature Phone on an XP computer.Figure 8.3 faked picture, a laptop bundled a MTK phone.Courtesy Http://farm3.static.flickr.com/2735/4308553311_a01df766d6_o.pngIs it
Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 001 Device 005: ID 18d1:9025 Bus 001 Device 003: ID 04d9:a06b Holtek Semiconductor, Inc. Bus 001 Device 002: ID 8087:0024 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The information for finding my phone's USB device is:?
1
Bus 001 Device 005: ID 18d1:9025
2. Adding Udev rule informationUdev
processor and Modem are connected using a serial port or USB. To achieve data transmission and control Modem at the same time in a hardware serial port path, the multiplexing protocol (GSM TS07.10) must be implemented ), at the underlying layer, we virtualize two serial ports, one for the CMD channel and the other for the DATA channel. All telephone control channels are on this channel.
RIL, Radio Interface Layer. This layer is a protocol transfer la
need for the ashes of the programmer, the C language bottom-level research and development, as well as the bottom of the Android system, must have in-depth research.Why are there 127 of them? Because the computer hardware was designed to consider the maximum number of USB interface 2 is 8, that is, 128, and itself to occupy one, so a computer hardware limit in theory only support 127
Original: Android Project Combat (45): USB to Serial communication (Ch34xuartdriver)Requirements: USB interface to plug in a hardware, from the hardware to obtain dataFor example : mobile phone USB plug-in hardware a,a through Bluetooth communication to obtain equipment A, B
1.Android Mobile phone driver end:
[GB Version]
File to Modify:alps\mediatek\custom\[chip]\kernel\usb\src\mtk_usb_custom.h
modification:vendor_id
[ICS and JB Version]
File to Modify:alps\mediatek\config\[chip]\init.usb.rc
Modification:sys.usb.vid
2: Computer End
PC Side Please modify the driver of MTK release plus your new vid and PID.
Please modify the Android_
Requirements: USB interface to plug in a hardware, from the hardware to obtain dataFor example : mobile phone USB plug-in hardware a,a through Bluetooth communication to obtain equipment A, B data, as a transit point (can do some data processing) to the data (device A, b generated) to the mobile phone program.Device A
When developing an Android app, it's usually connected to the device and computer via a USB cable, but for some applications that need to use a USB device, this approach is troublesome, and the USB port of the phone is connected to the external
know the IP address of the PC if the Android mobile phone is a client?
Android and PC communication havePort redirectionBecause Android is no longer used, the answer to this question is unclear. Please search for relevant information ;)
If two Android simulators are used fo
To clarify the advantages of MTK in the business model, as well as Android for the future of the MTK mobile phone development will have any impact, first of all to understand the mobile phone from the design, development to production of the entire process. Let's take a look at the cell phone production process first.
My host is very old and it takes several minutes to start an android simulator. But thanks to the fact that there is an android real machine, debugging directly on the Android phone is also a good choice. Next I will introduce how to use Android mobile phones to debug
My host is very old and it takes several minutes to start an android simulator. But thanks to the fact that there is an android real machine, debugging directly on the android phone is also a good choice. Next, I will introduce the steps required to debug android application
Generally, Android applications are connected to devices and computers through a USB data cable. However, this method is troublesome for applications that require USB devices, the USB interface of the mobile phone has been connected to an external
Learning USB status monitoring can be called tangle.
First: no time required (new USB-related APIs for Android)
Check and find that the USB-related content is added to Android, for example, double-click the image to enlarge it ):
650) this. width = 650; "border =" 0 "alt =
Android 4.0+ system Open USB method
1. "Application"-"set"-"General"-"About equipment"-click "Build Number" seven times continuously until prompted "developer mode enabled." -You can see "Developer Options"-"USB Debugging"-"OK" to turn on the "USB debugging" option.
android4.0 Previous version
Android Developers all know that real machine debugging requires connecting the mobile phone to the PC, and then deploying the application to the real machine for installation and debugging. The long USB cable is troublesome, And it is inconvenient to connect the USB interface to other devices. Today, we will introduce
code is to switch to UMS, you can customize to switch to another usb mode, such as MTP. Public void updateState (String state ){
...} Else if (REZEROCMD. equals (state )){
/* When recieve REZEROCMD, it means that PC has installed a proper driver, so can switch to other USB function (UMS )*/
Slog. w (TAG, PC knows me );
MIsPcKnowMe = true;
SetCurrentFunctions (UsbManager. USB_FUNCTION_
First step: View USB Device informationIn terminal input: System_profiler Spusbdatatype can view information for connected USB devicesFor example, my USB information is as follows (part of the content):View the vendor id:0x04e8 on my Android phone, which is a unique identifi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.