To create projects for use with Kapsel, use the Cordova command line tool.
You must run the commands from a Windows command prompt, or a terminal window on iOS. See http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface.
In this example, you create a project folder named LogonDemo in the Kapsel_Projects directory. The Application ID is "com.mycompany.logon" and the application name is "LogonDemo." Running cordova -d allows you to see the progress of the project creation.
cordova -d create ~\Kapsel_Projects\LogonDemo com.mycompany.logon LogonDemocd ~\Kapsel_Projects\LogonDemo cordova platform add ios android
LogonDemo/ |--.cordova/ |-- merges/ | |-- android/ | `-- ios/ |-- platforms/ | |-- android/ | `-- ios/ |-- plugins/ |-- www/ -- config.xml `
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git cordova -d plugin add C:\SAP\MobileSDK3\KapselSDK\plugins\logon
cordova -d prepare android cordova -d prepare ios