zoukankan      html  css  js  c++  java
  • Installing your app on your Windows RT device

    Alright… so my app is almost finished and I want to install it for real on my Surface tablet. How do I do that? Is it possible?

    Yes it is.

    NB: People, seems like I was not entirely accurate. Before you can install the package this way, you need a developer license for your Win RT device. You can get one by installing the remote tools for VS2012 on your Surface (http://go.microsoft.com/?linkid=9810474) and remote debug at least one app you created yourself.

    It involves 4 steps:

    1. Create the app packages
    2. Get files to your tablet
    3. Install the certificate included in the package on your tablet
    4. Install the app on your device

    Create the app package

    To do this you can navigate to Project > Store > Create App Packages…

    You will be asked whether you have a Windows store account, just select ‘no’ and continue. Now you will be asked for the details of your package like the version and the architecture.

    Modify as needed or just click ‘Create’. After that you will be shown a window with a link to the outputpath of the package and the possibility to start the Windows App Certification Kit. Klik on the first link to be taken to your package and then click ‘OK’.

    You’ll find an .appxupload file and a folder with more files. The .appxupload file is just a zip (if you rename you can open it). The folder contain the interesting documents though…

    Getting the files on your tablet

    There is one awesome way to get the files on your tablet: SkyDrive! Of course mail, usb or similar will also work.

    Move these files to your device: the .appx file and the certificate. Optionally you could include the .appxsym file to include the symbols. BTW both the appx and the appxsym files are zip files.

    I placed the files in my SkyDrive and downloaded them to my desktop on my tablet.

    Install the certificate on your tablet

    When I open the certificate file on my tablet I get option to install the certificate. Now, you should install it to the local machine, make sure the certificate is installed in the ‘Trusted Root Certification Authorities’ store (NOT automatically selected).

    Now this step is done… easy right?! On to the files stage: installing your app…

    Install the app on your device

    Open a powershell window in administrator mode. (Open start, search Powershell, select by dragging down, select ‘Run as Administrator’)

    In the powershell console, navigate to the place where your application is. (Hint: ‘cd’ for change directory works fine…)

    Now type ‘Add-’ and tab to let powershell finish the command. It now says: Add-AppxPackage

    Just specify the appx filename: Add-AppxPackage .<filename>.appx

    Hit enter. The app should now install.

    NB: People, seems like I was not entirely accurate. Before you can install the package this way, you need a developer license for your Win RT device. You can get one by installing the remote tools for VS2012 on your Surface (http://go.microsoft.com/?linkid=9810474) and remote debug at least one app you created yourself.

  • 相关阅读:
    video 标签在微信浏览器的问题解决方法
    微信朋友圈分享之自定义网页按钮分享
    巧用weui.topTips验证数据
    巧用weui.gallery(),点击图片后预览图片
    巧用ajax请求服务器加载数据列表时提示loading
    页面间固定参数,通过cookie传值
    手机端页面下拉加载数据的笨办法--点击按钮添加数据
    LeetCode 41 First Missing Positive(找到数组中第一个丢失的正数)
    LeetCode 40 Combination Sum II(数组中求和等于target的所有组合)
    LeetCode 39 Combination Sum(满足求和等于target的所有组合)
  • 原文地址:https://www.cnblogs.com/haoliansheng/p/3952668.html
Copyright © 2011-2022 走看看