User Tools

Site Tools


proton:webos_setup

Compiling for Palm (er, HP now?) WebOS from Windows

First, setup the NDK toolchain stuff:

  • Get a Palm Pre or Pixi and figure out how to activate it (there are workarounds if you can't, I'm in Japan and got it going), and connect to your local wifi - oh, and you'll need a USB cable for it. The USB cable also fits my Nexus 1
  • Download the PDK (I recommend the 32 bit version)
  • Download the CodeSourcery toolchain (scroll down to get the link)
  • Make sure the "simple" app works can be run on your device before continuing

Now you're ready to compare RTBareBones!

  • Navigate to RTBareBones/WebOS with File Explorer
  • Double click BuildInstallAndRun.bat (or just build.bat if you don't want to package it and have it automatically try to copy it to your phone and run it)

If everything worked, you will hear a sound effect when the compile is finished and the app will be running on your phone.

For other examples, same idea, but keep in mind you'll need to build the media first. The RT3DApp example isn't setup for WebOS compiles yet.

Compiling a Windows version using the NDK SDL libraries

Using the MSVC solution you can compile a native Windows version using the special SDL version the NDK gives you. This is useful for debugging NDK specific issues.

To do this, use the pre-setup “Debug WebOS” configuration. It “should” just work as the project is setup to include the NDK stuff through environmental variables that its installer sets up. (example, the project adds $(PalmPDK)\host\lib to the lib paths)

Misc notes

  • To quit WebOS apps, you “flick” up on the black finger pad under the screen to make it shrink to “card mode”, then flick again to close the app.
  • All in all, I'd say the WebOS NDK platform is probably the easiest out of all of the smart phone platforms to get going and work with. I like the Pre!
proton/webos_setup.txt · Last modified: 2010/12/28 14:44 by seth