Posts Tagged ‘ SimpleCursorAdapter ’

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 »

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 »

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 »

Loading thumbnail Images in a GridView and Opening original images in AlertDialog using Media Content Providers

August 21, 2012
By
An Image Opened in AlertDialog

This article is an extension to the article “Asynchronously loading Image thumbnails in a GridView from an external (SD Card) storage using Media Content Providers in Android“. In this article, the thumbnails of images from the external ( SD Card ) storage is loaded in grid view using Cursor Loader. And on clicking a...

Read more »

Asynchronously loading Image thumbnails in a GridView from an external (SD Card) storage using Media Content Providers in Android

August 20, 2012
By
Image Thumbnails in GridView

In this article, we will see how to display the thumbnails of images stored in external ( SD Card ) storage. The thumbnails are loaded to the gridview using loaders and media content providers. The loaders are used to asynchronously load gridview with images. An extension to this application is discussed in the article...

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 »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner