Bonjour
j'ai inséré dans fichier des données
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
File ls = this.getFilesDir();
					Log.i("","Local Storage : "+ls.getAbsolutePath());
					File cd = this.getDir("demo", Context.MODE_WORLD_READABLE|Context.MODE_WORLD_WRITEABLE);
					String FILENAME = "ezpublish_file";
					 //FileOutputStream fos = null;
					 try {
					     FileOutputStream   fos = this.openFileOutput("mobi.txt", Context.MODE_WORLD_READABLE|Context.MODE_WORLD_WRITEABLE);
					    			DataOutputStream dos = new DataOutputStream(fos) ;  
					        dos.write(str.getBytes());
 
					        fos.close();
					    } catch (IOException e) {
					        // TODO Auto-generated catch block
					        e.printStackTrace();
					    }
j'ai mit dans le fichier des informations de type plist
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
<array>
	<dict>
		<key>gameid</key>
		<string>1</string>
		<key>drawid</key>
		<string>5544</string>
		<key>dname</key>
		<string>9623</string>
		<key>date</key>
		<string>9999-01-01 00:00:00</string>
		<key>prize</key>
		<string>1490000.00</string>
		<key>sels</key>
		<string></string>
	</dict>
je veux accéder au ficher pour parser ces données
merci