This is not the tool itself but the Gradle build GUI showing the tool itself. Because the gradle build lifecycle is tdd based we get that as a foundation and I am just integrating some tools on top of the gradle android plugin such as code analysis tools robolectric, etc. How much dev time are [...]
Posts Tagged ‘Java’
Android TDD Build Tool
Posted: January 14, 2011 in Android, JavaTags: Behavior Driven Development, Build Management, Emulator, Java, Test-driven development, Unit testing
Image via Wikipedia With Packt Publishing attempting to recruit me as an android 3.0 development book author and an android training opportunity position opening up in downtown Chicago, I once again have the opportunity to think about how android development should be taught in class form and book form. Its not that there are not [...]
AndCooperANT 0.1.1.1 Release
Posted: October 6, 2010 in AndCooper, AndroidTags: Apache Ant, Build automation, Java
There is now a download of the AndCooperANT Android Java Application build tool. Its still alpha with the most tested area being the build.xml script. Of course if you find errors report them in the issues section. Some of the docs are still in flux at the moment let me know in an issue/bug report [...]
The Philosophy of AndCooperANT
Posted: September 27, 2010 in AndCooper, AndroidTags: Build automation, Build Management, Continuous integration, Integrated development environment, Java
If you visit most android developer forums you find android developers from all areas of development. Some are web developers, some are MS.NET developers, some are java developers, some are JavaEE developers, some are CS students, etc. Among those many groups there is not a common thread of using a continuous integration build server. With [...]
Android Java Patterns and DI
Posted: September 5, 2010 in AndroidTags: Android, Dependency Injection, Java, Just-in-time compilation, Patterns
Image via Wikipedia The debate of using Dependency Injection in Android has always been half-assed in a way. First, some background. On Mobile initialization is the bottleneck as opposed to Enterprise where the application is started once so we do not care about initialization times. In dependency injection there is an initialization setup penalty. People [...]
Logging the Android Way
Posted: July 19, 2010 in AndroidTags: Android, Debugging, Java, Programming
In Android Java Applications we use a logging system to record log events including errors, debugging, etc. Log levels are: Verbose 2 Debug 3 Info 4 Warn 5 Error 6 Assert 7 The default log level set by the Android OS is 4 and above. Its the reverse for the levels of detail in that [...]
I still have to fix some drawable selectors but its working: Okay, now for the secret sauce: That sits in my onCreate method. the only bad things is it will break when the APi changes.
There are some javadoc errors that I see when developers attempt to produce javadoc for an Android application project. One, not specifying the android.jar as a classpath parameter and the second is not specifying what Androdi SDK version in th e footer some place: Remember, there is no separate javadoc for the SDK online so [...]
TouchScreen Testing 101
Posted: August 19, 2009 in Android, Java, MobileTags: Android, Java, Touchscreen, UnitTesting, User interface
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 [...]
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 [...]


