标签: windows-rt

安装没有可信证书的.appx?

我有一个Windows 8应用程序,我想部署到我的Windows RT 2.我只有.appx,我想通过绕过商店安装它进行测试.但是,当我运行命令时:

Add-AppxPackage <project.appx>
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

内联脚本返回错误输出:Add-AppxPackage:部署失败,HRESULT:0x800B0109,已处理证书链,但终止于信任提供程序不信任的根证书.(HRESULT异常:0x800B0109)错误0x800B0109:应用程序包中签名的根证书必须可信.*

Google表示我需要证书或PowerShell脚本,但肯定有一种方法可以绕过所有这些.理想情况下,我想安装应用程序进行测试.

否则,解决此问题的最简单方法是什么?我还需要什么.appx,以便我可以安装它没有问题?

windows-applications appx windows-rt

58
推荐指数
4
解决办法
5万
查看次数

25
推荐指数
1
解决办法
3万
查看次数

WWW.responseHeader ["STATUS"]不存在

我已经问过answers.unity3d,但由于没有回复,我也会问这个问题.

我无法在Windows Phone 8和Windows RT 8.1 上的WWW对象上检索响应的http状态(虽然在IOS/Android上可以正常).

www.responseHeader["STATUS"]不存在,隐藏字段_responseHeaderString不包含第一行

HTTP/1.1 200好的


responseHeaderString:

Server: nginx
Date: Wed, 21 Oct 2015 07:44:36 GMT
Last-Modified: Mon, 07 Sep 2015 11:43:46 GMT
Connection: keep-alive
Expires: Fri, 20 Nov 2015 07:44:36 GMT
Cache-Control: max-age=2592000
Cache-Control: public
Run Code Online (Sandbox Code Playgroud)

responseHeader:

{
    "SERVER"       : "nginx"
    "DATE"         : "Wed, 21 Oct 2015 07:44:36 GMT"
    "LAST-MODIFIED": "Mon, 07 Sep 2015 11:43:46 GMT"
    "CONNECTION"   : "keep-alive"
    "EXPIRES"      : "Fri, 20 Nov 2015 07:44:36 GMT" …
Run Code Online (Sandbox Code Playgroud)

unity-game-engine windows-phone-8 windows-rt

14
推荐指数
1
解决办法
465
查看次数

如何使用Visual Studio 2012在Microsoft Surface平板电脑上部署应用程序?

Microsoft表面使用与Windows Phone相同的ARM7.我认为使用Windows Phone 8 SDK和Visual Studio 2012我可以将应用程序部署到平板电脑.当我为Windows Phone开发应用程序时,可以直接在开发人员中心注册手机,使用Visual Studio或应用程序部署工具轻松推送应用程序.

我使用Xcode进行了iOS开发,我可以将目标设备设置为iPad或iPhone.我错过了什么?

windows-phone visual-studio-2012 windows-rt

13
推荐指数
1
解决办法
1万
查看次数

Windows RT和c#

我需要使用C#和XAML开发Metro风格应用程序,它必须在Windows RT设备和完整的Windows 8操作系统上运行.所以我只允许在没有任何.net框架程序集的情况下使用WinRT.我读过这个问题

Microsoft Surface Tablet:为两种设备编写应用程序?

这个非常有用的帖子:http://blogs.msdn.com/b/jasonz/archive/2012/06/12/what-you-need-to-know-about-developing-for-windows-on-arm- woa.aspx,但我仍有疑问:当我甚至创建一个空白的Metro风格应用程序项目时,我有.NET组合地铁风格.我是自己删除它还是做错了什么?如果需要使用像Prism fw移植到WinRT或mvvvm灯的东西,我该怎么办?他们是否允许我仅在原生WinRT上开发WOA应用程序?这些时刻对我来说并不清楚.

你能解释我在ARM上的Windows RT和Windows之间的区别我是否只需要使用WinRT(不带.net)来开发WindowsRT操作系统?

希望您能够帮助我.

c# windows-8 windows-runtime winrt-xaml windows-rt

8
推荐指数
1
解决办法
1万
查看次数

使用"变换"剪切低分辨率图像并将其指定给我的用户控件

我一直在使用Windows 8.1 RT应用程序,用户使用Stretch = Uniform加载图像.图像可以尽可能小并且尽可能大.剪切发生在我的用户控件中,当我点击/按住屏幕/图像时出现我的用户控件.当我点击并按住并将手指/鼠标移动到背景中的图像时,会发生剪切.

我面临的问题是

  1. 每当应用程序第一次在模拟器上加载时,并且在第一次执行点击/单击并按住时,用户控件将显示在屏幕的左上角,然后它将位于我的单击/保持区​​域上方.我需要的是它应该总是出现在我点击并按住的任何地方,每当我点击并按住时.释放手指/鼠标时,它应该崩溃.

  2. 我正在使用中心变换.我希望我的鼠标当前所在的区域(像素)正好显示在用户控件的中心.如果我正在加载480*800甚至更小的小分辨率图像,我的鼠标区域不会进入中央.为了更清晰,试想一下,我点击并按住在角膜人eye.The角膜应显示在用户的控制和区域上方中央和下方应覆盖部分的剩余部分.

    1. 我不希望我的控件超出我的图像边界,如果我的鼠标位于图像的最后一个像素,则应显示图像的某些部分和背景的某些部分.
  3. 我需要旋转控件,如视频中所示 查找下面的完整代码.

MainPage.xaml中

<Page
    x:Class="App78.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App78"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid
        x:Name="LayoutGrid"
        Margin="0,0"
        Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
        Holding="LayoutGrid_Holding"
        PointerMoved="LayoutGrid_OnPointerMoved"
        PointerWheelChanged="LayoutGrid_OnPointerWheelChanged"
        PointerPressed="LayoutGrid_OnPointerPressed"
        PointerReleased="LayoutGrid_OnPointerReleased">
        <Image
            x:Name="BigImage"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Stretch="Uniform"
            Source="http://blog.al.com/space-news/2009/04/iss015e22574.jpg" />

        <local:Magnifier VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="MagnifierTip" Visibility="Collapsed" />
    </Grid>
</Page>
Run Code Online (Sandbox Code Playgroud)

MainPage.xaml.cs中

using System;
using System.Diagnostics;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;

namespace App78
{
    public sealed partial class MainPage : Page
    {
        private …
Run Code Online (Sandbox Code Playgroud)

c# image-processing winrt-xaml windows-rt windows-8.1

8
推荐指数
1
解决办法
187
查看次数

如何在Windows 10应用程序中实施应用程序内购买?

我想在我的Windows通用应用程序中集成应用程序内购买.我在编码前做了以下事情.

  • Windows开发人员中心制作应用程序

  • 加入产品在单边行动计划部分细节,并提交到商店,你可以在看图片

  • 之后,我在我的应用程序中使用以下代码获取应用程序内购买产品列表和购买产品按钮.我也使用CurrentApp而不是CurrentAppSimulator在我的代码中,但它是异常的.
private async void RenderStoreItems()
    {
        picItems.Clear();

        try
        {
            //StoreManager mySM = new StoreManager();
            ListingInformation li = await CurrentAppSimulator.LoadListingInformationAsync();

            System.Diagnostics.Debug.WriteLine(li);

            foreach (string key in li.ProductListings.Keys)
            {
                ProductListing pListing = li.ProductListings[key];
                System.Diagnostics.Debug.WriteLine(key);

                string status = CurrentAppSimulator.LicenseInformation.ProductLicenses[key].IsActive ? "Purchased" : pListing.FormattedPrice;

                string imageLink = string.Empty;

                picItems.Add(
                    new ProductItem
                    {
                        imgLink = key.Equals("BaazarMagzine101") ? "block-ads.png" : "block-ads.png",
                        Name = pListing.Name,
                        Status = status,
                        key = key,
                        BuyNowButtonVisible = CurrentAppSimulator.LicenseInformation.ProductLicenses[key].IsActive ? false : true …
Run Code Online (Sandbox Code Playgroud)

.net c# windows-rt win-universal-app windows-10

8
推荐指数
1
解决办法
2784
查看次数

如何模拟Windows RT

为了开发目的,如何在模拟器中运行Windows RT(Windows 8的受限ARM版本)?这个问题包含两部分:

  • 获取映像:是否存在安装映像(对于供应商,在MSDN中,...)?我可以拍摄Surface RT磁盘的快照(如何?),或者我可以从恢复数据中以某种方式提取它(我不知道恢复系统是如何工作的,但是有一个功能可以在Surface上完全擦除并重新安装软件).
  • 运行图像:我可以模仿它吗?我听说过QEMU,但它的声誉很慢.此外,程序必须模拟必要的硬件(Tegra-3).

arm emulation windows-8 windows-rt

7
推荐指数
2
解决办法
4894
查看次数

是否可以在Windows RT上编程

有没有办法在WinRT上安装C++编译器或Ruby/Python解释器.(或者除了在线编译器和IDE之外还有其他任何用JavaScript语言编程的方法)

更具体一点:我可以编程使用我的WinRT而不是WinRT.我可以在WinRT上打开应用程序或记事本,然后编译WinRT上的代码(不是"FOR",而是"使用").谢谢.

ide windows-8 windows-runtime windows-rt

7
推荐指数
1
解决办法
3万
查看次数

如何检测表面键盘是否已连接?

我只有在键盘连接到表面时才需要实现某些功能.有没有办法在连接或移除表面键盘时检测到?

我在Surface上试过这段代码:

function getKeyboardCapabilities()
{   
   var keyboardCapabilities = new Windows.Devices.Input.KeyboardCapabilities();
   console.log(keyboardCapabilities.keyboardPresent);

}
Run Code Online (Sandbox Code Playgroud)

即使未连接键盘,结果也始终为"1".

keyboard windows-8 winjs windows-rt

7
推荐指数
1
解决办法
1632
查看次数