在android上创建chrome app


Why not just using phonegap to build the mobile app

Because setup phonegap toolchain takes more time, while cca is much faster. Further more, it can make use of chrome api.

installation

sudo npm install -g cca

create project

cca create test –android

deploy on the phone

  • cca build android
  • cca run android –device
comments powered by Disqus