HOME / WHO WE ARE / LOCATION TECHNOLOGY / LOCATION INTELLIGENCE / SONY VITA USERS / CONTACT / WE'RE HIRING!

Skyhook Location SDK Overview Skyhook Location Performance Coverage Area Download Skyhook Location SDK Developer SDK Support
Code Examples / Quick Start Guides

WPS SDK

The WPS Core Engine SDK leverages a series of simple APIs to facilitate device deployment and application integration. Using straightforward commands, such as 'Get Location', WPS lets application developers focus on building great end-user location-based applications without worrying about building the location-engine to make them work.

Below is a sample use of the WPS API that prints the user's location (latitude, longitude).

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "wpsapi.h"

int main(int argc, char *argv[])
{
  WPS_SimpleAuthentication authentication;
  authentication.username = argv[1];
  authentication.realm = argv[2];

  WPS_Location* location;
  WPS_ReturnCode rc = WPS_location(&authentication,
		WPS_NO_STREET_ADDRESS_LOOKUP,
		&location);
  if (rc == WPS_OK)
  {
    printf("%f, %f\n", location->latitude, location->longitude);

    WPS_free_location(location);
  }

  return 0;
}
  • WHO WE ARE
    • Company Overview
    • Management
    • Board and Advisors
    • Location Privacy
    • Patents
    • In the News
    • Press
  • LOCATION TECHNOLOGY
    • Skyhook Location SDK Overview
    • Skyhook Location Performance
    • Coverage Area
    • Download Skyhook Location SDK
    • Support
      • Code Examples
      • Skyhook Location SDK User Group
  • LOCATION INTELLIGENCE
    • SpotRank Overview
    • SpotRank Options
    • SpotRank Use Cases and Examples
      • Request SpotRankIP Access
  • CONTACT
  • WE'RE HIRING!

34 Farnsworth Street / 5th Floor/ Boston, MA 02210/ 617.314.9802

© 2013 Skyhook Wireless, Inc.