maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   problem with the profile API's? (https://talk.maemo.org/showthread.php?t=34578)

mismael 2009-11-16 17:35

problem with the profile API's?
 
hello ,
i want to get the profile of N900 so i used the following code

Code:

#include <hildon/hildon.h>
#include <libprofile.h>

int main(int argc, char *argv[]) {
char * str = profile_get_profile();
printf(str);
 
    return 0;
}

but when i run it on the scratchbox it type the current profile but when i run it on the N900 device it does not type any thing
can you help me?


All times are GMT. The time now is 12:03.

vBulletin® Version 3.8.8