I've started yesterday afternoon studying WP7, so be patient.
I've just created my first test app, registered as developer on AppHub, connected my phone with Zune, registered my phone in my AppHub profile (I can see it in my devices section) and compiled my app.
When I try to transfer my app into phone (using Application Deployment Tool as described here) I get an error that can be traslated as
Unable to connect to device because it's locked by pin
But my device has not any pin (or I don't know to have one) and it doesn't show anything on screen.
What could/should I do?
UPDATE:
Zune is running: if I try I get the error
I close Zune and run WPConnect: my device is connected but the error is the same
When deploying the app, make sure the phone screen is unlocked.
Additinal info: If you are developing from Desktop PC, sometimes connecting from front USB panel wont work.
You can't deploy while the screen lock is active, so try swiping up the lock screen before deploying.
Related
When I try to deploy app from Visual Studio to my Lumia 930 it´s starts to deploy but the timeout is received with following messages
Error 1 Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device':
SmartDeviceException - This operation returned because the timeout period expired. Hipstaroll.WindowsPhone
Error 2 Error : DEP6200 : Boostrapping 'Device' failed. Device cannot be found. This operation returned because the timeout period expired.
Hipstaroll.WindowsPhone
I have:
VS2013 update 4 (didn´t work before this update either)
tried with different USB-cables
tried with different computers and USB-ports
tried to remove USB-devices
Turned Hyper-V off
I can navigate with explorer in the phone and copy images, etc.
Windows Phone Power tool has the same problem
Tested to deploy new blank project with same result
Removed the device in the device manager
Turned everything off and on
Register and unregister device as developer phone
Try to develop app by using Windows Phone Application Deployment (8.1)
Is your phone registered for development? This might be the cause.
To unlock your device follow these steps.
Turn on your phone and unlock the phone screen.
On your phone, ensure that the date and time are correct.
Connect your phone to your computer by using the USB cable that came with your phone.
4.On your computer’s Start screen, switch to All apps view.
Under Windows Phone SDK 8.0, click Windows Phone Developer Registration.
Verify that the Status message displays Identified Windows Phone 8 device. Click the Register button to unlock the phone.
If your phone is already registered, the Status message indicates this and you see an Unregister button.
Click Register.
In the Sign In dialog box for your Microsoft account (formerly known as a Windows Live ID), enter the email address and password for your Microsoft account. Click Sign In.
If you’re a registered developer, be sure to use the Microsoft account associated with your developer account.
After your phone is successfully registered, the Status message displays Congratulations! You have successfully unlocked your Windows Phone.
I updated to developer preview of OS and now it works. Seems to be something strange with latest official OS version
When I try to deploy my XAP to the Windows Phone, I get the "error 0x89731812" message.
Your device has a locked screen. Unfortunately, this is not documented anywhere, but there is a discussion with some hints on page 3.
Turn on your phone (if it isn't already)
Slide open
Type your password to unlock
Retry the deployment after unlocking your screen.
EDIT: My bad (well, that of my search engine). They are documented here. Thanks keyboardP!
As I Stumbled upon this old thread I might have found a solution for this Error code.
I've had the same message as I found out that my device wasn't recognised properly in device manager.
Did some research and saw that the driver wasn't picking the right USB-port as it was registered to one of the other usb ports.
After inserting the Phone to the first USB port where it was registered the Initial first time everything went ok!
If your phone charge is very low, it won't deploy the app too.
To deploy you must:
1.Connect your wp7 phone
2.Open Zune
3.Open the deployer
4.unlock your phone (As said before)
5.Deploy
It requires an unlocked phone (without restrictions) or an Interop Unlocked Phone, and the phone mustn't have low charge.
I've developed an application for Windows Phone, and it runs well on emulator. But I want to debug the application on my phone, the samsung Omnia 7, so I changed the target from "Windows Phone Emulator" to "Windows Phone Device" in Visual Studio 2010, and hit the run button.
Then I got the error message says: "The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
Well, I DID unlock the screen and actually, the application IS installed on my device, but the only problem is that, I can not debug it.
I've been googling around, but no good. And the OS version of my rom is 7.10.7720.68, I'm using Omnia 7, which has already been verified with my developer ID.
Anyone encountered with the same situation? Any advice?
Thanks in advance!!!
At first you need confirm did you run Zune Application and make sure your Windows phone Device have connected status then click debug button.
second。if have been set password about your start screen. when get be debuy operator before you need make your deveice at Start Screen。
three。 debug Windows phone it was need you have use Developer Account have unlock your Device already.
there all core three step。,
I have joined the legions of people getting the error "The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
My symptoms are different from usual, and the usual fixes don't work.
I can:
* deploy to the emulator
* run on the emulator
* debug on the emulator
* deploy on the phone
* run on the phone
I cannot:
* debug on the phone.
Attempts to start the debugger on the phone (F5 from VS) will recompile my app (if necessary), deploy it to the phone, and then raise the above error.
Yes, the "Build" and "Deploy" boxes are checked in Configuration Manager.
Yes, it has an appropriate SplashScreenImage.jpg
Yes, the phone is dev-unlocked, and pin-unlocked.
Update 1:
Unregistering and reregistering the device didn't help.
But the problem is device-specific -- it doesn't happen on a different phone.
If no other solution turns up, I'll probably reset the phone to factory original and start over.
Update 2:
I have two phones and two development systems. Three of the four combinations work great; it's only one phone on one dev system. Resetting the phone to factory condition didn't help.
Any ideas?
Have you tried using the WP Connect tool instead of using Zune?, I have had a few occasions where Zune does not see the phone properly or the device link registration was invalid (also try telling Zune to forget the particular device in the settings)
In any case using the WP connect tool (without Zune running) has usually worked for me in these cases.
I know that on the iPhone you can register a URL prefix such as myapp://blah which, when opened in safari, will open up your application.
Is there anything like this for Windows Phone 7?
Unfortunately not, applications can only be launched by the user from the application list or home screen. I suspect that the hooks are there in the operating system because the YouTube application is launched when attempting to view a video on the YouTube website from the browser and the user is prompted to install the app if they haven't already got it installed. But unfortunately, this approach isn't publicly available.
You may give Receive Push Notifications in an Application for Windows Phone http://msdn.microsoft.com/en-us/library/ff402556%28v=VS.92%29.aspx a try.