Posts Tagged ‘Java’

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 [...]

Teaching Android

Posted: November 13, 2010 in Android, Mobile
Tags: ,

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 [...]

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 [...]

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 [...]

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 [...]

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 [...]

Tab Highlights Custom

Posted: March 27, 2010 in Android
Tags: , ,

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.

Application JavaDoc

Posted: February 10, 2010 in Android
Tags: , , ,

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 [...]

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 [...]

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 [...]