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