write txt file in tizen native app via c
By Vikram
28 Apr 2015 22:34
English
8 Replies
I create a Tizen Native app, and I want to print some log to a text file, that's i can pull the log out from the device for analyzing. I've do the sample code like below, but seems can't open the file, fopen return NULL.
#include "stdio.h"
FILE *fp = fopen("/opt/usr/apps/org.tizen.test/res/rawdata.txt", "w");
Did anyone can help me? I am in a wrong way?
View Selected Answer
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------