Trees | Index | Help |
|
---|
Package phones :: Module com_lgpm225 :: Class Phone |
|
LGIndexedMedia
--+ |LGPhonebook
--+ |object
--+ | | |Phone
--+ |RealBrewProtocol
--+ |Phone
--+ | Phone
Phone
,
Phone
Method Summary | |
---|---|
Calls all the constructors and sets initial modes | |
Return a phonebook entry in BitPim format. | |
get_content_file(self,
key)
| |
This phone does not provide ringtone and image info for contacts in the regular packets so we have to read the filesystem directly | |
Gets information fundamental to interoperating with the phone and UI. | |
Read an index file | |
Returns the contents of media as a dict where the key is a name as returned by getindex, and the value is the contents of the media | |
Gets the media (wallpaper/ringtone) index | |
Reads the phonebook data. | |
getphoneinfo(self,
phone_info)
| |
getringtoneindices(self,
results)
| |
getringtones(self,
result)
| |
getwallpaperindices(self,
results)
| |
getwallpapers(self,
result)
| |
make_new_media_entry(self,
entry,
index,
type)
| |
Creates pbentry object | |
Build a GCD file for filename | |
Build a JAD file for filename | |
This phone does not provide ringtone and image info for contacts in the regular packets so we have to write the filesystem directly | |
savegroups(self,
data)
| |
Actually saves out the media | |
Saves out the phonebook | |
saveringtones(self,
results,
merge)
| |
savewallpapers(self,
results,
merge)
| |
syncbegin(self)
| |
syncend(self)
| |
Inherited from Phone | |
(Class method) | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from Phone | |
Raises an alert in the main thread | |
| |
| |
| |
| |
Log a message | |
Log some data with option data object/class for the analyser | |
Update the progress meter | |
Raise a comms DeviceNeedsAttention Exception | |
| |
Read the specified filename and bind it to the object class | |
Ensure the phone is in the right mode | |
Writhe the object into the file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from RealBrewProtocol | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from LGPhonebook | |
|
Class Variable Summary | |
---|---|
str |
brew_version_file = 'ams/version.txt'
|
str |
brew_version_txt_key = 'ams_version.txt'
|
tuple |
builtinimages = ('Spectrum', 'Speed', 'Drops', 'Country ...
|
tuple |
builtinringtones = ('Tone 1', 'Tone 2', 'Tone 3', 'Tone ...
|
str |
desc = 'LG PM225'
|
str |
helpid = 'phone-lgpm225.htm'
|
tuple |
imagelocations = ((1536, 'setas/dcamIndex.map', 'Dcam/Wa...
|
str |
my_model = 'PM225'
|
tuple |
ringtonelocations = ((4352, 'setas/voicememoRingerIndex....
|
str |
serialsname = 'lgpm225'
|
Inherited from Phone | |
str |
esn_file = 'nvm/$SYS.ESN'
|
str |
esn_file_key = 'esn_file'
|
str |
lgpbinfo_key = 'lgpbinfo'
|
str |
ringerindexfilename = 'dloadindex/brewRingerIndex.map'
|
str |
wallpaperindexfilename = 'dloadindex/brewImageIndex.map'...
|
Inherited from Phone | |
NotImplementedType |
getcallhistory = NotImplemented
|
NotImplementedType |
getmemo = NotImplemented
|
NotImplementedType |
getplaylist = NotImplemented
|
NotImplementedType |
getsms = NotImplemented
|
NotImplementedType |
gett9db = NotImplemented
|
NotImplementedType |
gettodo = NotImplemented
|
str |
MODEMODEM = 'modemodem'
|
str |
MODENONE = 'modenone'
|
Inherited from RealBrewProtocol | |
str |
brewterminator = '~'
|
str |
MODEBREW = 'modebrew'
|
Inherited from LGPhonebook | |
str |
MODEPHONEBOOK = 'modephonebook'
|
str |
pbterminator = '~'
|
Instance Method Details |
---|
__init__(self,
logtarget,
commport)
Calls all the constructors and sets initial modes
|
extractphonebookentry(self, entry, fundamentals)Return a phonebook entry in BitPim format. This is called from getphonebook. |
get_phonebook_media(self, pbook, fundamentals)This phone does not provide ringtone and image info for contacts in the regular packets so we have to read the filesystem directly |
getfundamentals(self, results)Gets information fundamental to interoperating with the phone and UI. Currently this is:
|
getindex(self, indexfile)Read an index file
|
getmedia(self, maps, result, key)Returns the contents of media as a dict where the key is a name as returned by getindex, and the value is the contents of the media
|
getmediaindex(self, builtins, maps, results, key)Gets the media (wallpaper/ringtone) index
|
getphonebook(self, result)Reads the phonebook data. Thegetfundamentals information will already
be in result.
|
makeentry(self, counter, entry, data)Creates pbentry object
|
makegcd(self, filename, size)Build a GCD file for filename |
makejad(self, filename, size)Build a JAD file for filename |
save_phonebook_media(self, pb_entries)This phone does not provide ringtone and image info for contacts in the regular packets so we have to write the filesystem directly |
savemedia(self, mediakey, mediaindexkey, results, merge, reindexfunction)Actually saves out the media
|
savephonebook(self, data)Saves out the phonebook
|
Class Variable Details |
---|
brew_version_file
|
brew_version_txt_key
|
builtinimages
|
builtinringtones
|
desc
|
helpid
|
imagelocations
|
my_model
|
ringtonelocations
|
serialsname
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:36 2008 | http://epydoc.sf.net |