'. '

DlvkBrwsr

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(Your 1st DukeScript App)
Line 3: Line 3:
== Your 1st [[DukeScript]] App ==
== Your 1st [[DukeScript]] App ==
-
Prerequisites: You need [[Mercurial]], [[Maven]], and an [[Android]] SDK.
+
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.
<source lang="bash">
<source lang="bash">
$ hg clone http://source.apidesign.org/hg/html~demo/
$ hg clone http://source.apidesign.org/hg/html~demo/
$ cd html~demo
$ cd html~demo
 +
$ hg up -C 898432e8f056
$ mvn install
$ mvn install
$ cd minesweeper
$ cd minesweeper

Revision as of 07:56, 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

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