In this tutorial, we’ll create a simple android application that show a list of popular android apps complete with their icons, total downloads and ratings data. Note, all the apps data we use in this tutorial is sample data. We use android List View to show list of apps. The data for the list view is fetched from MySQL Server in JSON(Javascript Object Notation) format. We use PHP as server Read More ...
HTML5 is new technology that is developed as a replacement for current HTML standard. HTML5 brings so many improvement that not exists in current standard HTML. Canvas is one of the most important element of HTML5. This new element allows us to draw directly and manipulate any pixels on canvas. The canvas has a context that provides us cool high level API to help us when drawing onto canvas. In Read More ...
Mandelbrot set is a mathematical set of points whose boundary is a distinctive and easily recognizable two-dimensional fractal shape. The Mandelbrot set is defined over the complex number plane. The definition of the Mandelbrot set is simple but the structure of the set is really complex and beautiful. Mandelbrot Set Overview Mandelbrot set is defined mathematically as the set of values of c in the complex plane for which the Read More ...
Async Task is an android helper class that will allows you to run a background processes. If you are a Java programmer, may be you are familiar with thread. If you run a long task in the main thread, the current user interface will be blocked untill the task has finished. This is not a good practice. To avoid the user interface is being blocked, the long task must be Read More ...
Gravity is an android method for aligning view in a layout. There are two kinds of gravity, gravity and layout gravity. Basically a gravity is set in xml layout files, but you can also set a gravity of any view in java source code. To set gravity in xml use android:layout_gravity and android:gravity attributes. The values of both attributes is combination of the following constants: top : Push object to Read More ...
Relative Layout is an android view group to align all childrens relative to other view or its parent. Relative layout give you flexibiliy to place childs wherever you want. In the previous example, I have give some basic example of Relative Layout. Now, I will give you how to create a more complex relative layout example. Our goal is to create layout like this: See the following step by step Read More ...
Linear Layout is an android View Group that aligns all children in single oriented manner, vertically or horizontally. A Linear layout can have only one orientation, only vertical or only horizontal. The orientation can be specified by using attribute android:orientation. Horizontal Orientation By default, if you don’t specify the attribute android:orientation, the orientation of linear layout will be horizontal. But you can put android:orientation="horizontal" to set horizontal orientation. For example: Read More ...