Android Drag and Drop (Part 3)

Tweet This is the final post in a 3 part series on implementing Drag and Drop in an Android application. The first post covered hiding an ImageView when starting a drag. The second post covered handling drops outside an intended drop zone. This final installment covers moving a game piece as a result of a [...]

Android Drag and Drop (Part 2)

Tweet This is the second post in a 3 part series on implementing Android Drag and Drop. In my last post I covered how to hide an ImageView and just show the DragShadowBuilder object at the start of a drag. This post is going to cover my efforts on restricting the drag area. Trying to [...]

Android Drag and Drop (Part 1)

Tweet This is the first post in a 3 part series that is going to cover implementing Drag and Drop in an Android application. (I am currently using version 4.0 of the sdk, but I originally wrote the code in this series with the 3.1 version.) Why Use Drag and Drop When I started working [...]

Android Unit Testing

Tweet This post is going to cover unit testing a native Android application.   While working on my own modest Android application, I wanted to add some non-instrumented unit tests and was surprised  how challenging it was to use mock objects.  Admittedly, instrumented tests running on a emulator or actual device is probably a better [...]