How to build PhoneJS application for Windows Phone? - windows-phone-8

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.

Related

How to test update of Windows 8.1 appx app?

My use case, I have Windows 8.1 XAML app v1.0 in appx package. I'd like to deploy this version on my tablet, use it for a while and then test update of this app to version 1.1 which I have in another appx package.
Is this easily possible for tablet apps? I know that for Windows Phone there is Application Deployment Tool, but for Windows 8.1 there is nothing I know about.
Thanks
As long as your tablet is running Windows 8.1 you can side-load the app onto it.
Create the app package using Visual Studio. Then run the Powershell script on your tablet to install the package. (You will be required to have a developer license on the tablet). When you are ready to test the next version just follow the same steps.
https://msdn.microsoft.com/en-us/library/hh975356.aspx?f=255&MSPPError=-2147217396#Create

How to port Windows Store 8.1 apps to Windows 10?

I have developed few apps in windows store 8.1 and i want to port them to windows 10.
Previously when windows 8.1 has released, In Visual Studio when you open the windows store 8 app code, in the solution we had an option called target to windows store 8.1, then it takes care of everything.
Now how to Port Windows store 8.1 apps to Windows 10 using C# and xaml
Any help or any article on this please?
Thanks in advance
The best way to do this is to create a new Windows 10 project based on the universal template and then copy all the source files and assets to it. There's a detailed description on MSDN here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn705768.aspx
and here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn751495.aspx
0) Install Win10 RTM
OK? =)
(But, If you just want to bulid the UWP project, Win8.1 is also ok. But you can't use the xaml designer, inspector, etc.... I can't recomend this way)
1) Install VS2015 RTM and Win10SDK RTM.
By default, Win10SDK is NOT installed. You should select the Win10 SDK from installation option dialog.
1.5) Update NuGET 3.1.
You can see the Flag Icon on the top-right corner of VS2015 Window. Click it to install Nuget Update.
2) Migrate your solution and project.
You should modify your .csproj manually with this guide.
Migrate apps to the Universal Windows Platform (UWP)
After that, you can build your app with VS2015.
Note - if you got the thousands of compile error, try Installing following nuget package from nuget console.
Microsoft.NETCore.UniversalWindowsPlatform
3) Modifying your app to suit for UWP manner
Following pages helps you.
Move from Windows Runtime 8 to UWP
Porting Windows Runtime 8 XAML and UI to UWP

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.

Need to convert my Windows Phone 8.1 app code to 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).

Which Windows edition to use as a build server for Windows Phone 8 projects?

We plan to create virtual machine to serve as a build server for our Windows Phone 8 projects. According to the official requirements the WP8 SDK runs only on Windows 8. The question is is it possible to install the VS2012 and WP8 SDK also on Windows Server 2012, or should we just use the supported Windows 8?
Note we use Hyper-V for hosting virtual machines and also we don't need the WP8 emulator on that build server.
As a possible alternative (as I haven't tested your issue of building on WS 2012), why don't you use TFS online? It allows for 5 free projects (privately hosted in the cloud). See more here: http://tfs.visualstudio.com/
More on your issue:
I have tried running the WP8 SDK on Windows 7 without any luck (but it's not supported so I understand). Also, I have tried running the WP8 SDK from a Windows 8 Virtual Machine, but the emulator did not run as Hyper-V can't run on Hyper-V without pursuing this option: http://www.developer.nokia.com/Community/Wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator
Hope this helps in some way, shape, or form.
On my workstation are installed VS2012, WP8 SDK. All works fine.