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