Question
I recently installed Tizen for Visual Studio with all necessary tools including the baseline SDK and emulator. When starting a new project and attempting to use the Tizen.CallManager namespace, Visual Studio 2017 fails to detect the API and gives an error that the namespace "using Tizen.CallManager" is not found.
How can I resolve this issue?
Answer
Problem Understanding
The user is encountering a namespace recognition issue when trying to use Tizen-specific APIs in a Visual Studio project. The core problems are:
- Potential confusion between different Tizen API types (.NET vs Native vs Web)
- Incorrect project type selection for platform-specific code
- Possible misunderstanding of available namespaces in Tizen FX API
Solution Methods
-
Verify API Availability:
- Check the official Tizen FX API documentation to confirm the correct namespace for call-related functionality (Tizen.Telephony instead of Tizen.CallManager)
- Ensure you're using the appropriate API reference for your development approach (.NET, Native, or Web)
-
Project Structure Correction:
- Platform-specific code must be written in the Tizen Platform project, not in the shared/portable codebase
- Create or use an existing Tizen platform-specific project for your API calls
-
Development Environment Setup:
- Confirm all required Tizen extensions and SDK components are properly installed
- Verify Visual Studio is configured correctly for Tizen development
Code Examples
// Correct namespace for telephony functionality
using Tizen.Telephony;
// Example usage in a Tizen platform project
public class TelephonyExample
{
public void MakeCall()
{
// Implementation using Tizen.Telephony APIs
}
}
Additional Tips
- Always refer to the latest documentation on samsungtizenos.com for accurate API references
- Review sample applications to understand proper project structure and API usage
- Ensure your development environment matches the requirements for your target Tizen version
- Remember that platform-specific code cannot be used in portable class libraries