Monthly Archives: February 2013

Alert Dialog in Android Example with Source Code and Description

 Alert Dialog in Android Example with Source Code and Description

Alert Dialog in Android Example with Source Code and Description. Android Dialogs are always created for receiving user’s response and are part of the current displayed Activity. A dialog gets the focus until the user closes it. There are different types of dialogs in android. Trust me guys, Somehow Android dialog code is little lengthy but very easy to understand. Here We will discuss with  Alert Dialog in Android Example with Source Code and Description.

Custom Toast in Android Example with Source Code and Description

Custom Toast in Android Example with Source Code and Description

I know Android default Toast can’t full fill all the requirements for a developers. There are some limitations of  Android Toast API. But don’t worry. You can create your own Custom Toast in Android. Here you can find Custom Toast in Android Example with source code and detailed description. We will create 2 different type of Custom Toast in android, which can full fill all your requirements.

Android File System Structure/Architecture/Layout Details

 Android File System Structure/Architecture/Layout Details

Most of the Android user are using their Android phone just for calls, SMS, browsing and basic apps, But form the development prospective, we should know about  Android internal structure. Android uses several partitions (like boot, system, recovery,data etc) to organize files and folders on the device just like Windows OS. Each of these partitions has it’s own functionality, But most of us don’t know  the significance of each partition and its contents. In this article, we will take you on a tour of Android partitions. So lets start the android file system tutorial.

Useful adb Commands for Android Development

Useful adb Commands for Android Development

Here we will discuss some useful adb Commands for Android Development. Before going to discuss details about some useful  adb commands for android development, let’s know what is adb exactly in android. How it works? Most of the interviews, you might face this question.

Android Debug Bridge (adb) is a command line tool, which communicates with a connected emulator or android device. It is a client-server program and divided into three different components:

Some Common Android Development Errors and Solutions

Some Common Android Development Errors and Solutions

You might face some issues/problems during your android development. Here we will discuss Some Common Android Development Errors and Solutions. Sometimes your output does not come as you expected. You might face some build errors, some setup errors, configuration errors, Eclipse IDE errors, Android SDK errors, Security errors, Permission errors etc. These kinds of issues are very irritating. In my prior experience, I have faced a lot of issues & solve these as well. So I would like to share some common android issues/errors with solutions with you.

Sample Code for ListView with SQLite Database Connection in Android

Here We are going to discuss 4 important features in android from development prospective with sample code and example.1. How to use ListView in android with example.

2. How to connect to SQLite database in android with example.
3. How to fetch contacts in android.
4. Finally practical use of how to fetch contacts from Contacts database(SQLite Database)and show in Listview in android.