Setting up the Developers Kit for the Sidekick/Hiptop

Contributor Icon Contributed by seamonkey420 Date Icon July 31, 2004  
Tag Icon Tagged: HipTop Sidekick

This is a quick guide on how to setup the sidekick developers kit. Based on personal experience and hints found on the web.

The locations for where i installed the dev. kit and drivers and so on can be changed to your preferences, just be sure to update the variables for java and apache ant to the appropriate ones!

Peace
seamonkey420


created on: july.27.2004

WHAT YOU NEED:

http://developer.danger.com - the SK Developer’s SDK and developers key

-OPTIONAL, ONLY IF YOU WANT TO BE ABLE TO COMPILE SOURCE CODE :
http://java.sun.com/j2se/1.4.2/download.html - Java J2EE SDK 1.4
-OPTIONAL, ONLY IF YOU WANT TO BE ABLE TO COMPILE SOURCE CODE :
http://mirrors.midco.net/pub/apache.org/ant/binaries/apache-ant-1.6.2-bin.zip - Apache Ant 1.6.2

Device Library Files (at danger dev. site)

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

Sidekick

UPDATED on 8/1/04! These steps are optional marked in dark red, not required if you plan on just uploading apps and ringers to sidekick (steps 1a, 2a, 2b, 6a). If you plan on developer and compiling source code, all steps are required!.

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

1a. Go to Sun’s Java website, and get the Java J2EE 1.4 SDK

2. Install the Sidekick Dev kit to your c:\sidekick (extract files to this location). Also extract the device files to that same location.

2a.
Install apache ant to this folder, c:\sidekick\apacheant
Install the Java SDK to this folder c:\sidekick\java

2b. 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 )

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.

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.

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

6. BOOM! you can now upload and if your geeky enough, develop your own applications and ringers. Peace!

6a. 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.

seamonkey420

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)

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

Previous recipe | Next recipe |
 

Viewing 6 Comments

 
close Reblog this comment
blog comments powered by Disqus