How to create .XAP extension file for windows phone - javascript

I have created a new Windows 8 JavaScript project using phoneGap,
My question is
how can i get .XAP extension file in Bin folder
as this is mandatory to run my application on windows device.
And also tell me one thing there is any other solution to make this .XAP extension file.
Because of using javascript i am not getting .XAP extension file.

First of all you need to check that you are configured for windows 8 or windows phone 8.
If you compile it as Windows Phone Project then you can get XAP from your project. Bin>>Debug>>Your project.XAP

You must either compile it, as a Windows Phone project, using Visual Studio. Or alternatively use the Adobe PhoneGap Build service, which allows you to send your code to the 'cloud' as a zip file. It will them build your app, returning IPA, APK, XAP and other native bundles.

Related

Phonegap build final apk file locally without phonegap build website

I use Phonegap CLI to make my android apps every thing works fine, but when I want to make my final .apk I face a problem
I have SDK JDK Java and all environment variables
I generated my .keystore and when i run phonegap build --release i have no error my problem is this
there is no folder called bin or any .apk file in my folder
I red all documents and questions from stackoverflow and I still have this problem
what do you think? should i switch to cordova CLI ?
PhoneGap has been discontinued.
Switching to Cordova CLI is certainly an option, but many find that installing the build toolchain is a lot of trouble to get working (and keep working).
If you prefer the convenience of a build service like you had with PhoneGap, have a look at VoltBuilder, Ionic or Monaca.

Cordova based apk installion & developed file location

I am now learning cordova and i wanna know something.
Example, I have index.html & index.js in my cordova project.
I will build app and install it in my phone.
So the question is those two files index.html & index.js will be in app package folder inside phone local storage?
Thanks
Yes, the files show up in a hidden area on Android and iOS. Anyone with a rooted phone can see them. Don't store security keys in your code.
All Cordova really is is on Android and iOS is a reference to the embedded browser available on both systems and hook to load whatever page you specify in the config.xml. You can even set the config.xml starting file to be your webpack dev server. Therefore your html and JS files have to exist somewhere for the web browser to open them.

How to create nwjs app installer for MaxOS X ? Does it require MacBook to create installer?

I have created desktop application using nwjs (node webkit). I've created installer for windows successfully.
How to create installer for MacOS X?
The official website has all the info you need http://docs.nwjs.io/en/latest/For%20Users/Package%20and%20Distribute/#mac-os-x
If you want to create distribution on different platform, you could try this library https://github.com/evshiron/nwjs-builder-phoenix
Normally if you download NW.js binaries client according to the platform you need and copy javascript source code into a folder named package.nw(Windows) or app.nw in nwjs.app/Contents/Resources/(MacOS), the application should work out of box.

How to install a mobile template in apache cordova 6.1.0

So I am running Apache Cordova on Ubuntu trying to create a multi-platform hybrid application. So far I am done with the steps of:
Installing Codova
Assigning the Andoird Home, configuring the sdk and the avd
Being able to export the project on the browser and as an apk file
Testing the apk file and making sure it's working fine on a real device
After unzipping the mobile template written in (HTML/CSS/JS) into the application's directory and removing the default index.html to make sure the full files of the templates are functional, everything seem to be working fine.
The question is, is this normally how it should work? or is there something that I have to do within the cordova's app directory's default files (like the default index.html) in order to not miss with the installed cordova plugins like (camera, geolocation .... etc) ?
In other words, do I treat the cordova's app's www directory just like I treat a regular website files on a server, or are there other steps?

How to run a .JAR file with parameter from WinJS

hello I want to know how to open a .JAR file with parameters from a metro app developed with WinJS in VS2012
in console the way to call them is
java -jar C:\folder\file1.txt
thanks in advance for your support
You can't run a Java application under WinRT. You can't launch an external process either.
Java is only supported on the Desktop mode of Windows 8+.
To be approved, Windows Store applications must contain all functionality within the application package.

Categories

Resources