Retarget Windows Phone 8 app to Windows Phone 10 - c#

As many of you may know, Microsoft will be releasing the new Windows Phone 10 operating system to current Windows Phone 8.1 users.
I was wondering whether it will be possible to retarget Windows Phone 8/8.1 apps to Windows Phone 10 and if so how.
I couldn't really find any information on this so I will greatly appreciate any information on how to do this.
PS. My app is written in C# and XAML.

I think it is too early to speak about the way WP 8 application migration to WP 10.
Work on WP 10 still actively underway and many changes occur in operating system (see Windows Insider).
Exactly, we can say that all the applications created by template WP 8.1 (RT, but not SilverLigth 8.1) will work on WP 10.
I've tried a few of their applications WP 8.1 for Windows Phone 10 (Insider) and have not noticed problems.

Related

Windows Ink in Windows 10 Mobile

Can use Windows Ink on Windows 10 Mobile? Can I published an uwp app with Windows Ink for Windows 10 Mobile?
Or Windows Ink only Works in Windows 10 Desktop?
Can use Windows Ink on Windows 10 Mobile?
If you mean you are using the InkCanvas control in a UWP app, and you want to know if the InkCanvas can work when running this UWP app on a Windows 10 mobile device, in that case, the short answer should be yes. InkCanvas is not only work for desktop devices.
But pay attention that you must specify support for other devices through the InputDeviceTypes of an InkPresenter object. For mobile you may need to add the Touch device type.
Can I published an uwp app with Windows Ink for Windows 10 Mobile
You could publish it to windows store, and install it in your mobile. There is no special capabilities needed for this control.

Can windows phone store apps run in tablet?

I am developing new windows phone 8.1
[RT] application working fine , but now my client want to give support to tablet also . Does my application work in tablet or I have to create a universal project ?
Please help me out for this .
Windows Phone 7.x or 8.x apps do not run on Windows 8/8.1/10 "out of the box" - you need to either have a universal app, or share your code (for example as a portable class library) to allow it to also run on the desktop variant of the OS.
If you want your app to run on over vendors tablets (such as Android or iOS) there are solutions that allow some code sharing, but again, you're looking at supporting another codebase to achieve this.

applications for multiple environment (windows phone 8, windows phone 8.1, windows 8, windows 7, windows xp)

I have a request for simple application containing few views, no business logic, communication with REST services. The problem lies on multiple environments:
1. windows phone 8
2. windows phone 8.1
3. windows 8
4. windows 7
5. windows xp
I am concerning WPF application for Windows 8 and and Windows 7, Windows Phone 8 application for Phone 8 and Phone 8.1, for XP (i know it is not supported) separate application.
Do I miss something or there is hidden pitfall ?
It is possible to generalize desktop application for Windows 8, 7 and XP ?
Thanks in advance
EDIT:
Finally with help I have solution that fills requirements:
1. For Win Phone 8.1 and 8.0 Windows Phone 8.0 application, as it will work on both systems
2. For Win 8 and Win 7, WPF application
3. For Win XP dedicated application
Looks like a lot of work...
Edit: As a webapplication is not allowed/possible I'll update my answer but leave the original answer below
If you can install WPF and .NET on Windows XP you may use WPF as Desktop solution.
For Windows Phone you can create a WP8 version. This will then run on WP8, 8.1 and 7.8
Please mind that Windows Phone 8 only supports a subset of WPF so if you like to reuse some XAML you have to consider that and start with Phone.
The codebehind (REST communication) will be C# in both cases.
Original answer:
You may create a web application/site.
On Windows Phone you can then create an app which just uses a browser control. It can be distributed in store installed and it's still a website.
On desktop you can either just use the browser or create a winforms app with a browser component.

How to get the resolution of screen (width and height) in Windows Phone 8.1?

I am developing an app for Windows Phone 8.1 and my app just can work properly if I can get the resolution of mobile screen. I tried many ways but they just work on Windows Phone 8.0 and lower. I tried these ways from:
How to get screen size on Windows Phone 7 Series?
How can I get a screen resolution of Device (Windows Phone)
How to get Screen size of a windows phone 8 device?
How to get screen resolutions on Windows Phone devices
If someone knows how to do it on Windows Phone 8.1, please help me!
If somebody can help me, I have a little question, I am using Visual Studio RC2, when I choose to develop an app for Windows phone, it is automatically tick OS version 8.1, if i want to develop an app for OS version 8.0, how to change that settings?
Edit: I solved the second question.
Use Window.Current.Bounds to get the position and size of the available space your app can use on the screen.
Window.Current.Bounds

Will Windows Mobile 5 SDK work for Windows 7.5 mango OS phone

I want to develop an application for Windows 7.5 mango OS phone like HTC Mozart, I am already having Visual Studio 2008, will the apps built by Windows Mobile 5 smartphone SDK be supported in a windows phone?
No, the Windows Phone SDK is the only one that is supported. In short, Windows Mobile != Windows Phone.
Also the UI is drastically different and the underlying runtime and .NET framework is also different. You might be able to port the logic of your code across easily to the new SDK, but the UI will need rewriting.
There are also a lot of freedoms lost in the new iteration as "the user is king". This means you need to review what your current app requires and provides to see if it is even a good fit for the new range of phones.
No, Windows mobile SDK wont work for Windows phone 7 applications.
See, the .NET Framework for windows phone 7 has changed completely . Infact the classes and APIs have changed .you can carry forward your previous experience of Windows Phone development into this new one but that certainly might not be the same code and services working in the same platform

Categories