问题标签 [windows-embedded-8.1]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
614 浏览

visual-studio - Windows Embedded 8.1 Handheld 的开发环境要求

本质上,我正在寻找开发 Windows Embedded 8.1 手持应用程序的最低开发环境要求。

更具体地说,并将这个问题保持在一个小的、可回答的范围内,我正在寻找以下信息:

  • 我可以使用哪些操作系统?我需要运行 Windows 8.1,还是可以使用 Windows 8 或更重要的是 Windows 7?(这是我当前的操作系统)
  • 我可以使用的 Visual Studio 最低版本是多少?我需要 2013,还是可以使用 VS 2012 进行管理?(如果我可以使用2012,有什么缺点吗?)

基本上,我当前的设置是带有 Visual Studio 2012 的 Windows 7... 我可以使用它来创建 C# Windows Embedded 8.1 Handheld 应用程序吗?

有关更多信息,我们正在调查在Panasonic Toughpad FZ-E1上开发应用程序的要求

0 投票
1 回答
429 浏览

windows-embedded-compact - 安装 WEC 2013

我在安装 WEC 2013 时遇到了很多不同的问题 - 根据我的选择,它在各个方面都失败了。我尝试从 MSDN 下载所有不同的更新版本 ISO,但它们都以一种或另一种方式失败。许多失败示例之一是此对话框:

共享源对话框

我故意没有在上一个屏幕上选择共享源检查按钮,但安装程序想要安装它。在 DVD 上找不到它。它说单击下载按钮,但下载按钮被禁用。如果我单击“确定”,它只会重新弹出同一个窗口。如果我单击取消,它将中止安装。

安装日志也不是特别有用:

操作系统是安装了 Visual Studio 2013 Professional,Update 4 的 Windows 8.1 Enterprise。如果有人能阐明成功安装 WEC 的“秘诀”,将不胜感激。

0 投票
1 回答
183 浏览

windows - Programmatic file transfer between Windows 8.1 (maybe also Vista and 7) and Windows Embedded 8.1 Industry Pro

I want to copy arbitrary files from a Pokini Tab A5 running Windows Embedded 8.1 Industry Pro to a laptop or desktop computer running anything from Windows Vista to Windows 8.1 (or even 10). This should all happen programmatically or at least in an automatic way (e.g. calling a program from the command line).

Unfortunately, Wi-Fi or Bluetooth is not an acceptable solution for my use case. However, installing software is allowed on both the computer and the Pokini Tab A5. Preferably written in Java but C, C++ and C# is also fine.

My current approach is using this cable (which goes by the name direct link cable, bridge cable, host-to-host and many others) which allows the transfer of files using supported software such as PCLinq5 (provided by the cable itself) or Windows Easy Transfer (deprecated since Windows 8.1). However, both these tools can not be used in programmatic way.

The only thing I found on the web is this project on GitHub but it doesn't include source code at all and doesn't look like it's free software which is basically a must-have for me. I also found this post on Stack Overflow but using WinUSB seems only useful to me when I know the exact protocol used by the hardware built into the cable.

Is using the cable a dead end? – Are there any other approaches?

0 投票
1 回答
310 浏览

windows-embedded-compact - 将应用程序从 Windows Embedded Handheld 6.5 移植到 8.1

我们有一个在 Windows Embedded Handheld 6.5 上运行的 RFID 应用程序,但是现在一些客户要求升级该应用程序以在 8.1 上运行我们还没有这样做,从 MSDN 看来,这两个是建立在不同的平台上的,即 Windows Mobile分别是 6.5 和 Windows Phone 8.1。所以我的问题是我们是否能够移植应用程序,或者我们需要在 Windows Embedded Handheld 8.1 平台上重新编写它。

0 投票
2 回答
74 浏览

c# - 无法访问 Windows 8.1 手机设备上的文件

我正在使用 Json 文件为我的应用程序进行本地存储。在使用 Visual Studio 的模拟器读取和写入文件时,可以正常工作。当我连接设备并尝试在该设备上运行时,我无法访问我的 Json 文件。

我的 json 文件总是设置为内容和复制。

这是我读取文件的尝试语句。我尝试了两种主要方法来访问文件Current.InstalledLocationUri("ms-appx:///). 两者似乎都可以在模拟器中工作,但都不能在设备上工作。

输出窗口显示:

编辑:try catch 循环没有捕获与文件系统访问问题相关的异常。

在单步执行时启动时我失败了StorageFile file = await folder.GetFileAsync("Users.json");

为什么我通过我失败的按钮触发该功能string jsonText = await FileIO.ReadTextAsync(file);

我希望在其上运行我的应用程序的设备正在运行 Windows Embedded 8.1 Handheld update 2(它是 ToughPad Panazonic FZ-E1)。我是否需要针对 windows 8.1 而不是 windows phone 8.1?直到此时控制 POS 条码扫描仪为止,它一直可以与手机一起正常工作。

任何帮助将不胜感激我不知所措。我的问题可能是由设备上的设置引起的吗?

0 投票
0 回答
23 浏览

c# - 在 WEH8.1 上的 gridview 中扩展选定行

我目前正在为 Windows Embedded Handheld 8.1 开发一个应用程序,并且遇到了一个问题,即我在 gridview 中有一个动态扩展的网格。我的问题是,由于这个应用程序在手持设备上运行,我在每一行上使用的空间非常有限。

我想做的是只显示每一行的一般信息,然后当在设备中点击或选择一行时,我想以某种方式扩展该特定行并显示一些更详细的信息,但这似乎是有问题的因为一旦我开始弄乱特定的行高,ItemTemplate 中的每隔一行自然也会增长,从而在网格中留下很多空白。

通常我会使用 DataGrid 和 DataGrid.RowDetailsTemplate,但该控件似乎没有在 WEH8.1 中实现。

所以我的问题是,如果有人对我的问题有解决方案或可能的解决方法?

GridView 上的代码示例如下: