Giter Site home page Giter Site logo

swarbiv / harness Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mobilechromeapps/harness

0.0 2.0 0.0 314 KB

Scripts for building the mobile Chrome Apps version of Apache's Cordova App Harness.

License: BSD 3-Clause "New" or "Revised" License

harness's Introduction

Chrome Apps Developer Tool for Mobile

This repository contains scripts and assets that will remix the Apache Cordova project's App Harness so that it can run Chrome Apps on mobile devices. This is based on the plugins from the cca toolkit.

Use a Pre-built APK

Pre-built APKs are available here.

Creating a Project

Use createproject.sh to create a project. Example invocation:

PLATFORMS="android ios" ./createproject.sh ../../cordova/cordova-app-harness

For more info:

./createproject.sh --help

Extra Steps

  • Replace the default Cordova icons with your desired icons.
    • rm platforms/android/res/drawable-*/icon.png
    • cp ../../mobile-chrome-apps/templates/default-app/assets/icons/icon128.png platforms/android/res/drawable/icon.png
  • Replace the title in index.html to "Chrome ADT vX.X.X"
    • vim www/cdvah/index.html

Cutting a Release

  • Update the version in config.xml
    • vim config.xml
  • Update versionCode in platforms/android/AndroidManifest.xml
    • vim platforms/android/AndroidManifest.xml
  • Build apk
    • cd CCAHarness && ../buildharness.sh
  • Tag release
    • git tag -am "Tagged vX.X.X-alpha" vX.X.X-alpha
    • git push origin master --tags
  • Upload apk to GitHub's releases page
    • Attach the apk
    • Write short release notes (download link should be visible without scrolling).

TODO

  • Add custom icon

harness's People

Contributors

agrieve avatar bshepherdson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.