public
Description: A small OS X application for updating your Fire Eagle location, using Skyhook's wifi triangulation API
Homepage: http://tomtaylor.co.uk/projects/clarke/
Clone URL: git://github.com/tomtaylor/Clarke.git
Clarke /
name age message
file .gitattributes Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file .gitignore Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file AXCVHandler.h Wed Jun 17 01:07:54 -0700 2009 Finished off UI tweaks required for OAuth 1.0a ... [tomtaylor]
file AXCVHandler.m Wed Jun 17 01:07:54 -0700 2009 Finished off UI tweaks required for OAuth 1.0a ... [tomtaylor]
file AboutPreferencesViewController.h Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file AboutPreferencesViewController.m Sun May 24 02:53:45 -0700 2009 Fixing a few memory leaks. Clang only reports 1... [tomtaylor]
file AboutView.xib Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file AdvancedPreferencesViewController.h Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file AdvancedPreferencesViewController.m Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file BaseLocationController.h Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file BaseLocationController.m Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file CoreLocationController.h Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file CoreLocationController.m Fri Sep 11 13:33:23 -0700 2009 Location controller now updates as soon and as ... [Tom Taylor]
directory DSClickableURLTextField/ Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
directory English.lproj/ Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file FireEagleController.h Wed Jun 17 01:07:54 -0700 2009 Finished off UI tweaks required for OAuth 1.0a ... [tomtaylor]
file FireEagleController.m Wed Jun 17 01:07:54 -0700 2009 Finished off UI tweaks required for OAuth 1.0a ... [tomtaylor]
file FireEaglePreferences.xib Wed Jun 17 01:07:54 -0700 2009 Finished off UI tweaks required for OAuth 1.0a ... [tomtaylor]
file FireEaglePreferencesViewController.h Wed Jun 17 01:07:54 -0700 2009 Finished off UI tweaks required for OAuth 1.0a ... [tomtaylor]
file FireEaglePreferencesViewController.m Fri Sep 11 13:33:23 -0700 2009 Location controller now updates as soon and as ... [Tom Taylor]
file FirehookApplicationDelegate.h Mon Sep 21 10:11:18 -0700 2009 Added URL handler for clarke:// - unused. [Tom Taylor]
file FirehookApplicationDelegate.m Mon Sep 21 10:11:18 -0700 2009 Added URL handler for clarke:// - unused. [Tom Taylor]
file GeneralPreferences.xib Tue Sep 22 07:20:37 -0700 2009 Change of wording in General Preferences. [Tom Taylor]
file GeneralPreferencesViewController.h Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file GeneralPreferencesViewController.m Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file Gestalt.h Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file Gestalt.m Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file Info.plist Mon Sep 07 13:25:34 -0700 2009 Bump of version number to 0.3.99. [tomtaylor]
file Location.h Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file Location.m Mon Sep 07 13:25:09 -0700 2009 Movement of refresh timer logic to inside the L... [tomtaylor]
file NSDate+Helper.h Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file NSDate+Helper.m Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
directory OAuthConsumer.framework/ Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file Preferences.xib Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file PreferencesWindowController.h Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file PreferencesWindowController.m Sun May 24 02:53:45 -0700 2009 Fixing a few memory leaks. Clang only reports 1... [tomtaylor]
file README.md Sat May 23 09:18:53 -0700 2009 More README tweaking. [tomtaylor]
directory RHSystemIdleTimer/ Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file SkyhookLocationController.h Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
file SkyhookLocationController.m Thu Sep 10 09:24:01 -0700 2009 Works on Snow Leopard, but needs bug checking o... [Tom Taylor]
directory Sparkle.framework/ Sun May 24 04:18:08 -0700 2009 Supporting Garbage Collection now, as OAuthCons... [tomtaylor]
file StatusMenu.xib Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file StatusMenuHeaderViewController.h Mon Sep 07 13:36:27 -0700 2009 Tidying up the starting/stopping of the locatio... [tomtaylor]
file StatusMenuHeaderViewController.m Fri Sep 11 11:30:39 -0700 2009 Making CoreLocation & Skyhook framework weakly ... [Tom Taylor]
file clarke-icon.icns Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file clarke-icon.pdf Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file fe_logo_small.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file fireeagle-phoenix-16px.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file fireeagle-phoenix.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
directory firehook.xcodeproj/ Fri Sep 11 13:33:23 -0700 2009 Location controller now updates as soon and as ... [Tom Taylor]
file firehook_Prefix.pch Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file libwpsapi.dylib Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file main.m Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file map--exclamation.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file map-logo-32px.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file map-pin.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file status-bar-icon-ok.png Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
file wpsapi.h Sat May 23 08:36:20 -0700 2009 Initial import of version 0.2.1 [tomtaylor]
README.md

Clarke

Clarke is a small OS X application which triangulates your location using Skyhook's API, and uses that to update Fire Eagle.

Clarke screenshot

The latest version of Clarke is always available from tomtaylor.co.uk/projects/clarke.

Known Bugs

  • None at the moment

Features It Would Be Nice To Have

  • The location and Fire Eagle status is a bit difficult to understand, and could do with an overhaul
  • A new icon would be nice
  • Ability to have update multiple location services, including POSTing to a custom URL

Installation

If you want to build your own version of Clarke, you need to know the following.

First, Tom Taylor has an agreement with Skyhook where he won't charge if they don't charge. Which is very nice of them.

Skyhook developer API keys can perform location updates without registration, for a small number of users. However because Clarke has been released to the wider world, it needs to perform individual user registration inside the application on first run. This will fail for you, because Skyhook restrict which API keys can register users.

To make it for development, get yourself an API key from Skyhook. Comment out the user registration process in LocationController.m. Create the file 'SkyhookApiKey.h' and set the following define statements:

#define SKYHOOK_MASTER_USERNAME "username"
#define SKYHOOK_MASTER_REALM "realm"

Note they are C strings, not NSString objects.

You should now be able to use your own Skyhook API keys without user registration occurring.

License

Clarke is licensed under the BSD license.

Copyright (c) 2009, Tom Taylor
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    * Neither the name of Tom Taylor nor the names of Clarke's contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Some code is used under license from elsewhere:

  • wpsapi.h & libwpsapi.dylib are used under license from Skyhook Wireless.
  • RHSystemIdleTimer is licensed under LGPL from Ryan Homer.
  • DSClickableURLTextField from Night Productions.
  • OAuthConsumer from Kaboomerang LLC.
  • NSDate+Helper from Billy Gray.