Home » Android (page 36)

Android

Android Dependency Injection and Testing Libraries

Anything and everything that makes life easier to develop for Android should be looked into. There are a couple of libraries that make testing easier, increase the modularity of your code, and provide already created mock objects: RoboGuice – This is an adaption of Google’s dependency injection library but for Android Robolectric -This is a testing framework/platform which works to remove the ...

Read More »

JCG Studios – ArkDroid beta launch

Hello all, The last few months we have been very busy developing our first Android game project. ArkDroid is what we would like to call “brick breaker evolved”; an Arkanoid clone game that comes to enrich the world of classic “brick breaker” games with cinematic storytelling and RPG essences! Be certain that we have learned a lot during our first ...

Read More »

Android: Menu Class Investigation

Android provides decent functionality for instantiating your own run of the mill Menu within the standard framework. They even have a half decent guide on using them within your applications. Most users will be well acquainted with the stock menu seeing how Google Maps, GMail, the Contacts list and even the default background window use them. As comforting as they ...

Read More »

Android JSON Parsing with Gson Revisited

A while ago we hosted an article about using Gson for JSON parsing with Android. The tutorial was a simple showcase of how to leverage Gson with Android. Recently, Bill Mote from the AYDABTU Development site contacted me and informed me that he had used our sample code in one of his Android applications, namely Broadcast SMS. More specifically, he ...

Read More »

Android HTTP Camera Live Preview Tutorial

The Android SDK includes a Camera class that is used to set image capture settings, start/stop preview, snap pictures, and retrieve frames for encoding for video. It is a handy abstraction of the real hardware device. However, the SDK doesn’t provide any camera emulation, something that makes testing camera enabled applications quite difficult. In this tutorial, I am going to ...

Read More »

Android Google Maps Tutorial

The Android platform provides easy and tight integration between Android applications and Google Maps. The well established Google Maps API is used under the hood in order to bring the power of Google Maps to your Android applications. In this tutorial we will see how to incorporate Google Maps into an Android app. Installing the Google APIs In order to ...

Read More »

Android XML Binding with Simple Framework Tutorial

XML is still important in the area of web services even though REST has gained significant attention lately. Exposed APIs via web services is the main reason I have to manipulate XML content in my Android applications. For that reason I need to parse XML documents even though it is a tedious procedure. In the past, I showed you how ...

Read More »

Android Animations – Quick Guide

A quick guide in the world of animations in Android from Chandan, one of our JCG partners. (NOTE: The original post has been slightly edited to improve readability) Setting animations to a layout programmatically is described below. Here we go: Create an XML file named for example “bottom_out.xml” and place it in a folder called “anim” inside the “res” folder. ...

Read More »