GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Ohne Titel

Grace Tangarine Mobile Applications Diploma Englisch 7 Karten

Karten in diesem Stapel (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);
    }

Informationen

Beschreibung
Diploma Mobile Applications (Android Concepts) Karteikarten am Ohne Titel, erstellt von Grace Tangarine am 21/08/2014.
Erstellt von
Grace Tangarine · Aug 2014
Aktualisiert
20 Apr 2016
Aufrufe
6
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck