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