Android-dev.it Community

 
Annunci

:arrow: Benvenuto!, se non sei ancora un utente registrato: puoi registrati qui, oppure effettua il login
:arrow: Apri un forum sul tuo nuovo smartphone Android e collabora con noi! (dettagli)

www.agendadigitale.org
Image


Sponsor
It is currently Tue May 22, 2012 8:25 am

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts На интернет-витрине

by popowahgjfghjoiuyt on Sat May 19, 2012 2:25 pm in Amministrazione

0

12

Sat May 19, 2012 2:25 pm

popowahgjfghjoiuyt

No new posts Apri un forum sul tuo nuovo smartphone Android!

[ Go to page: 1, 2, 3 ]

by ReattileGar on Fri May 18, 2012 5:27 pm in Amministrazione

27

12514

Fri May 18, 2012 5:27 pm

ReattileGar

No new posts Новый: базы для хрумера - профессиональный софт для СЕО.

by Renatafe on Fri May 18, 2012 3:14 pm in Amministrazione

0

17

Fri May 18, 2012 3:14 pm

Renatafe

No new posts Pace is undoubtedly the vital affordable Jerseys Wholesale d

by barnettmmolive2012 on Wed May 16, 2012 7:36 am in Amministrazione

1

47

Wed May 16, 2012 7:36 am

barnettmmolive2012

No new posts Problema di compatibilità app

by deran on Tue May 15, 2012 10:44 am in Sviluppo e programmazione in Android

4

200

Tue May 15, 2012 10:44 am

deran




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: creare Backup/restore dati
PostPosted: Thu Jun 16, 2011 6:17 pm 
Offline
User avatar

Joined: Thu Jun 16, 2011 6:10 pm
Posts: 1
Cellulare Android: LG Optimus One
Operatore: Vodafone
Punti Android: ?
Salve a tutti io sto sviluppando un app per la quale avrei bisogno di sapere come si può fare ( a livello di programmazione) un backup ed eventualmente un restore di alcuni miei dati salvati in un documento xml attraverso l'utilizzo della classe SharedPreference... Grazie a chiunque in anticipo


Top
 Profile  
 
 Post subject: Re: creare Backup/restore dati
PostPosted: Mon Jun 20, 2011 1:50 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
Ciao,
se usi la classe SharedPreferences puoi usare i vari metodi put dell'oggetto SharedPreferences.Editor per salvare le info e i corrispondenti metodi get per recuperare le info salvate, senza preoccuparti di come sono immagazzinati a basso livello.

Se invece hai un file XML esterno e devi recuperare le info da lì, allora devi fare il parsing del file XML.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

All trademarks and logos used in this site are of properties of their respective owners.