Important Links for Grails

It's so crazy that this is not easily found or published on the grails site.  There is an argument for using the maven site generator since this type of stuff can be found in a standard location in the site navigation.  Grails should take a lesson here, convention over configuration;)  (this is tongue in cheek)

Report Drivers

Did you know that you can now easily report good drivers, bad drivers, dangerous drivers-- even cute drivers!  Go to spotmouth.com and easily add your report.
Just as fun is reporting a driver, and seeing if you are ever reported. 
So head over to spotmouth and file that report!;)

phonegap and android 2.3 , will not work

Hey, nice to understand why my app crashes hard when in android 2.3
Phonegap is cool, but no one states the obvious tidbit:, hey guys, you can't use 2.3 because there is a bug in android when it tries to use javascript with a WebView....
http://code.google.com/p/android/issues/detail?id=12987

android gps in emulator

This was a show stopper for me.
The android emulator will not return GPS data until you do a "geo fix"
 
While there is lots of info on "geo fix", I would expect the emulator to a least default to google headquarters or something.  Damn you, making me do more work and telneting to my android console.
 

Make sure you return something from your grails actions!

In my grails application, I didn't understand how "index" action was being invoked from another action:

Green Apple Barter - READ THE FINE PRINT

In my previous posts, I explained how I owed Green Apple Barter a good sum of money for doing pretty much nothing for my business.

I finally "did the math" and decided to end my relationship with Green Apple Barter, and make payment arrangements so that I could pay them what I owe them.  I called my rep and cancelled my membership and promised to pay 100 per month.

editing acquia theme

For the spotmouth.com site, I started by writing a new theme, but in the end, decided to just edit the acquia theme.  One issue that I had was that this theme uses some background images.  While I could  (and initially did) just edit the images to match the color scheme for my design, it didn't feel right.

I wanted to way a way in CSS to remove the background-image that the theme was setting.  I added the following to my local.css and VOILA, it worked:

 

phonegap deviceReady not called in android

I found several other folks via a google search that experience the same problem.  To summarize, the deviceReady function IS being called, it just is being called super-fast, before your handler is setup to respond to the event.

Here is how I fixed it for the spotmouth android app. I test for the presence of the navigator.device object.  If it's not there, I register my callback. If there is already present, than the deviceReady event has already been called, and I just call it myself.

Html:

<body onload="onBodyLoad()">

</body>

how to find out what version of websphere you are running

The information is output in the "SystemOut.log" file where the application server log files are.

 

WebSphere Platform 6.1 [ND 6.1.0.21 cf210844.13]  
Detailed IFix information: No IFixes applied to this build
Host Operating System is Linux, version 2.6.9-78.0.8.ELhugemem
Java version = 1.5.0, Java Compiler = j9jit23, Java VM name = IBM J9 VM

 

Syndicate content