How to test the developed app in Windows 8 RT - windows-8

Recently I had developed a C#/XAML METRO Application, I created the package which generated the Add-AppDevPackage.ps1 and all other files from VS2012.
How to deploy this package in real device for testing in Surface RT tablet?

Right click on "Add-AppDevPackage.ps1", select "Run with powershell". Follow the instructions in powershell. Please note you must be admin. If you are prompt for developer licence login with Live a/c.

Related

Create appx file for Raspberry pi2 on Windows IOT Core?

I've got a Windows Universal app that I want to package and deploy to Windows IOT Core running on a Raspberry Pi2. I can get the code to deploy from Visual Studio, but i want to hand off the app to someone else and have them install without I was expecting a way to deploy via the web interface since there is a place to upload an appx file, but i can't figure out any way to get that built up. Is it possible w/o Visual Studio?
Thanks,
Nick
Step 1: Build
Create an app package from Visual Studio:
Right click your project
Choose Store...Create App Packages
Choose "No" for creating package to upload to Windows Store
On the next step, select "Never" for "Generate app bundle" and make sure "ARM" is checked.
Click Create. The Raspberry Pi compatible build will be in ".\AppPackages\XX_ARM_XX" folder.
Step 2: Install
Install the app on the Raspberry Pi:
Open the "Windows Device Portal" website
Choose "Apps" from the side menu
Upload the *.appx and *.cer files from the build folder
You can learn more here:
Packaging UWP apps
Windows Device Portal (scroll down to Apps section)

Install metro application in windows 8 device

I am beginner in windows 8 metro application. I have create a simple application on visual studio 12. it is running in same machine . How can i install this application on other device running windows RT without publishing app in app store. Help me plz...Thankx
Choose 'Store->Create App Package' from the projects context menu, then select 'no' when asked whether to create app store packages. Then copy over the generated folders and execute the included PowerShell script to install the application.
In case your project contains platform-specific code, you have to make sure it supports compilation for ARM devices, which is what Windows RT runs on.
http://msdn.microsoft.com/en-in/library/windows/apps/hh975357.aspx this will help you in creating package.
If you want to make a basic package, change debug mode to release mode and then follow these steps
project=> store=> create App Packages => next =>create

How to deploy a metro app to windows 8 device/Tablet?

For testing an application, I have deployed my metro app by creating a app package which is provided in vs2012. I have deployed the package by opening using the PowerShell, but now I want to deploy the metro app in a Windows 8 device (tablet) for testing it, how can I do this?
Will there be a PowerShell option available in device also? (to deploy the app)
Are there any other ways of deployment?
i have used this to sideload apps for testing onto other devices including SurfaceRT
http://blogs.msdn.com/b/patricka/archive/2012/11/06/10365947.aspx
In addition to creating an app package in Visual Studio 2012, and deploying your app that way, you can also use the Remote Tools for Visual Studio 2012 for ARM to deploy and debug an app to a Surface or other tablet (for x86 or x64 tablets, use the matching remote tools install).
Once the remote tools have been installed on the target device, you simply start up the remote tools on the target, configure the access permissions, and then on your development machine, open the project properties, select the Debugging option, and use the dropdown to select Remote Machine as the debugger to launch. Click into the Machine Name field, and use the dropdown to select the machine name of the target machine running the remote tools.
Now, when you start debugging the project, it'll be packaged up and deployed to the target device, and you can set breakpoints and step through your code. And once deployed this way, you can re-run the app from the start screen using the app's tile.
EDIT: One important thing to note...whether you deploy/sideload using the PowerShell script technique, or using remote debugging, the target device will need to have a valid developer license. You should be prompted to obtain a developer license when you attempt to sideload your app, but you can also use PowerShell to obtain the license manually...instructions can be found here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh974578.aspx

Creating a build on windows phone 8

I want to make a build (like APK) of my windows phone 8 app for testing. How can i do so.?
When you Run the Windows Phone 8 app in VS 2012, an XAP file is created in the Bin folder of your app. Its similar to the apk file of Android app. But you cannot directly install this in the phone.
You need a developer account to developer unlock the device for testing. You can test the app in Emulator any way. You can also make use of the Beta testing feature of the Windows Phone marketplace, but again you need a developer account for this as well.
UPDATE:
You can get a developer account from the Windows Phone Developer site # $99.
And after getting the developer account, Open the "Windows Phone Developer Registration" tool from your start menu and unlock your device, by following the steps mentioned in that tool
You actually can deploy a XAP file to the phone, provided it is developer unlocked. The tool to do this comes as part of the SDK. Just go to Windows Phone Developer Tools -> Application Deployment. Then you can browse and select the XAP file you want to install. As mentioned above, you XAP file might be in the bin folder, but it could also be in the Debug folder, depending on your configuration. In Visual Studio, to the left of the debug icon (green arrow) you will see a drop down list of deployment options. Here you can choose if you want to deploy to the phone or to the emulator. You can also chose if you want to deploy in debug or production mode.

Difference Between Windows 8 Store App and Windows 8 Desktop Application

What is the difference between Windows 8 Store App and Windows 8 Desktop Application. Can I use Javascript to create Windows 8 Desktop Application. I found an article from Intel which give some difference between these two applications. But it is not clear
Windows 8 Desktop Application
- You can download the softwares and install it . No Marketplace required
- Traditional development tools like C# , C++ , Winforms , WPF etc
Windows 8 Store App
- You can install it only via Windows Store and uploading the app to the store will undergo certification process.
- YOu can develop using XAML with C#/VB.NET/C++ , HTML/JavaSCript/CSS , Embarcadero Prism etc.
- Designed mainly for Touch
no you can't use javascript to write you own desktop program.
Here a simple overview about both type:
Windows 8 Desktop Application:
That just the basic program like notepad, MS Word, AutoCad...
Writing in the know language such as C++, C# ...
Windows 8 Store App
Here you create app in that new start menu. Click on the button in the start menu to open you own app. Here you can write the app also in html5/javascript.
Actually, you can sideload Windows RT apps too, which is useful for LOB apps. Take a look at the Windows RT Development guide -
http://www.microsoft.com/en-us/download/details.aspx?id=30703
Section titled "Installing developer packages on Windows RT outside the Windows Store" (Pg 19)
HTH
JavaScript can't be used to create a Desktop Application.
see ,desktop apps are those apps that required you to run Setup.exe file and were installed through a Pen drive or a CD or might be you got it from internet.
These apps run on operating system like Windows 7, Windows XP and gave you the full control on what you want to install and what not .
Windows 8 Metro apps are apps on your phone
This I am telling for real understanding.
You go to android store and download temple run for example.
The game is acceded from the online store and you have no discretion on it.similar way we have these metro apps