Install version of the windows phone 8 application - windows-phone-8

I have created a windows Phone application, and how do I give this application to the client, Do I give him my project folder i.e Getcontacts? and also client wants to install this application to emulator because in the client machine only emulator is installed.
Is there any way to create the install file of the application that I give to the client and client will easily install into the emulator. Kindly suggest me on these queries..
Waiting for your reply.
Thanks.

If the client has the emulator installed, he can deploy a XAP to it using 'Application Deployment' (open the start menu and type Application Deployment). You can select the target (one of the emulators) and then choose the XAP file.
On your end, set the build configuration to Release and build the solution. Then navigate to the project folder/Bin/Release and that's where you will find the .xap that you need to send to your client.
Here's an MSDN article for the Application Deployment tool: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565(v=vs.105).aspx#BKMK_tool

To test the app your client need to be a registered developer(He need to create developer account on Microsoft developer.
To Access Application Deployment tool your client needs to install Windows Phone SKD
then launch Application Deployment tool from installed SDK folder
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment\XapDeploy.exe
OR launch it from start menu by typing Application Deployment.
Now he just need to give the path of the xap file(debug or release version) and select the desired testing target.
P:S. you can also deploy the app on app store and set publish version to beta for testing the app at any device without having developer account and installing windows phone SDK.

Related

WMAppManifest.xml file for deploying vcREG

I've been trying to deploy vcREG to my Windows Phone using the deployment app installed while installing Windows Phone SDK. I downloaded the app over the internet and I wanted to interop unlock my phone using it. But, while installing, it gives me an error, to fix capabilities in the WMAppManifest.xml file. Please help me by providing the correct file with all capabilities fixed.

Testing Windows Store app with Visual Studio Team Services

I'm trying to set up continuous integration testing for a Windows Store (8.1) app on Visual Studio Team Services (formerly Visual Studio Online).
Setting up build was fairly easy, but I have not been able to get it to run my unit tests on a Hosted Agent. So far I have:
Added /t:Publish to the build to produce the test runner .appx
Created a Powershell script to install the appropriate certificates onto the agent
Modified the test search path to find the .appx
Now, I'm getting errors about installing a developer license:
Error: Could not start test run for unit tests for Windows Store app: No valid developer license found for running unit tests for Windows Store apps. Please install/renew your developer license..
It does not appear to be possible to add a developer license strictly from Powershell or Command Prompt, so is there some other way of running the tests on a Hosted Agent?
Assuming you are using vNext build and Universal Windows Platform template by following this article.
As the developer license is deprecated in the Windows 10 operating system, Universal Windows Platform template doesn't require developer license. But if the computer that hosts the build agent will be used to perform unit tests for windows 8.x, developer license must be installed on the computer.
So, there is no way to run tests for Windows 8.1 on Hosted Agent. You need to deploy a Windows build agent or set up an on-premises build controller + build agent to test Windows 8.1 application.

Windows Phone Emulator 8 can't install Xamarin application

I have created a Xamarin application and compiled to Release. It was succesfully tested on an Android emulator so I decided to deploy it to a Windows Phone 8.0 Emulator.
I tried to use the Application Deployment but it cannot install because it starts the emulator that never boots, it shows OS starting (starting the emulator on its own is working).
So I downloaded it to the phone and when I try to open it, it says:
Can't install company app. There is a problem with this company app.
Contact your company's support person for help.
Why is the app considered company app? How can I install it to the emulator? What should I set?
The solution consists of two steps.
The company app issue is present because I've downloaded the application from a website, so it is unsafe (the source is the Internet). I have to install it through application deployment (via Visual Studio 2013 or the Windows Phone Application Deployment application).
The second step is to discard (and uninstall) Windows Phone 8.0 and change to Windows Phone 8.1. That helps a lot.

Registering Windows Tablet 8.1 for development of Windows Store Apps

I am using Visual Studio 2013 Professional (with a Store developer account connected) and I have a Windows 8.1 Lenovo tablet for which I'd like to try developing Store apps.
I am stuck right now because when I connect my tablet to my laptop (which has Visual Studio) using the USB port, and open "Windows Phone Development Registration" tool, my Windows tablet device is not recognized by it.
Any help in letting me know what I am missing would be greatly apprciated.
Thanks.
Windows systems aren't locked in the same way as Windows Phones are. You will need a free developer license to run development & test packages on the system, but don't need to use an external tool to generate it.
You can install a developer license with PowerShell by using the "Show-WindowsDeveloperLicenseRegistration" cmdlet. If you create a package for testing in Visual Studio then the Add-AppDevPackage.ps1 script will request the developer license if the system doesn't already have one.
Visual Studio will also request a license for you if you run it on the local system or if you launch the app via the remote debugger.
Documentation links:
Run Windows Store apps on a remote machine from Visual Studio, Deploy Windows Store apps from Visual Studio and Get a developer license (Store apps)
It works a bit different with tablets than with phones. If you don't need debugging - you can simply copy the appx onto the tablet and install it there. If you want to debug - you need to install remote debugging tools on it and specify in VS that you want to debug on a remote machine (click the little drop down arrow on the button here:

Windows Phone 8 Wont load XAP files

Im trying to deploy XAP files to my Lumia 620. They work if i download them from the store but when i try and load another XAP from somewhere else, e.g. TimeMe or from Windows Phone Hub, the phone fails to show them. Any idea why?
The Windows Phone 8 OS architecture doesn't allow installation of non store applications, to support this they have restricted the loading of XAP files from other download sources.
In some countries Window Phone store comes with a option for installation from SD Card option, under this option you will be able to view XAP files on your storage media of phone, if you select that XAP file the store application will check for that application in the Windows Store and if it is a free app it will get installed otherwise it will ask to buy for a license of the app to install it.
The Windows Phone hub is for enterprise environment, where a company distributes its LOB apps to its employees, if you are able to access company hub app than you must be able to download and install the app. Even in this case the process is automated as in case of Windows Store and nowhere you will manually unpack the final XAP file.
Windows Phone will not let you install XAP files that are not certified in the WP Store. The only way you'll be able to install XAP files yourself is to either:
Download and install a WP Store signed XAP file. You can do this by going to an app's page on your computer, downloading the XAP file, transferring it to your SD card, and installing it through the Store app.
Download and install a unsigned XAP file that hasn't been through the WP Store yet. You can install these XAP files on a developer unlocked phone using the Application Deployment program included with the WP8 SDK.
The app TimeMe that you included as an example is an unsigned XAP file. You can "sideload" this app through the Application Deployment program.