Posts Tagged ‘ listview ’

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 »

Enabling Multi Selection mode in ListView by adding ToggleButton using custom layout in Android

September 3, 2012
By
ListView With ToggleButton for Enabling MultiSelection Mode

In the article titled “Event Listener for Checkboxes in ListView“, we have seen how to add checkboxes to a listview for selecting multiple items at a time. In this article we will see how to add ToggleButtons to listview for enabling multi selection mode in the listview. We will make use custom layout for...

Read more »

Asynchronously populating listview from SQLite database using Content Providers

August 11, 2012
By
Populating listview from SQLite database using content provider

In this article, we will create a contact manager application which facilitates to add, update, delete and list contacts with their name and phone number. We will make use content providers to access SQLite database in the application. Also the contacts in the listview is populated asynchronously using loaders. This application is developed in...

Read more »

Implement Swiping between Tabs with ViewPager in Action Bar using Sherlock library

August 7, 2012
By
Swipe between Tabs using ViewPager

In this article we will see how to navigate between tabs in action bar by simply swiping the tab content horizontally. For this we will make use the concepts used in the articles “Adding Navigation tabs containing listview to Action Bar in Pre Honeycomb versions using Sherlock library” and “Implementing Horizontal View Swiping Using...

Read more »

Creating Navigation tabs using TabHost and Fragments in Android

July 31, 2012
By
Navigation Tab Demo

In this article, we will develop an  Android application containing navigation tabs. There are many ways by which we can add navigation tabs to an application. Beginning with Android 3.0, the standard way to create navigation tab is using action bar. Please read the article titled ” Adding Navigation Tabs containing listview to Action...

Read more »

Adding Navigation tabs containing listview to Action Bar in Pre Honeycomb versions using Sherlock library

July 30, 2012
By
Showing navigational tabs in Action Bar using Sherlock Library

In the article titled “Adding Navigation Tabs containing listview to Action Bar in Android“, we added navigational tabs to action bar. Action bar is introduced with Android 3.0 ( Honeycomb ) and is not supported in its previous versions. In order to create action bar in pre Honeycomb versions, we could use Sherlock library...

Read more »

Dynamically adding activities to a menu using addIntentOptions in Android

July 27, 2012
By
ContextMenu with dynamically added menu item

We know the very famous quote “Do not reinvent the wheel”. This is really apt for Android applications. Because Android facilitates an application to integrate existing activities available in the system effortlessly. There are numerous methods to integrate system activities to an application. One method is to dynamically add required activities to the application’s...

Read more »

Creating a contextual menu bar ( contextual action mode ) for a listview in Android

July 25, 2012
By
Contextual Action Mode

The contextual menu bar (contextual action mode) is introduced in Android 3.0 ( HoneyComb ). A contextual menu bar is a horizontal bar displayed at the top of an activity and can contain various menu item actions. In the article titled  “Creating a contextual menu bar ( contextual action mode ) for a single...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner