DlvkBrwsr

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(Your 1st DukeScript App)
(Your 1st DukeScript App)
Line 11: Line 11:
$ mvn install
$ mvn install
$ cd minesweeper
$ cd minesweeper
-
$ mvn -Pdlvkbrwsr clean install android:deploy android:run
+
$ mvn -Pdlvkbrwsr clean install android:deploy android:run -Dandroid.sdk.path=pathtoyour[[Android]]SDK
</source>
</source>
If your phone is connected when the last command is performed, you will see new [[MineSweeper]] application written using [[Knockout4Java]] on your phone.
If your phone is connected when the last command is performed, you will see new [[MineSweeper]] application written using [[Knockout4Java]] on your phone.

Revision as of 07:57, 19 June 2014

DlvkBrwsr is a runtime that allows to run DukeScript applications on an Android phone. It has a sibling, called IBrwsr that can run the same application on iOS.

Your 1st DukeScript App

If you are not afraid to use NetBeans IDE see DukeScriptInNetBeans instructions. If you want to stay IDE independent, make sure you satisfy following prerequisites and follow in shell: You need Mercurial, Maven, and an Android SDK.

$ hg clone http://source.apidesign.org/hg/html~demo/
$ cd html~demo
$ hg up -C 898432e8f056
$ mvn install
$ cd minesweeper
$ mvn -Pdlvkbrwsr clean install android:deploy android:run -Dandroid.sdk.path=pathtoyour[[Android]]SDK

If your phone is connected when the last command is performed, you will see new MineSweeper application written using Knockout4Java on your phone.

Personal tools
buy