wp7 sdk and wp8 device - visual-studio-2010

I'have windows phone 8 device(lumia 620). I'm working on visual studio 2010. My problem is that I cannot run my XNA app with my phone. Every time I click start debugging, this error pops up
Error 1 Zune software is not launched. Retry after making sure that Zune software is launched. 0 0
Zune is working but zune says no devices connected. The windows phone desktop application is working fine and connects to my phone. What should I do. What is my fault.

You can't deploy to wp8 device from vs2010, you need vs2012 and wp8 sdk even if the app is developed for wp7.1

To run applications on your WP8 device you need the WP8 SDK and this requires VS2012. When you develop an XNA game you can only target WP 7.0 and 7.1 even when running on a WP8 device as the WP 8.0 OS uses C++ for games and no longer supports XNA. One final note, if you decide to develop your game using XNA/VS2012 you will need to use VS2010 to build your content as the content pipeline is not supported in VS2012.
http://msdn.microsoft.com/en-US/library/windowsphone/develop/jj207003(v=vs.105).aspx

You should select Device option in the standard toolbar of Visual Studio.

Related

Difference between Windows App SDK and WinUI 3

I develop many UWP apps to Windows 10, but to Windows 11 I have so many questions and sometimes the Microsoft Docs it's confusing. I want develop new apps to Windows 11 but I am totally lost!
What is the difference between Windows App SDK and WinUI 3? I dont understand :(
And what is the best way to develop Windows 11 apps? Still UWP? Or Windows App SDK? Or WinUI 3?
UWP dont have round corners thats correct? I create a new project in my computer with Windows 11 in visual Studio 2022 and only the window of my app have rounder corners, but another elements (for example buttons) dont have rounded corners!
And Mica is not only availabe in WinUI 3?
The Windows App SDK is the next evolution in the Windows app development platform.
WinUI is the UI part of the Windows App SDK. It provides UI features for the Windows App SDK apps. When you create a Windows app SDK app, you have to use WinUI3 to create the UI layout. The previous version of WinUI like WinUI 2.7 could be used in UWP apps.
Using UWP or Windows App SDK depends on your own requirements and scenario, both of them could work on Windows 11.

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/

What is the difference between "Windows Phone applications" and "Silverlight for Windows Phone applications"?

I was watching some video tutorial for developing Windows Phone 7 apps (& hoping to develop Windows 8 apps on that basis ;) The guy in the video tutorial was using Visual Studio 2010 and I have Visual Studio 2012. He created a new project using the option "New -> Project -> Silverlight for Windows Phone". Although I don't have such an option I do have an option called "New -> Project -> Windows Phone". This got me wondering whether there is a difference between those two. Could anybody explain the difference between them, if there is any?
Visual Studio 2010 can only make applications for Windows Phone 7. And Silverlight is the only API available to third-party developers on WP7 (even XNA is based on Silverlight).
With Windows Phone 8 (supported by Visual Studio 2012), new kind of applications were added: native (C++ based), HTML5... That's why calling the category "Silverlight for Windows Phone" didn't make sense anymore, and it was renamed simply "Windows Phone".
It's just a name, it makes no difference to you. When creating a new "Windows Phone app" project, Visual Studio will ask you which version you want to target. If you pick "Windows Phone 7.1", you'll get the exact same API that you had in Visual Studio 2010.
Microsoft only trying to reduce the terminology and popularize certain ways.
Windows phone app is the same as Silverlight for windows phone. the only difference is that Silverlight project in visual studio 2010 targets at the developer choice windows phone 7.0 or Mango (Mango is numbered by the SDK as Windows Phone OS 7.1, while users call it Windows Phone 7.5) or 7.8 according to updates installed. But if you use the windows phone project in visual studio you will target either Windows phone Mango or 7.8 or 8. please note that optional updates may be needed to target some platforms as Windows phone 7.8. windows phone 7.8 is basically a windows phone 7 with some feature backported to it from windows phone 8 as multi size live tiles and some features not backported to it as arabic support.
Silverlight and XNA were completely separate ways to make apps in Windows Phone 7.0. No code silverlight code could be used in a XNA project, nor XNA code could be shared in silverlight project in WP7.0 . Programmers of Windows Phone 7.0 had to know the meaning of each and when to use before choosing. The learn paths of silverlight and xna were too separate that you could learn one and totally ignore the other; in fact most programmers learnt only one of the two. You had to choose your path between the two before implementing a big app, as there is no way back :i.e, no way passing code between the two.
However, starting of Windows Phone Mango, Microsoft introduced Silverlight/XNA. Silverlight/XNA is a new application model for Windows phone Mango. It allows XNA inside Silvelight App. Migrating an XNA game to Silverlight/XNA is not an easy task, but would be rewardable.
Silverlight have UI controls as Textblock and Drop list and have layouts as Grid and stackpanel; so it is easy to make an app in silvelight that look like a form, while XNA is geared toward games , as it is a state based programming . it is very hard to implement a drop list in XNA for most developers.
Silverlight app was renamed to windows phone app to popularize it as a starting point, without having to do a deep thinking in a choice.
Silverlight is a stripped down version of Windows presentation foundation, removing the ability to define your own controls.And Silverlight for windows phone is an even more stripped down version , removing all controls that do not fit on mobile , and removing most of cryptography libraries.
This is the same way microsoft renamed metro-style apps to be windows 8 app, and windows apps to windows forms apps; and then windows forms and WPF were renamed later to Windows desktop apps.

testing a website in windows phone 7 simulator

I'm trying to test a mobile website I'm building using Windows Phone 7, but I can't figure out how to do it. It seems that the SDK wants me to build an application first in order to use the emulator, but I'm not building an app, I simply want to test compatibility of my mobile site with windows phones. How do I do this?
If you install the free Windows Phone SDK you can run an emulator in standalone mode (i.e. without Visual Studio running).
Search for "Windows Phone Emulator" from the Start menu and just launch that directly.
Once in the emulator about the only thing you can do is launch IE Mobile.
(To enter URLs and other text using your real computer keyboard instead of the onscreen keyboard tap your "Pause/Break" to toggle keyboard mode)
You should be able to run emulator without building an app
try C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Tools\XDE Launcher\XdeLauncher.exe
If now start visual studio and make an app f.e. Silverlight for Windows 7. Emulator will be loaded with debbuger attached. If you stop the app in VS, emulator should be still there. It has preinstalled IE which you can use to test.
Mind that it's better to test your web app on a real device.

Zune software is not launched (WP7)

I installed VS 2010 Express + WP7 SDK, it worked perfectly. Now I need to use unit-tests, and installed VS 2010 Ultimate (and reinstalled WP7 SDK). WP7 plugin seems to be installed (there are WP7 project types in "New Project" dialog), but when I'm trying to launch my software for debug, VS says that "Error 1 Zune software is not launched. Retry after making sure that Zune software is launched.". WP7 emulator is already launched (and Zune too, but Zune says, that there is no device connected). Expression Blend works with emulator perfectly (it runs the emulator by itself). Where is a mistake?
It seems like Visual Studio tries to deploy to a device.
Did you select "Windows Phone 7 Emulator" in the "Target Deployment Device" dropdown?
First of all, make sure that you have the Standard toolbar visible. That's where you select the Target Device. To do this: View -> Toolbars -> Standard. Since Expression Blend detects the emulator, then there is a problem with Visual Studio, that tries to deploy to a device by default.
REMEMBER: Zune Software is not required to be running when you are deploying to an emulator.
Second, try to create a new Windows Phone 7 project and try deploying it from Visual Studio to see how it works.

Resources