|
1
|
gnokii is a tool allowing Nokia cellphone users to browse its content, when connected to a computer through a cable, IR or bluetooth. This simple script brings lots of automatization of this process.
This bunch of lines is only a germ of what one can do using gnokii. gnokii --help should explain everything. A few words ad. paths: Nokia phones use drive letters A: for internal memory and B: for sim card memory. You can browse whole directory tree using --getfilelist: $ gnokii --getfilelist 'A:*.' GNOKII Version 0.6.12 Filelist for path A:*.: predefgallery predefhiddenfolder predefinfofolder predefomadm serviceapplication predeffilerecieved predeffiledownload predefmessages predefsyncml HTTP FIM_fixed_id FIM_perm_id WARNING: No error checks is performed! If the connection with a phone is broken the program might fail during any read*() calls, but it also may not and continue with random values. If you require to check the connection status first, you may add a method for checking connection status by e.g. executing os.system("gnokii --identify") and analyze the return code (however it doesn't always work). |
1 comment
Add a comment
Sign in to comment

Download
Copy to clipboard

A python bind already exists. a couple of the Dev's on Gnokki didn't like their direction so they split and made "Gammu"
They then wrote python binds for it to make making the GUI very easy
http://cihar.com/gammu/python/