Skip to content

A hello phonegap (cordova 2.2) app which uses QuickLight to talk to phonegap via a c# library

Notifications You must be signed in to change notification settings

BraveNewMath/HelloQuickLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Prerequisites

  • Silverlight: This solution uses windows 7 immulator, which uses silverlight app as the project type.

Nugit Commands to make ScriptProject compile to javascript:

  • Install-Package Saltarelle.Compiler
  • Install-Package Saltarelle.Web
  • Install-Package Saltarelle.Linq
  • Install-Package Quicklight.Mobile

Getting Started

Publishing apps

BlackBerry Device

BlackBerry Code Signing

  • 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)

Installing BlackBerry app via PhoneGap Build website

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).

About

A hello phonegap (cordova 2.2) app which uses QuickLight to talk to phonegap via a c# library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published