Why Google uses MTP instead of USB file transfer on Android 3.
来源:互联网 发布:阿里云开通端口 编辑:程序博客网 时间:2024/06/11 19:53
I am reprinting a post from the Xdev forums on why Google is usingMedia Transport Protocol (MTP) based storage instead of USB storage on Honeycomb (Android 3.0). This of course also pertains to theXoom, which recently went on sale as the first Android 3.0 based tablet.
Forum user Gogol posed these questions:
“-What is the breakdown of that 32GB Xoom internal memory (how many parition (sp), how much space for apps / files)?
- Why Google is using MTP instead of USB file transfer on Honeycomb?”
He received the following response from a Google developer:
“MTP is a big improvement over USB mass storage — for devices with lots of internal memory, a manufacturer no longer needs to come up with some hard partition between the USB mass storage and internal storage. Instead, they are all in one partition, with MTP providing access to the directory of media files that would normally be available through USB mass storage. This means there is no longer a need for apps on SD card for such devices, because what used to be the ‘internal SD card’ is in the same partition as where applications are stored. The storage on your device can be used for either applications or media, depending on what you want to put on it. You aren’t stuck with how much space the manufacturer decided to leave for the two areas.
Oh also this means that the media storage doesn’t need to be unmounted from Android when it is being access through the PC.“
So now we know why: simplification, as well as untying the OS partition from user storage partitions, which is more convienient and more flexible.
A snippet also from Wiki about MTP:
“A main reason for using MTP rather than for example the USB mass-storage device class (MSC) is that the latter operates at the granularity of a mass storage device block (usually in practice, a FAT block), rather than at the logical file level. In other words, the USB mass storage class is designed to give a host computer undifferentiated access to bulk mass storage, such as compact flash, rather than to a file system, which might be safely shared with the target device (except for specific files which the host might be modifying/accessing). In practice, therefore, when a USB host computer has mounted an MSC partition, it assumes absolute control of the storage, which then may not be safely modified by the device without risk of data corruption until the host computer has severed the connection.“
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Update – 21 August 2011: For those interested in how to use MTP on their desktop (Mac & PC) to transfer files to their Android tablet consultthis post.
- Why Google uses MTP instead of USB file transfer on Android 3.
- Why use MTP instead of USB Mass Storage
- android mtp usb
- android的USB for MTP
- Android USB/MTP相关实现
- Android USB/MTP相关代码
- Why Using Sockets instead of Remoting
- MTP and MSC Mode of USB Devices
- MTP模式与USB存储模式(MTP in Android)
- Android file transfer/Upload
- 解剖Android USB MTP 的激活流程
- 解剖Android USB MTP 的激活流程
- 解剖Android USB MTP 的激活流程
- Android 连接USB 默认选中MTP
- Android USB默认连接模式为MTP
- File Transfer&Types Of File Translators
- Why should I use XML instead of HTML?
- Why Use Git Instead of a Legacy Version Control System
- java中final的意义
- 设计模式5:单例模式【创建型】
- string search and match
- Django startproject的问题
- OS开源项目汇总——Wifi扫描,条码扫描,base64等等
- Why Google uses MTP instead of USB file transfer on Android 3.
- gcc编译C++程序
- [转]自相关系数
- 银行业务调度系统
- 接触dwr(参考链接http://www.java3z.com/cwbwebhome/article/article2/2848.html?id=1459)
- centos 6.3 samba及ssh配置
- gcc命令objdump用法
- SWT 的拖放操作,DragSource 和 DropTarget 与剪切板(Clipboard)
- MYSQL LIMIT 用法详解(修正版)