ConsultingJoe Posted March 14, 2008 Posted March 14, 2008 (edited) Hey guys you know that location finder that's in the Iphone and the Ipod Touch well know you can use it with almost any platform.This is a cool plugin for firefox to show how it works: http://loki.com/They also have a cool and simple web api for it if you have it installedIf you want to write your own script for this you need the sdk from skyhook found here: http://www.skyhookwireless.com/developers/sdk.phpThis is what I need help with. The docs show example using and include but they supply a dll. I couldn't find much info about the dll calls and I'm really bad at dll calling to.If someone can get me started or wants to help make a nice plugin/UDF let me know, any comments and questions are welcome.Here is the SDK/DLL/Docs: http://cyberzerocool.com/wpsapi-2.5.0.02-winxp.zipYou need authentication, you could use my user name and realm:username: cyberzerocoolrealm: cyberzerocool.comHere's one of their examples:#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; int 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; } Edited March 18, 2008 by CyberZeroCool Check out ConsultingJoe.com
ConsultingJoe Posted March 15, 2008 Author Posted March 15, 2008 [bUMP] just once Check out ConsultingJoe.com
daslick Posted March 19, 2008 Posted March 19, 2008 Who wrote the dll? skyhook? I LOVE the concept. I wish the source was in au3 so I could implement it without dlls though...
ConsultingJoe Posted March 19, 2008 Author Posted March 19, 2008 Who wrote the dll? skyhook? I LOVE the concept. I wish the source was in au3 so I could implement it without dlls though...Yes it was included with the sdk. There is an include file with it too but I don't know how to use it. It is a .h file extention.You can get the full sdk and documentation on their site: http://www.skyhookwireless.com/developers/sdk.php Check out ConsultingJoe.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now