Developers
Welcome to the Ipoki Project! The source code of Ipoki plugins can be downloaded it from Subversion Repository in Google Code.
If you are looking for a stable release of the source code, also you can download it from this page.
We invite you to develop your own plugins for mobile devices, we are open to publish your developing experiences with Ipoki API. For example, you can develope plugins for other devices not supported yet. Here you can find examples of code and the API definition. Ipoki aims to be a georepository of as much sources as possible.
Use of this source code and the API is free for non-comercial application development.
Before starting to use Ipoki you should Sign Up to get a free account. If you have questions, just send us an email to [email protected].
Source Code
Platform | Product | Version | Link |
Source Code of Ipoki Plugin for Windows. | 0.3 | Download | |
Source Code of Ipoki Plugin for Windows Mobile 5/6 PDA | 0.3 | Download | |
Source Code of Ipoki Plugin for Windows Mobile 5/6 Smartphone | 0.3 | Download | |
This version was developed on Visual Studio 2005. Mobile versions must be compiled using Windows Mobile 5 Pocket PC SDK, Windows Mobile 5 Smartphone SDK, Windows Mobile 6 Standard SDK o Windows Mobile 6 Profesional SDK depending on versions. |
Platform | Product | Version | Link |
Source Code of Ipoki Plugin for Symbian S60 3rd Edition | 0.2 | Download | |
Source Code of Ipoki Plugin for Symbian S60 2nd Edition | 0.2 | Download | |
There are two ways to compile this version: |
Platform | Product | Version | Link |
Ipoki Plugin for Blackberry | 0.3 | Download | |
Ipoki plugin for Blackberry. |
Ipoki API
Using Ipoki API you can set and get the location of an Ipoki user and develope your own plugins.
The Ipoki API is available for non-commercial use by outside developers. If you want to use it for commercial purposes then you need to get our explicit approval.
Plugin Methods | ||
Method | Description | |
signin.php | Users should be authenticated using the Ipoki plugin. Use this method to do it. | |
Call | /signin.php?user=[username]&pass=[password]&ver=[optional plugin version] | |
Return | echo 'CODIGO$$$'.[session id].'$$$'.[server URL].'$$$'.[0=no update, 1=optional update, 2=must update].'$$$' | |
ear.php | Set the user's location. | |
Call | /ear.php?iduser=[session id]&lat=[latitude]&lon=[logintude]&h=[altitude]&speed=[speed]& to=[to]&comment=[comment]&action=[action]&change=[status change] |
|
Return | if ($alert) {echo 'ALERT$$$' . [alert text] . '$$$' . [URL] . '$$$' . [latitud] . '$$$' . [longitude] . '$$$' . [radio] . '$$$' . [username] . '$$$'; } else if ($comment) {echo 'COMMENT$$$' . [user] . '$$$' . [comment] . '$$$' . [action].'$$$';} else {echo 'OK'; } | |
signout.php | Close the connection with the server. | |
Call | /signout.php?iduser=" + [session id] | |
Return | echo 'OK'; | |
readposition.php | Get the location of a user. | |
Call | /readposition.php?iduser=" + [session id] | |
Return | (-999.999999,-999.999999) | |
userstatus.php | Get the status of a user. | |
Call | /userstatus.php?iduser=" + [session id] | |
Return | echo '$$$'.[user status].'$$$'.{ON-OFF}.'$$$' | |
myfriends.php | Get a list of friends for the calling user and their location. | |
Call | /myfriends.php?iduser=" + [session id] | |
Return | echo "$$$".[username]."$$$".[latitude]."$$$".[longitude]."$$$".[session key]; |
API Methods | ||
Method | Description | |
APIsignin.php | Users should be authenticated using the Ipoki API. Use this method to do it. | |
Call | /APIsignin.php?user=[username]&pass=[password] | |
Return | echo 'CODIGO$$$'.[session id].'$$$'.[server URL].'$$$' | |
APIsignout.php | Close the connection with the server. | |
Call | /APIsignout.php?iduser=" + [session id] | |
Return | echo 'OK'; | |
APIreadposition.php | Get the location of a user. | |
Call | /APIreadposition.php?iduser=" + [session id] | |
Return | (-999.999999,-999.999999) | |
APIuserstatus.php | Get the status of a user. | |
Call | /APIuserstatus.php?iduser=" + [session id] | |
Return | echo '$$$'.[user status].'$$$'.{ON-OFF}.'$$$' | |
APImyfriends.php | Get a list of friends for the calling user and their location. | |
Call | /APImyfriends.php?iduser=" + [session id] | |
Return | echo "$$$".[username]."$$$".[latitude]."$$$".[longitude]."$$$".[session key]; |
If there are any other question or suggestion, please don't hesitate to send us an email [email protected].