O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Sem título

Grace Tangarine Mobile Applications Diploma Inglês 7 flashcards

Flashcards do 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);
    }

Informações

Descrição
Diploma Mobile Applications (Android Concepts) FlashCards sobre Sem título, criado por Grace Tangarine em 21-08-2014.
Criado por
Grace Tangarine · ago 2014
Atualizado
20 abr 2016
Visualizações
6
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?