Giter Club home page Giter Club logo

workshop-cca-eh's Introduction

workshop-cca-eh

Eh is a real-world messaging application, built with Chrome Apps for Mobile, that brings out the inner Canadian in all of us.

This workshop will walk you through building your very own Eh app, eh. It mostly focuses on a few powerful APIs (google cloud messaging, rich notifications, identity), but it incorporates a bit of Polymer and some Material Design elements as well.

Background

Chrome Apps are packaged, installable apps that run on desktop and are written using web technologies. They run in a hightened security sandbox, and so have access to powerful supplementary APIs, which are not available to traditional websites.

Chrome Apps for Mobile is a toolkit for porting Chrome Apps to run on mobile devices, using Apache Cordova. Read more info and caveats.

Prerequisites

Let's configure your development environment and run a sample app to make sure you can get started building the Eh app.

  • First, clone this repository.

      git clone https://github.com/MobileChromeApps/workshop-cca-eh.git
    
  • Next, install the Android Developer Tools and the cca command line tool, by following this Installation Guide.

    • Note: cca supports iOS, but this workshop does not (chrome.gcm is Android-only).
  • Finally, connect your Android device to the desktop via USB.

    • Note: Make sure you have Developer Options and USB Debugging enabled.

      To access these settings, open the Developer options in the system Settings. On Android 4.2 and higher, the Developer options screen is hidden by default. To make it visible, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options at the bottom.

Workflow

  • Create a new project, importing the app/ folder from this repo.

      cca create EhApp --copy-from ../PATH_TO/workshop-cca-eh/app/
      cd EhApp
      cca build android
    
  • Now, lets run the app. You have a few options:

    1. Compile and Run your Chrome App on Android: cca run android --device.
    2. Or, Run your Chrome App on your Desktop: cca run chrome.

Success!

Lets Get Started, Eh!

Now that you have your development environment set up, you can start building the Eh app on desktop or mobile. This workshop will walk through each step to build it from scratch.

Continue to Step 1: Getting Started »

workshop-cca-eh's People

Contributors

mmocny avatar samthor avatar clelland avatar mwoghiren avatar thunderston3 avatar jpchase avatar agrieve avatar a-industry avatar

Watchers

James Cloos 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.