HOME

  • ABOUT
  • PORTFOLIO
  • NEWS, TECH & ART
    • Websites
    • WordPress Plugins
    • Processing.org
    • Neural networks
    • New Media Art
  • RASPBERRY PI
  • ABOUT
  • PORTFOLIO
  • NEWS, TECH & ART
    • Websites
    • WordPress Plugins
    • Processing.org
    • Neural networks
    • New Media Art
  • RASPBERRY PI
Android – Processing examples

Android – Processing examples

  • android, compass, examples, gps, processing

Rolf van Gelder released some code samples on how to read the GPS and compass data from an Android phone.

The code is written for the Android – Processing environment.

Processing logoProcessing is an open source programming language and environment for people who want to create images, animations, and interactions. Initially developed to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing also has evolved into a tool for generating finished professional work. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production.

Get the code samples here:

  • How to read the GPS, Feb 2011
  • How to read the compass, Mar 2011

Update (07/13/2016)

For Processing v2.x and v3.x, look at the Kentai Processing library for GPS and Compass functionality:

  • http://ketai.org/examples/geolocation/
  • http://ketai.org/examples/locationdistance/
  • http://ketai.org/examples/multiplesensors/
previous article next article
profile background
profile image

Rolf van Gelder

Owner of CAGE Web Design

CAGE was established in the year 2000

What’s new?

  • WebImageLoader – Processing Library
  • Responsive P5JS for WP – WordPress plugin
  • Optimize Database after Deleting Revisions – WordPress plugin
© 1995-2025 CAGE Web Design, Eindhoven, NL | +31 (0)6 22 66 3193