简体   繁体   English

Tizen无法在本机服务应用程序中创建文件

[英]Tizen cannot create file in native service application

I am developing a wearable application for Samsung Gear Fit 2 in Tizen 2.3. 我正在Tizen 2.3中为Samsung Gear Fit 2开发可穿戴应用程序。 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". “ errno”显示消息“权限被拒绝”。 I have checked the permissions for creating file. 我已经检查了创建文件的权限。 Also, the same code runs perfectly on Gear S2 without any error 同样,相同的代码可以在Gear S2上完美运行,没有任何错误

Have you set right permissions ? 您设置了正确的权限吗? and in which path are you writing ? 你在写哪条路?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM