I have done both of these in Ubuntu 9.04 and 9.10, however 9.10 requires an extra step or two.
Palm has an excellent guide that has instructions for 32bit and 64bit users, located HERE.
I will give you a few tips though to make the Palm webOS install and use easier.
1.) Where it says "Add the repository to /etc/apt/sources.list:" instead just go to:
System > Administration > Software Sources > Third Party Software and click the add button to add the line it gives you. Much easier. It will want to refresh, which is good, but it will give you an error about not having a key, but that is the next step in their guide so just dismiss the error message.
2.) If you already have the latest version of Virtualbox installed ignore the install command.
3.) The novacom and sdk deb files they tell you to download are current, but the commands they give you beneath them are not, so, change the command to reflect the current file names, just look at the names of the packages you downloaded.
4.) Once webOS is installed and running (either from Virtualbox or through the terminal with the command: palm-emulator) to close apps you click the screen and flick the mouse upwards. Use the End or Esc key to minimize or maximize app windows.
5.) If you don't plan on creating applications for the Palm webOS then don't bother installing the Eclipse plugins it mentions at the end of the guide.
UBUNTU 9.10 USERS:
When you reach the part of the instructions on Palm's site that tell you to run palm-emulator in a terminal, you will get a message that says..
"In order to install or debug applications in the Palm Emulator, the novacom service must be running on your desktop. Please verify that you have the latest Palm SDK installed correctly."
Don't worry, it's just because of a change made to 9.10, (if you see it close the error message) and all you have to do is run this command...
sudo /opt/Palm/novacom/novacomd
...before you run palm-emulator in a separate terminal. That first command starts the novacom service so that you don't get an error when you run palm-emulator.
Ok, so you don't want to have to run those in the terminal every time in the future right?
So just go to System > Preferences > Startup Applications
Click the Add button.
For name enter: Palm WebOS Novacom
For the command enter this: /opt/Palm/novacom/novacomd
Comment field is optional
Click the save button, done.
Now reboot the computer and from here on out you just start up Virtualbox to run Palm WebOS!
----------------------------
Now....
As for the Android instructions, those I will give you here because the ones I found were outdated and I had to adjust them to make them work.
Go here: http://code.google.com/p/live-android/
Download the files named:
liveandroidv0.3.iso.001
liveandroidv0.3.iso.002
Place them on the Desktop.
To create a useable ISO image you have to open a terminal and navigate to the Desktop:
cd /home/user/Desktop
Of course, replace user in that command with you actual username.
Now enter this into the terminal:
cat liveandroidv0.3.iso.001 liveandroidv0.3.iso.002 > liveandroidv0.3.iso
This takes the two images and merges them into one.
1.) Now create a new virtual machine in Virtualbox by opening the program and clicking New.
2.) Name it Android, select Linux as the operating system, and Linux 2.6 as the version.
3.) Enter 300MB for the RAM this is more than enough.
4.) You do not need to create a virtual drive or disk because this is only a live image, you aren't actually installing it, so uncheck Boot Hard Disk (Primary Master) it will pop up a Window telling you things but just click Continue, then click Finish.
8.) Make sure Android is highlighted in the menu by clicking on it, then click Settings.
9.) Select CD/DVD ROM in the menu, check the box for Mount CD/DVD ROM Drive.
10.) Click on ISO image file and find your Android ISO and select it, then click OK.
11.) Select Android in the list of virtual machines and click Start to launch it.
From now on every time you launch it, you will be using the Live image, it will give you a choice of 800x600 or 1024x768 at boot.
The Esc key is useful on Android too.
If you want to actually try installing Android on a hard drive, which isn't always successful, you can try using the Android x86 projects iso and guide here:
http://www.android-x86.org/documents/installhowto
So....
Remember, if you try either of these guides, package names will change if they release new versions, thus command will change, usually you can just change the name of the package in the command and you will be good. But always check before running anything.


