Package phones ::
Module com_lgvx10000
|
|
1
2
3
4
5
6
7
8
9
10
11
12 """
13 Communicate with the LG VX10000 cell phone.
14 """
15
16
17 import common
18 import com_brew
19 import prototypes
20 import com_lgvx8800
21 import p_lgvx10000
22 import helpids
23
24
25 parentphone=com_lgvx8800.Phone
33
34
35
36
37
38
39
40
41
42
43 parentprofile=com_lgvx8800.Profile
45 protocolclass=Phone.protocolclass
46 serialsname=Phone.serialsname
47
48 BP_Calendar_Version=3
49 phone_manufacturer='LG Electronics Inc'
50 phone_model='VX10000'
51
52 WALLPAPER_WIDTH = 400
53 WALLPAPER_HEIGHT = 240
54
55 imageorigins={}
56 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "images"))
57 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "video"))
58 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "images(sd)"))
59 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "video(sd)"))
60
61
62 imagetargets={}
63 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "outsidelcd",
64 {'width': 240, 'height': 400, 'format': "JPEG"}))
65 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "wallpaper",
66 {'width': 400, 'height': 240, 'format': "JPEG"}))
67 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "pictureid",
68 {'width': 120, 'height': 100, 'format': "JPEG"}))
69
70 _supportedsyncs=(
71 ('phonebook', 'read', None),
72 ('calendar', 'read', None),
73 ('wallpaper', 'read', None),
74 ('ringtone', 'read', None),
75 ('call_history', 'read', None),
76 ('sms', 'read', None),
77 ('memo', 'read', None),
78 ('phonebook', 'write', 'OVERWRITE'),
79 ('calendar', 'write', 'OVERWRITE'),
80 ('wallpaper', 'write', 'MERGE'),
81 ('wallpaper', 'write', 'OVERWRITE'),
82 ('ringtone', 'write', 'MERGE'),
83 ('ringtone', 'write', 'OVERWRITE'),
84 ('sms', 'write', 'OVERWRITE'),
85 ('memo', 'write', 'OVERWRITE'),
86
87
88 ('t9_udb', 'write', 'OVERWRITE'),
89 )
90 if __debug__:
91 _supportedsyncs+=(
92 ('t9_udb', 'read', 'OVERWRITE'),
93 )
94