Samsung-SAP framework missing in build options for Tizen 4.0 and 6.0

Hi developers,

I’m new to developing Tizen applications and the developer.samsung.com website shows we need the samsung-sap framework for developing companion applications. I want to build these Natively (in C). I noticed the 2.3.2 Tizen build does in fact support this, and was wondering how to get support for 4.0 or 6.0 too, as I can not enable the samsung-sap framework in the C/C++ build settings as shown on the website.


Above, is the 2.3.2 build using the import project functionality from the Tizen Docs sample application.
Below, is a self-configured project for Tizen 4.0.

Searching for “samsung-sap” here, of course, does NOT yield any results.

Many thanks in advance and with kind regards,

Andreas

Hello Andreas,
Welcome to the community!
Did you check sample projects of version 4.0 from Tizen Studio instead of your self-configured one? Doesn’t that show the SAP framework?
If the template projects do then you should check with your configuration.

Hi ssaha,

Thank you for your reply! I did check the sample projects, unfortunately none of these use the samsung-sap framework. Creating a Tizen 2.3.2 template in Tizen Studio allows for selection of samsung-sap and samsung-extension, however these do not show in Tizen 4.0 and Tizen 6.0. I have not checked version 3.0, as I had not installed that version yet. I did download the sample SAP projects from the aforementioned site, after which I imported one. It defaulted to Tizen 2.3.2 and showed the samsung-extension and samsung-sap frameworks activated. Strange thing is, I just now tried converting this sample project to Tizen 4.0, which gave an error (‘permission denied’), and now both samsung-extension and samsung-sap frameworks are gone from the list of that project. After clicking on build project for this, I get errors and the frameworks are NOT added back.
When building my own Tizen 2.3.2 project, I can select the samsung-extension and samsung-sap frameworks. When I then convert this to a Tizen 4.0 project, the frameworks disappear from the list and the app will give include errors for the sap.h file (and possibly more). After then converting this back to Tizen 2.3.2, the frameworks appear again, boxes being unchecked. Is the Samsung Accessory Protocol (SAP) just not supported at all above Tizen 2.3.2? I could try and develop my application in Tizen 2.3.2 although I’d rather use the version my own Galaxy Watch is at (4.0.7) than an extremely outdated version.

Thanks in advance for your reply and with kind regards,
Andreas

Hello,
SAP will be supported in Tizen 4.0 target device(not emulator) and not be supported in Tizen 6.0.
Thanks

Hi @20auto38 ,

Thank you very much for your reply! Do you know when support for 4.0 will come out, and if there are any alternatives to SAP for 6.0?

Thanks again for your reply,
Andreas