Geoloqi is now part of Esri! Learn More | FAQ

Sample Code and Guides

Getting Started Guides

  • iPhone SDK

    Create location aware, battery safe iOS applications with our SDK.

  • Android SDK

    Develop Android apps with our battery safe SDK.

  • Appcelerator Titanium Module

    Develop native, location aware applications using JavaScript with the Geoloqi module for Titanium.

  • Geoloqi API

    Access the Geoloqi API directly using one of our client libraries.

Client Libaries

Get started with the Geoloqi API with one of our client libraries.

Misc. Guides

Embed a Live Map

Embed a Live map to a user on a webpage with this simple guide.

Creating a Layer

Learn how to make a Layer for users of the Geoloqi App.

DinoDeals

DinoDeals sends you a notification when you are within a few blocks of a deal!

Using Appcelerator, Sqoot and Geoloqi, this application allows you to easily deploy a location-based deals app. You can use this as a template for any location-aware application.

The source code is available for:

Want additional help, or do you want to create a more complicated app? Check out the API docs, or contact us at info@geoloqi.com.

View on Github

Sample iPhone App

Download an XCode project of an iPhone app using the SDK

This sample app includes everything you need to get started, including switching between tracking modes and some help setting up push notifications. Download this project and see how to integrate the SDK into your apps!

With this sample app, you can do things like

  • Track the location of the phone in "adaptive" mode to save battery
  • Set up push notifications to be delivered to your app
  • See an example of making an API request to the Geoloqi API

Want additional help, or do you want to create a more complicated app? Check out the API docs, or contact us at info@geoloqi.com.

View on Github Download Zip

Sample Android App

Download a sample Android project using the SDK

This sample app includes everything you need to get started, including switching between tracking modes and some examples of making API requests. Download this project and see how to integrate the SDK into your apps!

With this sample app, you can do things like

  • Track the location of the phone in "adaptive" mode to save battery
  • See an example of making an API request to the Geoloqi API

Want additional help, or do you want to create a more complicated app? Check out the API docs, or contact us at info@geoloqi.com.

View on Github Download Zip

Sample Layer

Have a dataset that you want to bring to life? Build a layer with Geoloqi!

This sample code includes everything you need to get started, including how to format your data and set it up for Geoloqi to read.

Want additional help, or do you want to create a more complicated layer? Check out the API docs, or contact us at info@geoloqi.com.

Want to see a layer in action? Check out the Wikipedia Articles layer. It's based on an external dataset from InfoChimps.

View on Github Download Zip

Wikipedia Layer

Send yourself articles based on your location as you go around town with the Wikipedia layer!

It's based on the InfoChimps Geo API, and you can use this code to see how we set up the dataset to be used by Geoloqi.

Want additional help, or do you want to create a more complicated layer? Check out the API docs, or contact us at info@geoloqi.com.

Press

View on Github Download Zip

MapAttack!

A real-time location based game built on top of the Geoloqi Platform!

MapAttack is a game of territory capture using Geofences and smartphones. Players join the game and are automatically assigned to one of two teams. Players then run around to capture invisible coins only visible on their mobile phone screen. When a coin is captured, the coin changes color and the team gets points! We've hosted games in Portland and at Stanford University for up to 20 players.

Blog Posts

Want to bring a game to your school or company? Contact us at mapattack@geoloqi.com and we'll be glad to help you out! You can also follow @playmapattack on Twitter for the latest games and news! We'll be bringing it to more campuses and cities starting in Summer 2011.

View on Github Download Zip

Home Automation

Have you ever wanted your lights to automatically turn on when you get home and turn off when you leave?

Check out this sample code which communicates with an X10 light controller when you enter or leave your house, and can send SMSs when you're on your way home from work!

    case trigger.place.name
      when "Home"
        if(trigger.triggered_on == "enter")
          lamp.on
          SMSified.send "+13605551212", "Honey, I'm home!"
        else
          lamp.off
        end
 
      when "Work"
        if(trigger.triggered_on == "enter")
          SMSified.send "+13605551212", "I'm at work!"
        else
          SMSified.send "+13605551212", "I'm on my way home!"
        end
    end
Related API Documentation

View on Github Download