DotNet

From BlackberryTracker

Jump to: navigation, search

Contents

[edit] Introduction

Release Date: 20th December 2007 Current Version: 0.0a

Download Link: http://www.ablebox.com/bbtracker/bbtracker.zip

[edit] Installation

Download http://www.ablebox.com/bbtracker/bbtracker.zip

Unzip to a convenient location

Add a reference in your .NET 2.0 or higher project (.NET 1.x not supported)

[edit] Example

Example of the dotNet API

This example prints all of your devices and their locations.

Imports Tech9.Blackberry


Dim bb as New BBTracker('YOUR_API_KEY')
Dim devices as BBDeviceCollection = bb.GetDevices()

For Each device as BBDevice in devices  
    Console.WriteLine("Device Name: " + device.Name)
    Console.WriteLine("Device ID: " + device.DeviceId)
    Console.WriteLine("Latitude: " + device.Latitude)
    Console.WriteLine("Longitude: " + device.Longitude)
    Console.WriteLine("Elevation: " + device.Elevation)
    Console.WriteLine("Date: " + device.Updated)
Next

[edit] Disclaimer

Although it works for me, it may not work for you

Full source is included.

BarryZ 03:47, 2 January 2008 (MST)

Personal tools