Implement #4121 (Device support for Motorola Droid (Android OS 2.0 smartphone))

This commit is contained in:
Kovid Goyal 2009-12-02 14:08:04 -07:00
parent 84fafe6b93
commit 6bf2b9fad8

View File

@ -17,23 +17,22 @@ class ANDROID(USBMS):
# Ordered list of supported formats # Ordered list of supported formats
FORMATS = ['epub'] FORMATS = ['epub']
VENDOR_ID = [ VENDOR_ID = {
0x0bb4, 0x0bb4 : { 0x0c02 : [0x100], 0x0c01 : [0x100]},
] 0x22b8 : { 0x41d9 : [0x216]},
PRODUCT_ID = [0x0c02, 0x0c01] }
BCD = [0x100]
EBOOK_DIR_MAIN = ['wordplayer/calibretransfer', 'eBooks/import', 'Books'] EBOOK_DIR_MAIN = ['wordplayer/calibretransfer', 'eBooks/import', 'Books']
EXTRA_CUSTOMIZATION_MESSAGE = _('Comma separated list of directories to ' EXTRA_CUSTOMIZATION_MESSAGE = _('Comma separated list of directories to '
'send e-books to on the device. The first one that exists will ' 'send e-books to on the device. The first one that exists will '
'be used') 'be used')
EXTRA_CUSTOMIZATION_DEFAULT = ', '.join(EBOOK_DIR_MAIN) EXTRA_CUSTOMIZATION_DEFAULT = ', '.join(EBOOK_DIR_MAIN)
VENDOR_NAME = 'HTC' VENDOR_NAME = ['HTC', 'MOTOROLA']
WINDOWS_MAIN_MEM = 'ANDROID_PHONE' WINDOWS_MAIN_MEM = ['ANDROID_PHONE', 'A855']
OSX_MAIN_MEM = 'HTC Android Phone Media' OSX_MAIN_MEM = 'HTC Android Phone Media'
MAIN_MEMORY_VOLUME_LABEL = 'Android Device Internal Memory' MAIN_MEMORY_VOLUME_LABEL = 'Android Phone Internal Memory'
SUPPORTS_SUB_DIRS = True SUPPORTS_SUB_DIRS = True