Tizen cannot create file in native service application

421 Views Asked by At

I am developing a wearable application for Samsung Gear Fit 2 in Tizen 2.3. The app is hybrid type, where I need to write the sensor data obtained in native application into a file. However, file pointer is null and new file is not created. 'errno' shows the message "Permission Denied". I have checked the permissions for creating file. Also, the same code runs perfectly on Gear S2 without any error

1

There are 1 best solutions below

2
On

Have you set right permissions ? and in which path are you writing ?