Installing the SDK/Developer's Kit for the CSK and SK2 (Sidekick/Hiptop)

Home
Hotkeys / Hints
Dev Kit Install
htConsole Tips
Making Ringers
Uploading Ringers
Sidekick Links
Overview: This guide gives explains how to setup the SDK / Developer's Kit from Danger for the Sidekick and the Sidekick 2. The main guide just explains how to install the dev kit so you can upload apps and bndls to your Sidekick. At the bottom I explain additional steps so you are able to compile source code and run the bndls in the ant Hiptop Simulator.

NOTE: Read the disclaimers when signing up for your dev kit/key at danger.com about how you give up software warranty/support. However, your hardware warranty is still in effective.

Software Required:
  • Developer's SDK/Dev Kit and developers key
  • USB Drivers for cable (included in dev kit, check in the htconsole folder for a file named "windows-hiptop-driver.zip", extract it to a folder in htconsole)
  • USB data cable - comes with sidekick (CSK usb cable will work with SK2)
    CSK or SK2
  • Java J2EE SDK 1.4 (optional, only for compiling)
  • Apache Ant 1.6.2 (optional, only for compiling)
  • Device Library Files (optional, only for compiling, at danger dev. site)

Step 1. Go to the developer.danger.com website and get the developers kit (sdk).

Step 2. Install the Sidekick Dev kit to your C:\ (extract files to this location, the zip will create a new folder, so the dev kit's path will be C:\hiptop-sdk). Also extract the device files to that same location.

Step 3. Install the USB Drivers.
-Go to Control Panel > Add Hardware Wizard.
Plug in the USB Cable to PC and point the wizard to look for driver files to where we extracted USB Drivers to.

Step 4. Go to the Location where we installed the sidekick, then go into the htconsole folder, run the htconsole.exe program. This is a shell to use to upload programs and your developers key. Here's what you might see when you load up htconsole.


Step 5. Hopefully you have your developers key, once you do you'll have to upload it. In htconsole go to Commands > Flash System and find the key you received from Danger.




Step 6. BOOM! you can now upload and if your geeky enough, develop your own applications and ringers. Peace! Just go to Commands > Upload Bundle


HINTS/TIPS on using HTConsole:

[commands]

-loader list (lists all installed apps/bundles)
-loader delete bundlename (replace bundlename with name you get after running " loader list " )
-loader save (saves bundles to RAM)



--------------------------------------------------------------------------------

Setup Dev Kit to Compile Source Code | ADVANCED (Installing Java SDK, Apache Ant, setting up Java variables)

Additional Steps:
1. Go to Sun's Java website, and get the Java J2EE 1.4 SDK
2. Install apache ant to this folder, c:\sidekick\apacheant
Install the Java SDK to this folder c:\sidekick\java

3. Once your done, you'll need to setup your system variables.

-Right Click "My Computer" > Select Properties
-Go to the Advanced Tab
-Click the Environmental Variables
-Under the "User Variables for XXXX" part, select the PATH variable and click Edit
-put in the paths to the java sdk and apache ant
(ie c:\sidekick\java\AppServer\jdk;C:\Sidekick\apachant\apache-ant-1.6.2\bin if you used my locations above)
and click OK
-then click the New button to add a new variable.
Variable: JAVA_HOME
Value: this points to the java location (ie C:\sidekick\java\AppServer\jdk )

4. If you want to compile source code, there are examples in the dev kit folder in Examples.
When in the folder of the example, at your command prompt type: ant to compile the source code and it will then run the application in the Sidekick Emulator.

http://skdr.net - Great place for alpha/beta programs!

 

seamonkey420 2004,2005©-This website and its author DO NOT promote piracy or bootlegging. This site and the content on it are provided as-is and is intended for educational/personal archival  purposes only.