Re: bitpim architecture overview?
Sean Burke <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Steven, A good entre into the bitpim interface is the CLI. That will give you file system level access but is abstract enough to be more or less model agnostic. Best, Sean Steven J. Owens wrote: > Hi folks, > > Bitpim looks pretty nifty. I'm working on a project to prototype > a touchscreen kiosk that uses bluetooth to push ringtones and > wallpapers, etc, to cell phones. I'm coding it in python, using > PyBluez, but my biggest blank spot in the design is that there doesn't > seem to be a standard way to download ringtones, etc. Imagine my > delight when a friend sent me a pointer to bitpim! > > I've been browsing the api docs at http://www.bitpim.org/apidoc/ > trying to get a sense of how bitpim fits together. Does an overview > document exist anywhere (other than the code itself, of course) that > gives a sort of walkthrough of a bitpim session at the class level, > from the user running bitpim at the start, to the data being written > to the phone at the other end? > > For example, if I assume bp.py is the starting point, I'd write: > > bp.py is the main entry point to BitPim. > bp.py parses any command-line options and then instantiates and invokes either: > an error dialog if the options are garbled > bp_cli (bp_cli.py) for command-line interface (not currently supported) > bitfling.bitfling (bitfling.py) for xml-rpc mode > gui (gui.py) for GUI mode > > gui.py is the main GUI code for BitPim. > gui.py contains several class definitions > gui.py's run() method instantiates and returns class MainApp, defined in gui.py > ...etc... > > > I'm not that interested in the GUI aspects in this request (first > because I'm more interested in using the underlying code that actually > does the heavy lifting, and second because there are already good > resources out there on python GUI development). But at some point the > user clicks a button and logic classes are instantiated and invoked, > and at some point classes are used to send data to the phone. Those > are the parts I'm really interested in. > > Does something like this exist already? > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php