Re: Support for Samsung SPH-A640
"Stephen Wood" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Allan: I have checked in your code. Please rename your copies of the 640a code and do an update in order to test it out. I made a guess at what p_samsungspha640.p should look like. If you need to make changes, edit that file and use protogen.py to recreate p_samsungspha640.py. I haven't looked at com_samsunspha640.py much yet, but it looks like it has a lot of code duplicated from other phones. So I will try to modify it to inherit code from the A620. But in the mean time I wanted to check it in so that you can test it. Stephen On Fri, May 9, 2008 at 3:38 AM, Allan Slawik <[email protected]> wrote: > > > The profile I created for the Samsung SPH-A640 was created by merging the > phonebook functions from the a460 with the ringtone, image etc. functions > from the Samsung a620. My knowledge of both python and this project is > limited, so you might want to have someone with more experience with the > project look over the code. I'm unfamiliar with how the p_phonename.p and > p_phonename.py works. I've included the p_phonename.py file which, according > to the code should be generated automatically, but I couldn't find how to do > this from the source file. > > The files can be found here: http://s87762315.onlinehome.us/spha640.zip > > The com_samsungspha640.py and p_samsungspha640.py files are new. The only > thing that has been changed in ___init___.py are lines 344-348 which > includes the necessary entry for the a640. > > I've tested the files on my win32 system and reading/writing works for Todo, > Memo, Calendar, Images, camera, and ringtones. > The phonebook reads properly, with the sole exception being the phone > numbers are not assigned to the proper category (Home, Cell, Office etc.). > Writing to the phonebook does not currently work and has been disabled. > > Let me know what needs to be tested and/or modified. > > Allan > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/