Coder Social home page Coder Social logo

jaakkokorhonen / sujuvuusnavigaattori-wrapper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okffi/sujuvuusnavigaattori-wrapper

0.0 2.0 0.0 4.21 MB

Makefile 0.01% Java 53.66% JavaScript 10.04% Batchfile 0.80% Objective-C 19.75% C 0.32% Shell 2.09% AppleScript 0.09% CoffeeScript 9.02% Python 0.54% RobotFramework 0.64% HTML 0.01% CSS 1.75% C++ 0.61% C# 0.69%

sujuvuusnavigaattori-wrapper's Introduction

sujuvuusnavigaattori-wrapper

This project is for wrapping the Sujuvuusnavigaattori application inside a native application. Cordova also known as PhoneGap is used for this.

Getting started

It is assumed that you are somewhat familiar with NodeJS and git. You should have them installed before proceeding with these instructions. Also install grunt: sudo npm install -g grunt-cli.

  1. Cordova can be installed following Installing the Cordova CLI instructions in The Command-Line Interface chapter of the PhoneGap API Documentation.
  2. After installing Cordova you should open terminal / command line and move to directory where you want the Sujuvuusnavigaattori-wrapper to be put. In the directory where you moved, clone the Sujuvuusnavigaattori-wrapper, i.e. run the git clone command. Then to clone the Sujuvuusnavigaattori sub project run cd www, git submodule init, and git submodule update --remote www.
  3. Now is good time to install platform tools. See iOS specific or Android specific help.
  4. After platform tools are installed you can run, for example cordova build ios or cordova build android at the sujuvuusnavigaattori-wrapper root directory. However, before runnning those build comands, always when needed, update the contents of the www directory to the latest version: run git submodule update --remote www in the project root directory and run grunt in the www directory.
  5. If there was any errors, ask help.
##Platform specific help ### iOS Specific help

Cordova has good general iOS instructions, so you should see them. It should be possible to run cordova build ios succesfully after following them. However, before creating application archive (.ipa) from Xcode, you should:

  1. Remember delete the node_modules and utils directory from the sujuvuusnavigaattori-wrapper/platforms/ios/www directory before opening the project in Xcode for archiving. Otherwise there may be validation error when trying to create archive.
  2. Make sure in Xcode that target version and build are correct (for example, 0.1.1).
### Android Specific help

Cordova has also Android instructions. Few notes for installing Android tools for Mac:

  1. Install Android Studio
  2. Run Android Studio, select Configure -> SDK Manager. Install from Tools: Android SDK Tools, Android SDK Platform-tools, Android SDK Build-tools (19.1 and above). Install from Android 4.4W: SDK Platform. From Android 4.4.2: SDK Platform and Google APIs and Sources fro Android SDK. From Extras: Android Support Repository and Android Support Library.
  3. export ANDROID_HOME="/Applications/Android Studio.app/sdk"
  4. Install ant
  5. export PATH=${PATH}:/Applications/apache-ant-1.9.4/bin
### WP8 Specific help

Your help needed...

sujuvuusnavigaattori-wrapper's People

Contributors

ernoma avatar hannesj avatar

Watchers

James Cloos avatar Jaakko Korhonen 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.