Need to convert my Windows Phone 8.1 app code to Windows phone 8 - windows-phone-8

I have developed an app for Windows Phone 8.1 but now I want the same app to developed in Windows phone 8.0. It is possible to do that? Is there any migration tool available or I need to develop from scratch.

No you can't downgrade any app after you've started developing. IF you wanted to develop a WP8 as you said have to start it from the scratch. But still you can upgrade a WP8 app to WP 8.1 (For Silverlight Apps). If it's normal WinRT app you can only develop targeting 8.1 only.
For more have a look here
Hope it helps!

You just compile the 8.0 release and upload the *:xap to the store without deleting your 8.1 *.appxupload.
Uppdate App >> Upload and describe your package(s) >> Add new
You might wanna consider making a phone 7 app for best coverage (7 will work for 8.0 users).

Related

Deploying Windows Phone 8.1 app to Windows 10 Mobile

I've been developing a Windows Phone 8.1 app using C#/XAML. My configuration is up-to-date Windows 8.1 PC + Visual Studio 2013.
I can test my app on WP 8.1 emulator that comes with VS2013, and also no problem deploying it on physical Windows 8.1 device.
However the app also runs on Windows 10 Mobile because the platform currently allows it that way. Which is good except, my app doesn't work as intended since the device got Windows 10 Mobile Anniversary Update.
I don't know if the problem is in Windows or in my app but that's not important here.
I need to create a hotfix for the issue. And here comes the question. Is there a way to deploy WP 8.1 app to Windows 10 Mobile without submitting it to the store first, without upgrading to Windows 10, and preferably without upgrading to VS2015?
UPDATE The reason I want to deploy WP 8.1 app to Windows 10 Mobile is to test if my patch fixes the issue manifests with Windows 10 Mobile. At the moment I don't understand where is the problem and keep submitting the fix attempts to the store is not ideal.
Thanks.
Is there a way to deploy WP 8.1 app to Windows 10 Mobile without submitting it to the store first, without upgrading to Windows 10, and preferably without upgrading to VS2015?
Yes, it is possible to deploy WP8.1 app to the Windows 10 Mobile without submitting it to store and without upgrading to Windows 10 and without upgrading to VS2015. But you need to make sure you have the Windows 10 Mobile device for you to test.
If the Windows 10 Mobile device is in your side, you can unlock the Windows 10 Mobile device and deploy your app to the Windows 10 Mobile device by using the USB with the same method that you deploy it to the Windows Phone 8.1 Mobile device.
Or you can try to sideload your app on the Windows 10 Mobile device without submitting it to the store by using the Application Deployment tool. For more information, please try to refer to this article:How to deploy Windows Phone 8.1 apps with the Application Deployment tool.

Windows phone comnpatbility

How can I run my windows phone 8 application in windows phone 7? I have developed an app in windows phone 8 but when I want to run that app in windows phone 7 it is not running. Is there any way to make my app compatible
If the application is written for WP8 you can't run it on WP7. On the other hand, if the application is written for WP7 you can run it on WP8.
If you need to run it on WP7 you must modify your code but there are a lot of improvements in WP8 that maybe you are using in your app but won't be available in your new compilation for WP7.
More information available in https://msdn.microsoft.com/library/windows/apps/jj206947(v=vs.105).aspx
WP8 application can not be run on WP7. although you can run WP7 written code in WP8.
So i would suggest you to rewrite your code using WP7 SDK that will be compatible for both platform.

How can I port a Windows Phone 8 app to Windows Phone 8.1?

I've been working on a Windows Phone 8 app, which I now want to change to be Windows Phone 8.1. How can I do this?
Should I create a new Windows Phone 8.1 app and copy all my existing files into it? Or is there an automated way for me to upgrade the existing solution to 8.1?
There are two ways to do that:
like in comment - right click on oyour project and you should see Retarget to Windows Phone 8.1
or you can open Properties window of your project and the in dropdown box Target Windows Phone OS version you can choose Windows Phone 8.1
In every case the VS should ask if you are sure to do that - it's one-way operation, so it's worth to make a backup of your solution. As WP8.1 has backward compability, in most cases there shouldn't be any problems.
Some clarification for the followers:
As WP8.0 apps are Silverlight, after retargetting it will still be a Silverlight app but WP8.1 (some new features and enhancemens).
Thought, if you want to retarget to WP8.1 Runtime, it's a totally different thing - it's a different type of an app, different API and more. You will have to port it manually. Note that not all features from WP8.0 are yet available in WP8.1 Runtime - here is a good article about that.

Upgradewindows phone 8 project

Is it possible to upgrade a recent project that I started developping with windows phone 8 sdk and continue it with windows phone 8.1 or do I have to restart from scratch
If you want to target Windows Phone 8.1 (Silverlight Application) then you don't need to start from scratch, you will be able to upgrade from your Windows Phone 8 (Silverlight Project) but if you want to target Windows Phone 8.1 (New Universal App API's) then you will have to develop your application from scratch.
Here this will help you understand better Link

How to build PhoneJS application for Windows Phone?

I try PhoneGap Build service to create package for my Javascript application (in fact it is demo from PhoneJS distribution), but the package does not install to my Nokia Lumia device.
How do you build your PhoneGap applications for Windows Phone 8?
You may also use the standard PhoneGap approach to building Windows Phone 8 packages. It is described in the Getting Started with Windows Phone 8 article at Cordova site.
(however this also implies that you have Visual Studio installed, and WP8 SDK)
You can use DevExtreme to build PhoneJS application into Windows Phone 8 native package.
Please check this article for more details.