Phone did not appear in visual studio - visual-studio

I am new to Windows Phone 8 development. I have registered (unlocked) my phone in Windows Phone Developer registration. And I can see the phone in File Explorer.
But when I launch MSVC 2013 Update 2 and open DirectX 3D shooting game sample, I can only see a plenty of emulators in dropbox and I don't see my phone.
What could be wrong?
I did not register as a Windows phone developer yet because it requires me to pay, but I hope I should be able to launch Microsoft's samples on real device without paying?

Did you google this?
Deploying apps to a device MSDN
You have to meet the following prerequisites before you can deploy an app to a Windows Phone device:
You must be a registered developer. For info about registering as a developer, see Registration info.
It's actually bullet point number one on the documentation.

Related

Trouble developer registering a Windows Phone 7 - Live ID not recognised

I have a Lumia 800 (WP 7) that used to be developer unlocked, but seems not to be anymore, so I can't deploy an app to it. OK, I tried to use the develop registering tool. It sees the phone, and then prompts me to log into App Hub with my Live ID. I understand this is the same as the Microsoft Account nowadays, but the tool says logging in does not succeed and asks to check the credentials.
At the same time I am logged in to the WP Dev Center with my Microsoft Account which works fine. So I'm confused why the developer registration tool does not let me in.
I have tried this with two computers, both running Windows 7 and Visual Studio 2010 Express for Windows Phone, with the same result. Tried also a Windows 8.1 and WP SDK running in VS 2013, which asks to run Zune. I haven't Zune there and failed when tried to install it.
I've seen this thread, which advises to use Windows 7 environment, but as explained it does not work for me. So what am I missing? Is the registration tool outdated?

Deploy windows phone 7 app in the device

I have created an windows phone 7 app. I need to test it in the device. I have got Nokia Lumia 710(OS: Mango7.5) and I need to deploy the app I created in this device and test it. What is the step by step procedure I need to follow.
First You should have a Microsoft Apphub developer account, which you need to developer unlock the device.(Using the "Windows phone developer Registration" tool from your windows phone SDK)
After developer unlocking the device, in visual studio, selecting the debugging target as "windows Phone device" instead of "Emulator" and start debugging(or deploying your app). Also make sure you have the latest version of Zune is installed and running.
If you want to test your apps on your device, the "legal way" (microsoft way) you must:
1) Make sure you have registered as a developer on the AppHub and have paid your subscription.
2) Install the latest version of the Zune software.
2) Plug in your phone via USB and let Windows setup the drivers.
3) Lunch the Zune software and make sure that it picks up your device. The Zune software is the gateway to the device it will always need to be running for any software on your PC to be able to talk to the phone – including Visual Studio when you are debugging.
4) Next you need to unlock your device using the Windows Phone Developer Registration Tool which can be found in the Windows Phone Developer Tools folder of your Start Menu.
got this text form http://cisforcoder.wordpress.com/2010/10/22/unlocking-your-wp7-device-for-app-development/
Unbelievable as it seems...
Unfortunately you need to have a AppHub account (at US$99) if you want to be allowed to upload code to your phone.
The only way round this is I know of is either to have purchased a ChevronWP7 Token (no longer available) and upgrade it to free AppHub account. Or to a have dreamspark account - which also lets you have a free AppHub account.
How do I unlock a device?
Windows Phone devices can be unlocked for development and testing
*using an active account*. Accounts are limited to a certain number of
Device Unlocks and Apps per Device based on the account type.
For Individual and Company accounts:
3 device unblocks
10 apps per device
For Student accounts:
1 device unlock
10 apps per device

how to test windows phone app in an windows phone device

I have developed a windows phone application that makes use of mspn service. Its working fine with windows phone emulator. Now i wish to test it in a windows phone device. I have a windows phone device with me. What are the various steps in testing my app in a windows phone device. What are the main differences between testing my app in windows phone emulator and real device?
The major difference between testing on the emulator and a real device is performance, I have been bitten by this one - it all runs fine on the emulator on a powerful desktop machine, but crawls on the real device.
To test on a real device you have to sign up as a developer at the Microsoft AppHub (http://create.msdn.com) and pay your $99 - you can then unlock your phone, so you can load your app onto the phone using Visual Studio and Zune.
HTH - Rupert.
Additional to the performance gap, testing in a real windows phone device shows you how your app will behave in a real scenario.
I've found that reliability of internet connected apps decreases a lot on the real device, because of many factors. You will see triggered a lot of network-related exceptions, dns, and timeouts that your emulator couldn't see. Its a very healthy practice to test in a real device.
First of all you need your device to be "developer unlocked". You can do it by signing up to the Microsoft App Hub. If it happens that your country it not listed under the App Hub Developer program, it's not the end of the world. You can sign up with a global publisger that will give you access to the app hub under limited priviledges. I name a few ones:
Region / Name / Web Site
APAC App Port http://www.app-exchange.com
CEE APPA Market http://appamarket.com
CHINA MTel http://wp.mtelnet.com
CHINA Device7 http://www.device7.com
MEA Yalla Apps http://www.yallaapps.com
After you develop unlock your device you only need to plug in your device and visual studio will recognize your phone.
So, next to your debug button you will be able to chose between Windows Phone Emulator and Windows Phone Device. Just run and visual studio will deploy your app into your device.
Last but no least, make sure Zune software is open. And you phone screen is unlocked.
You will be surprised on how easy is to make in-device debugging.

How to test a ".xap" file on a Windows Phone 7 device?

Please tell me step by step process for testing a .xap file on a Windows Phone 7 device?
Firstly you must ensure that you meet the following prerequisites:
Your Windows Phone device is developer unlocked using the Microsoft Developer Registration Tool or Chevron WP7 Labs unlocker tool.
You have the Zune client software installed
You have the Windows Phone development toolkit installed
If you have all that sorted, you can then use the Application Deployment Tool to publish your .xap file by:
Connecting your phone to the computer
Open the Application Deployment Tool
Select "Windows Phone Device" from the drop down
Select your .xap file
Click Deploy
There's more information on MSDN
How to: Use the Application Deployment Tool for Windows Phone
There are 2 ways to do this
Using Visual Studio as described here.
Use the Application Deployment Tool as described here.
Note that deploying to a device requires the device to be developer unlocked and registered. For this, you must first get an App Hub account.
1.Need Developer Account First.
2.Zune installation.
3.After Activation of the Account need to register your mobile using windows phone registration tool.
4.Once register your mobile you can able to test the apps in device.

installing app in development on retail phone

Can I use a retail phone to test apps I'm developing for wp7?
Yes, you can use a retail phone to test Windows Phone 7 apps but you'll need to register as a developer on the Windows Phone Marketplace ($99 USD/year) to be able to register your phone as a developer device.
Once your phone is registered as a developer device, follow the instructions here.
I think Microsoft is missing the point, considering that the Windows Phone Market place is being charged and unavailable for developers living in different parts of the world. How do they expect their phones to to pick in such places, if local apps cannot be programmed into it?

Resources