简体   繁体   English

如何在 TIzen IDE 中安装 Tizen.NET NuGet package?

[英]How install Tizen.NET NuGet package in TIzen IDE?

I'm trying to develop a simple app on Tizen that uses the accelerometer.我正在尝试在 Tizen 上开发一个使用加速度计的简单应用程序。

https://developer.samsung.com/tizen/blog/en-us/2019/04/15/how-to-use-sensors-on-a-galaxy-watch https://developer.samsung.com/tizen/blog/en-us/2019/04/15/how-to-use-sensors-on-a-galaxy-watch

states:状态:

To use sensor features on Galaxy Watch and other wearable applications, refer to the Tizen.NET NuGet package.要在 Galaxy Watch 和其他可穿戴应用程序上使用传感器功能,请参阅 Tizen.NET NuGet package。 The Tizen.Wearable.CircularUI provides the Xamarin.Forms extension controls, which are used for wearables. Tizen.Wearable.CircularUI 提供了用于可穿戴设备的 Xamarin.Forms 扩展控件。

Clicking the link "Tizen.NET NuGet package" navigates to:单击链接“Tizen.NET NuGet 包”导航到:

https://developer.samsung.com/tizen/About-Tizen.NET/Tizen.NET.html https://developer.samsung.com/tizen/About-Tizen.NET/Tizen.NET.html

But it doesn't contain instructions on how to install?但它不包含有关如何安装的说明?

I'm just learning how to use Tizen and C and not sure how to install the package.我只是在学习如何使用 Tizen 和 C,但不确定如何安装 package。 Should the "Tizen.NET NuGet package" in the Tizen package manager be available at https://developer.samsung.com/tizen/About-Tizen.NET/Tizen.NET.html ? Should the "Tizen.NET NuGet package" in the Tizen package manager be available at https://developer.samsung.com/tizen/About-Tizen.NET/Tizen.NET.html ?

You've tagged c and c++ however all linked materials use .NET and c#.您已标记 c 和 c++ 但是所有链接的材料都使用 .NET 和 Z240AA2CEC4B29C56F3BEE520A。

It looks like you want to use .NET so you'll need Visual Studio with Tizen plugin installed.看起来你想使用 .NET 所以你需要安装了Tizen 插件的 Visual Studio。 Then you should create.Net project from template .然后你应该从 template 创建 .Net 项目 It will have Tizen.NET NuGet installed and you'll be able to follow sensors tutorial.它将安装 Tizen.NET NuGet,您将能够按照传感器教程进行操作。

If instead you really wanted to use c you'll need Tizen Studio and follow this tutorial .相反,如果您真的想使用 c 您将需要 Tizen Studio 并遵循本教程

Simply,简单地,

  • Tizen Studio => C/C++ application, Web application Tizen Studio => C/C++ 应用程序,Web 应用程序
  • Visual Studio + Tizen Plugin + Base-SDK (included in Tizen Studio) => C# application Visual Studio + Tizen 插件 + Base-SDK(包含在 Tizen Studio 中)=> C# 应用程序

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

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