Android News, Programming Articles, Tutorials, Sample Codes, Code Snippets, Developer Forums

Articles

Filed Under:

Familiarize yourself with Linear Layout

Linear Layout is one the most powerful android layout objects that is used extensively in android application development. In this article we make attempt to familiarize you to the Linear Layout and its mechanism of organizing the controls.

More >
Filed Under:

Creating a table layout in android app using XML and programmatically

 

As a part of the series of articles that familiarises with the various UI Layouts, we shall today look into creating a table layout from XML and through code. If you have used the table layouts in HTML then this table layout is quite similar to it.  The view controllers are organised as grid made up of rows and columns, where a cell can display a view control. 

More >
Filed Under:

Creating a frame layout in android app using XML and programmatically

 

In this tutorial we will look into creating a Frame Layout using xml files as well as creating it programmatically. As discussed in the earlier tutorial, a frame layout displays a single view on which all the layout widgets can be arranged. We can visualize a frame layout as a stack of layout widgets that are piled one upon the other in the order of adding them.

More >
Filed Under:

Using Common Layout Objects in Android Applications

In the previous article we have seen how to create an android xml file for a layout creation in android. In this tutorial we shall look into the common layout objects that we can use to create a layout and mechanism of organising the layouts.

More >

Creating UI Layouts in Android Using XML

In the previous article we have seen how we can create the layouts programmatically. In this present article we shall look into creating the layout files using xml files. As a prerequisite I hope that you know what XML is and what the structure of XML file is. Before digging deep into creating a layout, we should know where the XML files are located and how to create a new one.

More >
Filed Under:
Tags: 

Creating Nine Patch images using Draw9Patch Android SDK tool

In the previous article we have seen how the nine patch image is useful and also gone through the stretchable and non stretchable regions of the image. In this article we will look into the creation of a nine patch image with the draw9patch tool

The 9 patch tool is supplied with android sdk and you can find it in the following location.

More >
Filed Under:
Tags: 

Understanding UI layouts in Android

In this series of articles we shall learn about creating the layouts for an android application. A layout in Android programming means two things in android. It can be termed as a resource that determines what is displayed on the screen and also a View class that organizes controls.

More >

OPEN GL ES Tutorial Part 1 : Setting up view

In this series of articles, We will be introducing you to Android Game Development using the OpenGL ES graphics API.

We use Eclipse as IDE and the 2.2 android version. I will suppose you know Java programming and that you already created an application for android, this means that you know how to setup an Android project on Eclipse.

More >

Understanding Android Security Permissions

When you are  developing applications, in certian situations you need to access sensitive information on device e.g gps location coordinates, contacts data etc. Android requires permissions for applications to read or write such sensitive data. 

More >

Understanding Nine patch images in Android

Mobile applications are rated highly on the user experience that the app provides to its user. Android devices come in various shapes and sizes and so usage of images and image buttons to support all the devices is essential. We can use a simple tool called as draw9patch tool provided by android sdk to use a single image for all the devices.

More >

Pages