Script Project uses Saltarelle compiler (from Nugit, see commands below) to make it compile C# code to javascript.
Script Project has a post build event which copies the compiled javascript file to the desired directory. copy “$(TargetDir)$(TargetName).js” “$(SolutionDir)\CordovaExample\www\js\
This starter app is for using phonegap with saltarelle.
There are two projects in this solution. ScriptProject is a c# console application which compiles into javascript. I first created it as a console app, but now it compiles to Javascript, thanks to the Saltarelle compiler project. The compiled javascript is compied to the web project using a post build command in ScriptProject.
- Silverlight: This solution uses windows 7 immulator, which uses silverlight app as the project type.
- Install-Package Saltarelle.Compiler
- Install-Package Saltarelle.Web
- Install-Package Saltarelle.Linq
- Install-Package Quicklight.Mobile
- Blackberry hello world example
- obtain code key from black berry site
- install webworks sdk from here
- generate signing keys following these instructions
- download simulator from here (it’s silverlight for devs)
Browse to phonegap build website on your phone and click install.
I think that if you try to download the install file on a desktop/laptop, it will give you a standard insall file even when the button says OTA (over the air).