Skip to content

Android app that gets the next three events from google calendar.

Notifications You must be signed in to change notification settings

fcaravana/android-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Google Calendar App

Android app that is listening and reacts to a node.js service connected to google calendar api that gets the next three events from the current date of the account fcaravana.meetings@gmail.com.

This app also has three shortcuts to launch three android apps.

Online demo:

Android APK file:

Install node modules for server:

$ cd server
$ npm install

Install bower libraries:

$ cd app/assets/js/
$ bower install

Install node modules for app and run gulp:

$ cd app
$ npm install
$ gulp

Create a symbolic link app on server folder to ../app folder:

$ cd server
$ ln -s ../app/ app

The 'server' folder has a node.js http server running on port 8080, with the following available routes:

Run service on development machine

$ npm install nodemon -g
$ cd server
$ nodemon server.js

Express.js routes

  • http://server_name:port/app

  • http://server_name:port/events

  • http://server_name:port/code?code={CODE}

The 'app' folder has the html5 builded with angular and cordova:

  • /assets/css has all the css styles

  • /assets/images has all the images

  • /assets/js has all the javascript

  • /assets/scss has all SASS files used to build de /assets/css/style.css file

  • index.html it's where all starts

  • /test for tests execute:

$ cd app 
$ npm install karma-cli -g
$ karma start

Configure where to get the events from google calendar:

Installing the Android SDK:

The 'cordova' folder for build the APK file:

$ npm install cordova -g

$ cordova create project_name com.domain.project_name project_name

$ cd project_name

$ cordova platform add android

$ cordova plugin add com.lampa.startapp

$ cordova plugin add cordova-plugin-network-information

$ cd ../

$ cp cordova/config.xml project_name/config.xml

$ rm -rf cordova

$ mv project_name cordova

$ cd cordova

$ rm -rf www

$ ln -s ../app/ www

$ cordova build android

Good luck, may the "source" be with you, always.

About

Android app that gets the next three events from google calendar.

Resources

Stars

Watchers

Forks

Packages

No packages published