Skip to content

Androidjs-builder is the official code generator for androidjs, it helps to generate and build fully featured android app in NodeJS.

License

Notifications You must be signed in to change notification settings

anu-prakash-dev/androidjs-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addroidjs

Platform to build fully featured android app in node js.

  • Quick start
    • install android js from 'npm' $ sudo npm i -g androidjs-builder
    • generate project structure $ androidjs init
    • build apk $ androidjs build

install from npm

$ sudo npm install -g androidjs-builder 

Since we have installed 'androidjs-builder' globally , it will provide all necessary commands build our app

Generate new project

$ androidjs init

This command will generate a basic structure for quick start

 myapp |__ assets | |__ ipc, css, js | |__ views | |__ index.html | |__ main.js |__ package.json 
  • main.js is the main file or we can say it is back process of your app which execute all the code written in node, so you can write your node js code inside main.js
  • index.html is the first view which is render by app initially
  • package.json to keep track of all your node packages
  • assets to store all assets of your app

Build project

$ cd myfirstapp $ androidjs build $ androidjs build --install

it will create apk inside ./myapp/dist/

build and install uses system 'adb' command.

Update androidjs-sdk

$ androidjs u $ androidjs update

Other examples

Download from github

About

Androidjs-builder is the official code generator for androidjs, it helps to generate and build fully featured android app in NodeJS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 88.1%
  • JavaScript 11.9%