Testing my application on my device - windows-phone-7

I want to test my phone 7 application in my device that I have developed.please guide me on how to install my app in a device?And Which Windows Phone 7 Device is Good for Testing?

It's covered here, under the section titled "Deploying to a Physical Windows Phone Device". It requires an developer unlocked device.

If you don't have done it already you need to register your phone as a developer phone.
http://create.msdn.com/en-us/home/membership
Then you need to download and install Zune, when you have don that it just to plugin you phone and choose to deploy to phone instead of emulator in visual studio.

Assuming you have 7.1 SDK and Zune installed:
Goto start search for Windows Phone Developer Registration.
After registering you can debug on the phone from Visual Studio by selecting target as "Windows Phone Device".

Related

Can i make a project in VS2013 that targets both Windows 10 Mobile and Windows Phone 8.1, and does Windows 10 Mobile find Windows 8.1 Apps in store?

I have made an app that targets Windows 8.1, and on my phone i am running Windows 10 Mobile Insider Preview. Now while debugging with the emulator and the device i had no problems with the app, but i believe since the app is not showing up on Windows Store (App is in the store, published earlier today) while browsing with my phone it could have something to do with my version of Windows on the phone.
As the title says, can i make a project in VS2013 that targets both Windows 10 Mobile and Windows Phone 8.1 (or even 8?), and does Windows 10 Mobile find Windows 8.1 Apps in store?
You don't need to do anything special. An app targeting 8.1 would show up in the new store, and anyone would be able to download it.
It's possible that your app just hasn't been published yet. The publishing process takes quite a while, from hours to a day or two. Check out your store dashboard to verify your app's progress.
Windows Phone 8.1 Apps will show up in the Windows 10 Store automatically.
It takes 1-2 day to be searchable on store. If it doesn't, contact Windows Store support, through dev portal, and report the issue. https://dev.windows.com/en-us/community/windows-app-support
If you want to make use of the Universal Windows Platform which is new to Windows 10 (including Mobile), then that particular app wouldn't run on Windows Phone 8.1. If you're not dependent on Windows 10 specific APIs or functionalities, then you could consider targeting Windows Phone 8.1 as Universal App.
You can also create a solution with a shared project in Visual Studio 2015 (free in the community edition, in case you're up for switching over) - in that case you can have a Windows 10 (Mobile) specific binary as well as a Windows Phone 8.1 version that share some code - this would be the best of both worlds in term of target system optimisation, maintainability and avoiding code duplication.
There is a nice step-by-step guide: http://www.c-sharpcorner.com/UploadFile/7ca517/shared-project-an-impressive-features-of-visual-studio-201/

Sideload Updated Windows 7 app to Windows 8 Phone XAP

I have upgraded the Windows Phone 7 Barcode Scanning app to a Windows 8 Phone app and I deployed the app to my Windows 8 Phone. The package is .xap. How do I sideload this app to another phone? I am using this app for business purposes and it will not be available on the Windows Store.
Zune never connects to my Win8 phone and I am unable to use the Win7 Phone Application Deployment tool.
Like you used the Windows Phone 7 deployment tool for WP7, just use the Windows Phone 8 deployment tool for WP8. It's located in the folder:
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment
Of course, that is if you have a developer-unlocked device.
Can we restrict our applications to run on particular devices by using the device id? means the application should run on only registered devices

Debug on Windows phone 7 DEVICE

I am new to windows phone 7 development. I want to run/debug my WP7 app in connected device, when i change target to windows phone device(from windows phone emulator) in VS 2010, its unable to run and showing a error meesage. am i missing any steps/procedure.
Before you can deploy an application to a Windows Phone, you must first register the phone, which requires an active developer account on Dev Center. Each developer account enables the registration of three devices for application development. After you create a developer account and your phone is registered, you can install, run, and debug unsigned applications on the phone.
You can get 3 types of errors:
You device does not registered as a developer's one.
Zune software does not launched.
You phone is under the lock screen.

How do I upload my app to a Windows Phone 7 for testing?

I'm developing an app for Windows Phone 7 mobile device. I've finished testing with the emulator and now I want to test on an actual phone. Does anyone know how I can upload the app to my phone?
I know that iPhone has a direct upload, Blackberry can install from any website.
How do I do this with Windows Phone 7?
Register your phone as a developer device using your link - http://msdn.microsoft.com/en-us/library/ff769508(v=VS.92).aspx
If you're writing in Visual Studio, then choose Windows Phone 7 Device as the target instead of Emulator
If you've just got a XAP file (from the bin/debug or bin/release directory) then you can use the "Application Deployment" tool.

How do I authorize a Windows Phone 7 device to allow for visual studio to deploy to it?

I've registered as an app developer with the Microsoft store but I'm at a loss, under devices I'm told that I need to authorize devices to use for app development but it says: "Adding additional devices must be accomplished through Visual Studio" with no added information. I tried using the 'XNA Game Studio Device Center' to add the device but it only has Zune and Xbox 360 listed, clicking on Zune doesn't help as it says no Zune device was found (since it's a windows phone 7 device I suppose that's to be expected).
So how do I add a device so I can deploy to it through visual studio?
Using the live id for your active marketplace subscription, enter that and your password into Windows Phone Developer Registration in the start menu.
You can only register a device using windows phone developer registration program once you have completed GEO Trust verification. On your Windows Phone dash board on App Hub you'll see that you must complete verification before your able to register a device.

Resources