android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Cuestión básica: SharedPreferences y Preferen

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Cuestión básica: SharedPreferences y PreferenceActivity
From: TreKing <trekingapp@xxxxxxxxx>
Date: Mon, 31 Oct 2011 13:51:31 -0500
Delivery-date: Mon, 31 Oct 2011 14:52:15 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=Tb50JlWDGhGt+c2CUvCFV1AtqiMC30B8W86bt4RKD5E=; b=QpoYPAupyRltLcxkEVOpjPLH+1XMxNixkuNzQtxpYILuzv5LWK94usr9PWCp59mIHz jpJY8jr/TlX0tZYxiLc7cQMhpVlzoRnI+y4RqgYKGlgNGauliFV6kSXQOxWTL7e+Pp57 MIMDg3jvuVgZKyXUCLqgPVqYPiVQrtv7MR/vY=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CAA_CB1+kiDGpp1qVWO=-r_WL0KfCWf6u2fTRqa0P3bBHZF5ZAA@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <CAA_CB1+kiDGpp1qVWO=-r_WL0KfCWf6u2fTRqa0P3bBHZF5ZAA@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
En *Fri, *Oct 28, 2011 en 4:44 PM, John *Goche <*johngoche99@*xxxxxxxxxxxxxx>escribió:

> Además, qué el punto de habiendo más que un archivo de preferencia por
> aplicación? Qué un ejemplo práctico de esto?
>

Para añadir a *Kostya, no todo *settings es aplicación-ancho - algunos son
componente *scoped. Como si tienes un *email *app con cuentas múltiples, quieres ser capaz de configurar cada cuenta individualmente. Tienen el mismo
*settings, pero casos diferentes, así que cada cuenta tendría es archivo
de preferencia propia.

-------------------------------------------------------------------------------------------------
*TreKing <*http://Sitios.*google.*com/Sitio/*rezmobileapps/*treking> - *Chicago
*transit *tracking *app para *Android-*powered dispositivos

-- 
recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
On Fri, Oct 28, 2011 at 4:44 PM, John Goche <johngoche99@xxxxxxxxxxxxxx>wrote:

> Furthermore, what's the point of having more than one preference file per
> application? What's a practical example of this?
>

To add to Kostya, not all settings are application-wide - some are
component scoped. Like if you have an email app with multiple accounts, you
want to be able to configure each account individually. They have the same
settings, but different instances, so each account would have it's own
preference file.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<Anterior por Tema] Tema Actual [Siguiente por Tema>