[maemo-developers] osso_initialize: how to make it work?
From: maemo.mexon at spamgourmet.com maemo.mexon at spamgourmet.comDate: Mon Jun 7 22:41:22 EEST 2010
- Previous message: answer phone call via DBUS
- Next message: osso_initialize: how to make it work?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've been scouring the documentation on maemo.org and getting pretty
frustrated. Almost none of it is up to date, and almost none of it is
relevant to a beginning developer. So:
Here is my code:
#include <stdio.h>
#include <libosso.h>
int main(int argc, char* argv[])
{
osso_context_t* osso;
osso = osso_initialize("name.exon.mapcacher", "20100529", TRUE, NULL);
if (!osso)
{
printf("Failed to initialise osso\n");
return 1;
}
return 0;
}
Here is the output:
Failed to initialise osso
Why?
Also, what does "osso" mean? Years of using Maemo, I've never figured
that out.
Is there any genuine getting started tutorial showing how to write a
program that actually works in Maemo? Is there a hello world
application that's less than a hundred lines, with an explanation of
what all those lines are for?
- Previous message: answer phone call via DBUS
- Next message: osso_initialize: how to make it work?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
