[maemo-developers] Finding path of file / folder present on emulator

From: Pallavi Kandhare pallavi.kandhare at yahoo.com
Date: Thu May 20 11:23:22 EEST 2010
Hi Daniil,
I tried using suggested APIs 

  G_USER_DIRECTORY_DOCUMENTS,
  G_USER_DIRECTORY_PICTURES,
  G_USER_DIRECTORY_VIDEOS 

const char *dir = g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS);
if (dir == NULL)
    printf("NULL");
else
    printf("%s",dir);

But every time it returns me NULL value. It means the logical id isnt found. But these folders are present on N900 emulator

Pls suggest if any thing else needs to be done?

Thanks


      

More information about the maemo-developers mailing list