This is a Hello World WebApp for AndroidUI.
Ensure you has installed nodejs, and run 'npm install' at project dir.
If you want to create a new AndroidUI project, these files you should copy to:
- build.sh : to build the project, you should change the 'packageName' defined in the file. Open the file to see detail.
- build_res.js : pack resource into js, execute by nodejs, call by build.sh.
- tsconfig.json : typescript's convert config.
- package.json : node package manager(npm)'s config.
You may need to create these directories:
- res : put your resource in this directory, like image, layout, values, they will be packed into .js when build.
- src : suggest you to put all your typescript code in this directory.
- assets : suggest you to put all your 'not pack in' resources in this directory. Like image, js lib, etc.
These directories will be auto created when build.
- gen : resources will build here first.
- build : code & resources build result.
It's enough, if your code or resource change, just execute build.sh to rebuild your project.
If you want to put image in 'res', read this for more information.