Android ADKをarduino-1.0に対応させる

arduino-1.0になってかなりの部分に修正が入ったためADKも修正が必要になっています。
githubで修正済みの物を置いてあります。
https://github.com/bols-blue/Android_ADK
zipファイル
https://github.com/bols-blue/Android_ADK/zipball/master

これより先はエラーの表示とarduino022からarduino-1.0への移植のための情報です。
具体的には以下のようなエラーなどがでます。

WProgram.hの名前変更によるもの

arduino-1.0/libraries/USB_Host_Shield/Max3421e.h:37:22: error: WProgram.h: No such file or directory
In file included from alcoholsensor.cpp:1:
arduino-1.0/libraries/USB_Host_Shield/Max3421e.h:44: error: »byte« does not name a type
arduino-1.0/libraries/USB_Host_Shield/Max3421e.h:46: error: »byte« has not been declared
arduino-1.0/libraries/USB_Host_Shield/Max3421e.h:46: error: »byte« has not been declared
arduino-1.0/libraries/USB_Host_Shield/Max3421e.h:47: error: expected »;« before »(« token

これをクリアすると今度は戻り値のエラーで以下のようになります。

In file included from /home/bols/android_adk/arduino-1.0/libraries/USB_Host_Shield/Max_LCD.cpp:32:0:
/home/bols/android_adk/arduino-1.0/libraries/USB_Host_Shield/Max_LCD.h:101:16: error: conflicting return type specified for ‘virtual void Max_LCD::write(uint8_t)’
/home/bols/android_adk/arduino-1.0/hardware/arduino/cores/arduino/Print.h:48:20: error:   overriding ‘virtual size_t Print::write(uint8_t)’
/home/bols/android_adk/arduino-1.0/libraries/USB_Host_Shield/Max_LCD.cpp:263:15: error: prototype for ‘size_t Max_LCD::write(uint8_t)’ does not match any in class ‘Max_LCD’
/home/bols/android_adk/arduino-1.0/libraries/USB_Host_Shield/Max_LCD.h:101:16: error: candidate is: virtual void Max_LCD::write(uint8_t)

以下のページに変更点がまとめてあります
日本語、サンプルコードなし
http://www.musashinodenpa.com/wiki/
英語、サンプルコードあり
http://blog.makezine.com/2011/12/01/arduino-1-0-is-out-heres-what-you-need-to-know/

arduino-1.0は結構大きな変更だったようですね。
何かの参考になれば幸いです。