jfwfreo at tpgi
Oct 28, 2011, 9:58 AM
Post #1 of 6
I have just released libconnui-dev-0.1 and operator-name-cbs-widget-0.1
announcing libconnui-dev-0.1 and operator-name-cbs-widget-0.1
they can be found at http://www.cncmods.net/files/libconnui-dev-0.1.zip and
libconnui-dev-0.1 is a set of reverse-engineered declarations for the
closed-source libconnui and libconnui_cell libraries (which are used for
various things by connectivity status bar widgets, control panels and other
things). I tried to reverse engineer as many of the "interesting-looking"
functions as possible.
Obviously not all of them are tested yet (I dont particularly want to test
connui_cell_emergency_call for example although
connui_cell_emergency_get_numbers works :) but I tested a few of the ones
that were easy to test. Some of them are also being used by
To install libconnui-dev-0.1 you need to copy libconnui.so.0.0.0 and
libconnui_cell.so.0.0.0 from your phone into the /usr/lib of your
Then you need to unzip libconnui.zip into the scratchbox target location
(so that the files end up in /usr/include/* and /usr/lib/*)
Then you go to /usr/lib and do these commands:
ln -s libconnui.so.0.0.0 libconnui.so.0
ln -s libconnui.so.0 libconnui.so
ln -s libconnui_cell.so.0.0.0 libconnui_cell.so.0
ln -s libconnui_cell.so.0 libconnui_cell.so
To use it, just pass libconnui-dev to pkg-config to get the right
include/lib paths and libraries.
Then #include <libconnui.h> in your code.
operator-name-cbs-widget-0.1 is a replacement for the standard operator
name home screen widget. It displays the operator name using an algorithim
that is almost identical to the stock nokia algorithim (it doesn't handle
some extra data related to roaming, I am still working on figuring out what
the nokia code is doing). It also displays any cell broadcast SMS messages
it recieves on channel 50 (i.e. the cell tower name, if the tower sends
one) alongside the operator name. (although I plan to make the tower name
display optional via an option in the currently-empty control panel). You
will need the libconnui-dev stuff set up if you want to compile
If anyone has any feedback on my code (or if you have found bugs in it)
please let me know so I can make my code better :)
If anyone starts playing with or using libconnui-dev, I would also be
interested to know.
Oh and if anyone wants a precompiled .deb of operator-name-cbs-widget, let
me know and I will make one available.
maemo-developers mailing list
maemo-developers [at] maemo