
Intel Location SDK Installation and Samples
Intel Location SDK is a SDK that provides Location engine and a simple,clear API to build any location based application or its component.It includes C++ and JavaScript API implementation( we think it’s possible to integrate any product also into .NET environment ).You can download a preview-release from
http://softwarecommunity.intel.com/articles/eng/3692.htm
Intel SDK preview release comes with a setup executable that includes
- Intel Location Engine
- Intel Location API
- Helps , you know guides
- Samples. with Projects ( Visual Studio )
If You have Visual Studio ,you can start testing API right after installing SDK by using given solution files.But it’s actually a VS2005 solution file. If you use VS2008 , It’s successfully converted into VS2008 solution.If you have any previous versions you need to create your development environment.You should simply do these two things for any environment to develop with Intel Location SDK in C++
-
Include Location SDK header directories : You need Intel Location SDK header files to use API.It’s located in directory \”Intel Location SDK installation dir”\include
-
Add Location SDK lib file as library dependency : You need ilocation.lib for linking library into executable.It’s located in directory \”Intel Location SDK installation dir”\lib
Intel Location SDK – Architecture Characteristics
Intel defined some API features during developing this API:
-
Multi-platform : Easy to say , hard to accomplish.But seems as Intel has done it , tested and approved
-
Sync. and Async Access : Yes , some API’s changes your system design because of it’s defined one type of access. But Intel has a clear strategy that if you think a feature to implement in an asynchronous or sync. type, you can choose any one,because Intel supports both(maybe not in every access)
-
Call over Interface : Basic of an API, but sure it’s well-defined and clear.
-
Standardized Error Return : It’s good that all API methods has a standard error management mechanism that Intel location SDK calls return result with type ILOC_RESULT.
Intel Location SDK – Getting Location
Simply Getting Location is done by applying these steps
-
Get a location provider, using get Location Provider method, it has two parameters, authentication key and location provider interface.If you don’t use authentication key ,you can enter NULL for this parameter.It seems this parameter is for future use no-implementation is done for it(should wait for release, i think).And second parameter is resulting location provider.
-
Create a location using a Location Factory.Location provider is responsible for creating a location.So If anyone wants to create a location it should use Location provider’s Location factory.In here we see a clear and consistent design that is one of the major points of intel location sdk.
Call Location Provider’s get location method by using created location as a parameter and also giving a time-out.


