Stephen Wood
2004-05-12 23:25:24 UTC
getfundamentals returns listings of wallpaper and ringers available on
the phone. These listings are arrays, where the index of the array is
apparently the number that you need to tell the phone (in the pbentry
packet in the lg case) in order to get it to use the wallpaper or ringer
associated with that index.
Also it is my understanding, that every file that is going to be
retrieved from the phone in the getwallpapers or getrintones methods,
must be returned in the indexes made by getfundamentals.
Assuming, that I have got the above right, the problem with the Sanyo
phones is that not all of the available ringers and wall papers can be
assigned from BitPim. This because either,
1. I haven't figured out the protocol to get the index for some files,
or how to tell the phone to use that file.
or
2. There is simply no way for some files to be assigned to phone book
entries. I believe that this is the case for camera pictures. (Camera
pictures can be assigned to phonebook entries using the phone itself.
What happens is that the act of assigning a camera picture to someone
causes a small version of the file to be made.)
So for these files that I don't know how to assign, but still want to
allow downloading, I would like to signal to OnListRequest in
wallpaper.py and ringers.py, not to publish them to the phonebook entry
editor.
What is the best way to do this? It seems the choices are either to
use negative very large indexes, or to add an attribute like
'notselectable' to filenames I don't want to showup in the phonebook
entry editor. Suggestions?
Stephen
the phone. These listings are arrays, where the index of the array is
apparently the number that you need to tell the phone (in the pbentry
packet in the lg case) in order to get it to use the wallpaper or ringer
associated with that index.
Also it is my understanding, that every file that is going to be
retrieved from the phone in the getwallpapers or getrintones methods,
must be returned in the indexes made by getfundamentals.
Assuming, that I have got the above right, the problem with the Sanyo
phones is that not all of the available ringers and wall papers can be
assigned from BitPim. This because either,
1. I haven't figured out the protocol to get the index for some files,
or how to tell the phone to use that file.
or
2. There is simply no way for some files to be assigned to phone book
entries. I believe that this is the case for camera pictures. (Camera
pictures can be assigned to phonebook entries using the phone itself.
What happens is that the act of assigning a camera picture to someone
causes a small version of the file to be made.)
So for these files that I don't know how to assign, but still want to
allow downloading, I would like to signal to OnListRequest in
wallpaper.py and ringers.py, not to publish them to the phonebook entry
editor.
What is the best way to do this? It seems the choices are either to
use negative very large indexes, or to add an attribute like
'notselectable' to filenames I don't want to showup in the phonebook
entry editor. Suggestions?
Stephen