Home » Tag Archives: Android Tutorial

Tag Archives: Android Tutorial

Android – Dashboard design pattern implementation

android-logo

Before reading this article, please learn the prerequisites mentioned above so that you can have better idea for the implementation of this solution which i am going to discuss here. Do you know what is Dashboard pattern exactly? In brief, we can say Dashboard is a page containing large and clear symbols of main functionality and optionally an area for ...

Read More »

Android Tutorial: Gestures in your app

android-logo

Gestures in mobile apps are pretty common place these days. Almost anyone with smart phone experience knows that pinching will usually zoom in on an image. Now, using Gestures in Android is a snap. OnTouch All gestures are really handled with one event on an Activity. OnTouch is called anytime a View is touched on the screen. It provides all ...

Read More »

Android: Gallery View without Pictures

android-logo

Android’s Gallery View is one of the first widgets Android created. It’s so old now that some people even find it hard to find. The Gallery view provides a list of scrollable objects much like the standard ListView. The one main benefit of using the Gallery View is its snap-to-position feature. When the user stops scrolling, the images that end ...

Read More »

Android Dependency Injection and Testing Libraries

android-logo

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 »

Android: Menu Class Investigation

android-logo

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

json-logo

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

android-logo

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

android-logo

The Android platform provides easy and tight integration between Android applications and Google Maps. The well established Google Maps APIis 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 APIsIn order to be able to ...

Read More »

Android XML Binding with Simple Framework Tutorial

simple-logo

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

android-logo

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 »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.