Handbag app example code errors

I've been trying to upload some example code to get the Handbag app functioning https://github.com/follower/android-arduino-handbag/blob/master/library/Handbag/examples/SimpleHandbag/SimpleHandbag.pde but can't due to several error messages.

I've tried to upload to an Arduino Uno as well as the Sparkfun Electric Sheep dev. board Electric Sheep - DEV-10745 - SparkFun Electronics using both 0022, and 1.0 revs.

My error messages are shown below (slightly different for 0022 and 1.0). Would you have any suggestions as to what might remedy this?

from simplehandbag example (arduino 1.0; windows 7):

in androidaccessory.h:
WProgram.h: no such file or directory
EP record does not name a type
EP record has not been declared
'USB_NAK_LIMIT' was not declared in this scope

from simplehandbag example (arduino 0022; windows 7):

in androidaccessory.h:
EP record does not name a type
EP record has not been declared
'USB_NAK_LIMIT' was not declared in this scope

Any help is greatly appreciated!!

Hi,

WProgram.h has been renamed to Arduino.h in arduino 1.0
Source and fix: WProgram.h renamed with V1.0 of Arduino software · Issue #1 · adafruit/DHT-sensor-library · GitHub

Hope that will fix it!