¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Sin título

Grace Tangarine Mobile Applications Diploma Inglés 7 fichas

Fichas del conjunto (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);
    }

Información

Descripción
Diploma (Android Concepts) Mobile Applications Fichas sobre Sin título, creado por Grace Tangarine el 21/08/2014.
Creado por
Grace Tangarine · ago 2014
Actualizado
20 abr 2016
Visitas
6
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?