GoConqr has a new look! Let us know what you think.

Flashcards

Untitled

Grace Tangarine Mobile Applications Diploma English 7 cards

Cards in this deck (7)

  1. 1Ways to store information persistently?sd card, text file, sharedPreferences & SQLite
  2. 2Explain the parameters for getSharedPreferences().getSharedPreferences(String name, int mode)
    name = desired preferences file
    mode = operating mode for the file (is it readable/editable?)
  3. 3How does SharedPreferences work?-Allows accessing preferences associated with the activity
    -retrieves SharedPreferences object using getSharedPreferences()
    eg. SharedPreferences sharedPreferences = getSharedPreferences(name, mode);
  4. 4What is a Cursor?-interface that provides random read-write access to result set returned by a database query
  5. 5What does Cursor return?(points to one row of the table)
    -returns result of the query on a SQLiteDatabase
  6. 6Methods to get user's location?getLongitude(), getLatitude(), getAltitude(), getSpeed(), getBearing(), getExtras()
  7. 7Methods to show user's location?List addr;
    Geocoder gc = new Geocoder(this, Locale.ENGLISH);
    addr = getFromLocation(loc.getLatitude(), loc.getLongitude(), 1);
    /* loc = Location object; 1 = max no. returned addresses (most likely address) */
    if (addr != null) {
    Address currentAddr = addr.get(o);
    }

Information

Description
Diploma Mobile Applications (Android Concepts) Flashcards on Untitled, created by Grace Tangarine on 21/08/2014.
Created by
Grace Tangarine · Aug 2014
Updated
Apr 20, 2016
Views
6
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?