Android - Cursor

Card Puncher Data Processing

About

cursor implementation in Android.

A cursor is what a content provider implementation will return in response of a query.

Many iterators in Java implement the Iterator interface, but Cursor does not implement this particular interface.

Function

  • getCount()
  • getColumnIndex(NameOfColumn)
  • moveToNext()
  • close it in a (try finally block)





Discover More
Content Provider
Android - Content Provider

A content provider is a facade between the data store (Xml, Database) and the applications. Change the underlying data source without changing the application code Leverage standard android library....
Card Puncher Data Processing
Android - ListView

ListView is a view group that shows items in a vertically scrolling list. The items come from the android/widget/ListAdapterListAdapter associated with this view. The list items are automatically inserted...
Card Puncher Data Processing
Android - Loader (Asynchronously load data)

Loaders provide a framework for the asynchronous loading of data. They are registered by id in the loaderManager. The loader Id has to be unique for all loader used in the activity. android/support/v4/content/LoaderLoader...
Card Puncher Data Processing
Android - Sqlite

sqlite supports in Android. Sqlites comes packaged with the Android OS as a C++ library. android/database/sqlite/SQLiteOpenHelperSQLiteOpenHelper. See udacity/Sunshine-Version-2/blob/sunshine_master/app/src/main/java/com/example/android/sunshine/app/data/WeatherDbHelper.javaWeatherDbHelper.java...



Share this page:
Follow us:
Task Runner