Skip to Content
Wearable Programming for the Active Lifestyle
book

Wearable Programming for the Active Lifestyle

by Brian Jepson
January 2017
Intermediate to advanced
69 pages
1h 21m
English
O'Reilly Media, Inc.
Content preview from Wearable Programming for the Active Lifestyle

Chapter 4. Projects

There’s no better way to learn something new than by example. I’ve put together some simple projects that you can follow along with to learn some skills for Connect IQ. First, you’ll learn how to run the example programs that come with the Connect IQ SDK, and also how to modify one of those examples. Next, you’ll step out of the physical confines of the simulator and use ANT+ technology to talk to an external sensor, the Garmin tempe temperature sensor. Finally, you’ll learn how to communicate with an authenticated web service.

Note

You can download these projects and other sample code from Garmin’s connectiq-apps GitHub repo.

Personal Data Tracking

The Project Explorer in the Connect IQ perspective shows all the Connect IQ projects in your workspace. Unless you’ve been exploring on your own, you should only see one project, MyFirstApp. Keeping track of which project an open file corresponds to can be tricky, so I suggest you right-click on MyFirstApp and choose Close Project. That will collapse its folders and also will close any of its files you may have open. Do the same with any other projects you’re working on.

  1. Now you’re ready to import one of the Connect IQ sample projects. Choose File→Import, and the Import dialog will appear. Make sure General→Existing Projects into Workspace is selected as shown in Figure 4-1. Click Next.

    wpal 0401
    Figure 4-1. Importing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Wearable Computing

Wearable Computing

Giancarlo Fortino, Raffaele Gravina, Stefano Galzarano
Wearable Sensors

Wearable Sensors

Edward Sazonov

Publisher Resources

ISBN: 9781492048800