sofiane954 Posted March 26, 2013 Share Posted March 26, 2013 Bonjour à tous, pour les besoins de mon projets il me faudrait pouvoir lire et ecrire dans un fichier xml pour lire les informations suivantes : <exemple nom="test" valeur="9" /> Et ma question est où stocké ces information et comment y acceder dans mon application, et comment les modifier par la suite. Merci de votre aide. Quote Link to comment Share on other sites More sharing options...
arnouf Posted March 29, 2013 Share Posted March 29, 2013 Salut, La plateforme dispose des librairie sax et dom pour parser du XML. le fichier pourra être stocker dans ton espace application - incessible depuis l'extérieur ou une autre app - ou sur l'espace de stockage "public" qu'Android nommé communément :sdcard Voici qui devrait t'aider http://developer.android.com/training/basics/network-ops/xml.html http://www.androidhive.info/2011/11/android-xml-parsing-tutorial/ http://huuah.com/android-writing-and-reading-files/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.