Posts Tagged ‘ custom layout ’

Android Populating ListView from SQLite database using CursorLoader, LoaderManager and Content Provider

February 13, 2013
By
SQLite, ContentProvider, CurserLoader and LoaderManager in Action

In this article, we will develop an Android application which fetches data from SQLite database using CursorLoader and displays it in a ListView. The data is fetched asynchronously using LoaderManager. On executing first time, the application creates a database namely “sqllistviewdemo” and a table “cust_master” with some records in it. These records will be...

Read more »

Customizing InfoWindow Contents in Google Map Android API V2 using InfoWindowAdapter

January 14, 2013
By
location_custom_info_contents_screenshot_featured

In this article we will create an Android application that displays a customized info-window in GoogleMap Android API V2 using InfoWindowAdapter interface. For developing this application, we are using Eclipse 4.2.1 with ADT plugin ( 21.0.0 ) and Android SDK ( 21.0.0 ) and testing in a real device with Android 2.3.6  ( GingerBread )....

Read more »

Android ListView Application Series

January 4, 2013
By
ListView Application Series

A list of Android applications with ListView is given below : A ListView application in Android ListView with custom layout in Android Filterable ListView in Android ListView with Checkboxes in Android Enabling Multi Selection mode in ListView by adding ToggleButton using custom layout in Android Single Selection mode for ListView in Android ListView with...

Read more »

Android Testing Framework – Testing ListView with Custom Layout Application

November 21, 2012
By
Testing ListView with custom layout Android Application

In this article, we will test an Android application that we have developed in the article titled “ListView with custom layout in Android“. We will make use the testcase class called ActivityInstrumentationTestCase2 to test the custom ListView. This test application is developed in Eclipse (4.2.1) with ADT plugin ( 20.0.3 ) with Android SDK...

Read more »

Android OnClick Event Handler for Custom Layout LineChart in AChartEngine

October 22, 2012
By
Screenshot of the LineChart with Click Event Listener in Action

This article is  an extension to the article titled “Android Drawing Line Chart in a Custom XML Layout using AChartEngine“, where we have discussed how to draw a line chart in a custom layout. In this article, we will see how to a add click event handler for the line points in AChartEngine. This...

Read more »

Android Drawing Line Chart in a Custom XML Layout using AChartEngine

October 22, 2012
By
A ChartEngine Line Chart in a Custom Layout

In this article, we will create a line chart in a custom layout where as in our previous article titled “Android Drawing Line Chart using AChartEngine“, we have created line chart in an independent activity using AChartEngine library. This application is developed in Eclipse (4.2.0) with ADT plugin ( 20.0.3 ) and Android SDK...

Read more »

Android Contacts Content Provider – Retrieving and Listing Contacts in ListView Example

September 22, 2012
By
Listing Contacts in ListView via Contacts Content Provider

In this article, we will create an Android application which will query Android contacts content provider to retrieve the contacts available in the phone and list those contacts in a listview with various details such as name, mobile number, home number, work email id, photo etc. This application is developed in Eclipse ( 4.2.0...

Read more »

Android JSON Parsing with JSONObject and loading to ListView – Example

September 10, 2012
By
Listview with data parsed from JSON data

In this article, we will create an Android application which will parse JSON data stored a local String variable and load to a ListView widget. The parsing process will be done in a non-ui thread using AsyncTask, one of the simplest method provided by Android to create multiple threads in an application. This application...

Read more »

Android Xml parsing with XmlPullParser and loading to ListView – Example

September 6, 2012
By
Displaying Parsed XML data in a listview

According to Android documentation, XmlPullParser is the efficient and maintainable way to parse XML in Android. In this article, we will parse  xml data using XmlPullParser and load that data into a listview. Since xml parsing is a complex and time consuming ( depends on the xml data )  process, we are doing it...

Read more »

Loading ListView with SDCard Thumbnail Images and displaying its Title, Size, Width and Height by merging cursors using MatrixCursor

September 5, 2012
By
Showing SDCard images and text in ListView

In this article we will create an Android application to display the thumbnails of SDCard images in a listview. The details of the images such as title, size, width and height are also be displayed in the listview. The thumbnails of the images can be retrieved using the content provider android.provider.MediaStore.Images.Thumbnails. The details of...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner