Creating new java project with Cloudfoundry and Spring Source Tool

After picking up SpringSource Tool Suite and Installing the Cloudfoundry plugins creating a new java project is painless, as long as you know which options to choose. From the New wizard you need to choose “Dynamic Web Project”



Target runtime at the time of this post was “Cloud Foundry (Runtime) v1.0” and Dynamic web module version “2.5” with a Configuration of “Default Configuration for Cloud Foundry (Runtime) v1.0”

The Project layout



Creating a new Package and class






Create a classic HelloWorld



Time to extend the HttpServlet and override doGet



Add entries of the servlet and servlet-mapping



Add Application



Start the service



And you have the basic hello world from the cloud foundry samples.


Building and Editing Linux Kernel in Eclipse for Android Rowboat

First off some references I used to complete this task. This was possibly the best so far
http://issaris.blogspot.com/2007/12/download-linux-kernel-sourcecode-from.html
Some other references also helped Ref1, Ref2, Ref3, Ref4
I had following file system layout when dealing with TI_DevKit V2.2


After you have everything imported per directions the next big step is getting the .config setup. Follow the directions on the android rowboat site for doing a first build of the linux kernel in commandline before trying to build from eclipse. This helps generate the .config file. Some additional settings needed was PATH and Build Command


/home/adam/BeagleBoard/rowboat-prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games


BeagleTouch on TI_Android_Froyo_DevKit-V2.2

Liquidware’s BeagleTouch provides a nice display device for BeagleBoard developer. They provide non android linux kernel source code to jump in right away to use it. BeagleTouch blog post by will on antipastohw. Here is some crude patches to get started with it on rowboat / TI DevKit. I have my patches located on google docs:

BeagleTouch.TI_Android_Froyo_DevKit-V2.2.config

BeagleTouch.TI_Android_Froyo_DevKit-V2.2.patch

Apply the patch accordingly and copy over the config into the kernel source tree.


One issue that was noticeable from a direct patch of code was the y-axis being inverted. I corrected it with a hard coded reference value for now.



This patch doesn’t help when offset loss happens in the touch screen. Looking info using tslib to capture better data settings and a linear formula for pointer calculations. Some good instructions for compiling tslib on android can be found on wenes1’s blog. A different direction to fix this issue would be to use Y_AXIS_MAX constant.

It was hard for me to find any direct documentation on how touch screen drivers should be designed and configured in Android. If you know of any please ping me.