Webcam in Linux or Raspberry Pi

Any way to webcam capture in xojo on the Pi or Linux? Monkey Bread Software does not seem have linux support yet.
Thanks
Derek

To check if I could access the Raspberry Pi camera I enabled it as described on the RP website and made a small standalone web app running on the RP. The web app only has a button and an ImageView.

I put the following code in the Button.Action handler:

// Take a snapshot.
dim s as Shell
s = new Shell
s.Execute(“raspistill -t 5 -w 320 -h 240 -e png -o snap.png”)

// Show snapshot.
dim picFile as new FolderItem(“snap.png”)
ImageView1.Picture = new WebPicture(picFile)

When I click the button a snapshot appears in the ImageView. Haven’t tried video capture yet though.