Re: Wrting to a text file in N800 /media/mmc1
- From: sphurti durgade <sphurti study yahoo com>
- To: nisha jain <jain61 gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Wrting to a text file in N800 /media/mmc1
- Date: Wed, 16 Jul 2008 21:23:16 +0530 (IST)
Hi Nisha,
I think here is not problem of writing into file. This problem is
because of file permission. check the permission of the
respective file , does it has writing permission for the user as well? , if not give the write permission.
as I know on maemo if your application creates a file it will not give the write
permission to that same file ...
I also faced bit same problem on Maemo and solved by changing the permission
might be this will solve your problem.
regards
Sphurti
----- Original Message ----
From: nisha jain <jain61 gmail com>
To: gtk-app-devel-list gnome org
Sent: Sunday, 6 July, 2008 9:46:22 AM
Subject: Wrting to a text file in N800 /media/mmc1
Hi All,
Does any Hildon or gtk API supports writing into text files my following
code written in C is not
working for N800 which works perfectly fine under MAEMO ARMEL
mode.........Please if some
one has some information let me know...
Regards,
Nisha
---------- Forwarded message ----------
From: nisha jain <jain61 gmail com>
Date: Jul 5, 2008 4:09 PM
Subject: Re: Wrting to a text file in N800 /media/mmc1
To: maemo-developers maemo org
Cc: gary liquid <liquid gmail com>
Hi All,
I just checked in N800 the following program for writing into a file which
doesn't work.... Any clues what is going wrong? I neither get any error not
it is
creating a file and writing into it.........
#include<stdio.h>
void main()
{
FILE *Gfile;
if ((Gfile = fopen("/media/mmc1/test.txt", "w+")) == NULL)
{
printf("Error in file creation");
}
if(Gfile)
fprintf(Gfile,"%02x",0x10);
fclose(Gfile);
}
Regards,
Nisha
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Get an email ID as yourname ymail com or yourname rocketmail com Click here
http://in.promos.yahoo.com/address
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]