About the 2nd Efforts Competition yet, some good applications deserve a mention, one of them is GeekScape.
GeekScape is an adventure single player game which the player (geek) should get out of a room to win. It’s not that easy. Items are hidden and the player needs to find them to open the door.
GeekScape is under GPL license and it was developed using Qt by the Zagaia team. The developers have concerned about the creation of new scenarios and allows it through editing a single xml file.
The executable file can be found here and the source code here.
Sometimes is necessary to open a browser with a URL from your Maemo application. There are two ways to do so: using libosso rpc functions or hildon mime.
An example with hildon mime is following: GError* error;
/*Creating a default action for a URL with just the scheme.
* If you would like to work with the mime type,
* use hildon_uri_get_default_action_by_uri instead.*/
HildonURIAction* action = hildon_uri_get_default_action(URL, &error);
/*Open the URL with the application associated with the given
* action. A DBUS signal is sent to the browser to open the URL */
hildon_uri_open(URL, action, &error);
The code below depicts an example with libosso: osso_context_t *osso_context;
/*Create the osso context for the browser application.*/
osso_context = osso_initialize("publishr", "0.6.1", FALSE, NULL);
/*Call the given function.*/
osso_rpc_run(osso_context, "com.nokia.osso_browser","/com/nokia/osso_browser/request",
"com.nokia.osso_browser","load_url", NULL, DBUS_TYPE_STRING, URL, DBUS_TYPE_INVALID);
/*Free all memory allocated*/
osso_deinitialize(osso_context);
Both solutions use DBUS to connect the application with the browser. If you’re not familiar with the DBUS services, above atributes could be found at /usr/share/dbus-1/services (service, object_path, interface) and at /usr/share/applications/hildon/ (method’s signature).
You can download entire examples code with GTK here. You can also download a example code with PyGTK just using the libosso here.
Pindaíba Financial Calculator is a financial calculator for Maemo written in Python. Its Graphical User Interface was built using Python-EFL (which can be downloaded here). Pindaíba also provides a python library for financial math operations.
Hello all, this is the the welcome post of the maemo effort blog. We intend to add a lot of maemo related stuff on the next few months. It is our goal to blog here comments about cool applications developed by undergraduate students colaborating with the effort and tips & tricks about maemo development. Make yourself free to send us comments and articles to publish here. Suggestions and critics are also welcome.