Archive for August, 2009

Who says you cannot use Groovy Gradle as an Android Application Build script?:

EMMA Instructions

Posted: August 26, 2009 in Android, Java, Mobile
Tags: ,

AS you may have figured out by now thee are missing pieces to the EMMA instructions that developers have posted to the Android mailing lists. I will be publishing my own set of instructions soon. In the mean time, the file coverage_targets.xml in android-repo/development/testrunner has to be changed ot include the android application you are [...]

You would think that implementing Agile-TDD at the build system level for Android Application Development would b the hard part. Not that is not challenging. The hard part seems to get companies and firms to believe that if its implemented right and executed that you have white box QA testing using  this build system framework [...]

In past lives I have used DSL scripting languages to decrease complexities of builds. If this was a groovy/grails project your woudl set-up a projectName.environment.groovy script that would hold a static list of environment settings and use that to configure the build and use a environmentTarget flag to choose between whether  you had the debug, [...]

EMMA Progress

Posted: August 21, 2009 in Android, Java, Mobile
Tags: , ,

I think I made some progress in  the proper EMMA set-up so that I can get Android development to have them EMMA enabled: Thus, I am creating a sample project and a  Google Knol to detail the steps.

So you this nice android application but you need  to test the UI using some touch screen touch events in which you the developer supply the x and y coords in you test class. Right now there is not a TouchUtils method for this set of use cases. The method I came up with probably [...]

The Linux version of MotoDev Studio for Android is out. Screenshot :

One of my complaints has been that the underlying platform. Eclipse 3.4, uses ANT 1.0 which has a major bug. Unzip this into your plugins folder and take out the ANT 1.0 plugin folder in your MotoDEvVStudio for Android install. Now when you do soem tasks like declare the task library for JDepend it will [...]

A trace trick

Posted: August 16, 2009 in Android, Java, Mobile
Tags: ,

This is form one he many hard-working Google Android engineers. a trace file is only so big, about 5 megabytes. Thus, while it might be big enough to record traces in one method its nto big enough to contain all traces of a program. So we set a variable to use in the file-name and [...]

To start the Android Emulator and proceed to the next ant task, this should work: It should work. Now this is the emulator in the released SDK as when you build the sdk/emulator from source its creating its own AVD and configuration file entry to use that avd. But for just the released SDK/emulator it [...]