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