Giter Site home page Giter Site logo

garmin-connectiq-linux's Introduction

I am using Linux Ubuntu to start devoloping apps for my Garmin Vivoactive HR that supports Garmin Connect IQ.

The main instructions I found on this site: http://blog.aaronboman.com/programming/connectiq/2014/11/13/the-garmin-connect-iq-sdk-on-ubuntu-linux/

My quick instructions

Install Eclipse and the Garmin plugin

Install Eclipse on yor Linux machine and the plugin, as the instructions on Garmin Connect IQ developer page. On Eclipse, on the plugin options, you will be asked for it to automatically download an SDK (it will download the MAC plugin but works well).

##SDK and Simulator Checkout this github repository and use the shell scritpts to start the simulator and simulate the app. Make the bash scripts executable

Inside of the bin directory, you will need to make both the monkeysim_linux and monkeydo_linux files executable. Do that by running the following:

user@machine:~/connectiq/bin$ chmod u+x monkeysim_linux monkeydo_linux

For convenience, place the connectiq/bin directory in your PATH. Edit your /.bashrc like so: export PATH=$PATH:/connectiq/bin

Install the JDK

If it isn't already installed, you'll need the JDK. If you don't know if it's installed, you can check by running

user@machine:~$ javac -version

If that fails with the message "The program javac can be found in the following packages" then it's not installed. You will need to run the following to install it:

user@machine:~$ sudo apt-get install default-jdk

If you want a more specific version of the JDK or if you want the Oracle JDK check out the tutorial at Digital Oceans. Install Wine

Install Wine

In order to run the Windows simulator executable Wine will need to be installed. Install it simply by running:

user@machine:~$ sudo apt-get install wine

After installation has completed, run the wine command and it will do some initial setup such as creating the virtual C drive, program files, etc. These new directories will be placed in ~/.wine.

Putting it all together

Try testing your setup out on one of the sample projects:

  1. build the project code on Eclipse
  2. start the simulator: monkeysim_linux &
  3. start the simulation: monkeydo_linux bin/Analog.prg

Now you should have a wonderful analog watch face telling you what time it is.

garmin-connectiq-linux's People

Contributors

casainho avatar

Stargazers

Soyeong Kim avatar Kees Jongenburger avatar Dan Tooke avatar Oleh_Vls avatar Ami Hollander avatar Zibri avatar Giovanni Toffetti avatar Ludovic Vimont avatar Matteo Busi avatar Brandon Hawker avatar Jiří Richter avatar  avatar

Watchers

 avatar Matteo Busi avatar 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.