I'm building an application that calculates the fuel consumption of cars. The datas are saved in a file, and i'm planning to add support of import/export feature in the app(i often flash the phone). How can i make this ? Thank you.
Asked
Active
Viewed 1,860 times
2 Answers
1
Easiest would be to write the data to the sdcard since it isn't touched when you flash your phone
For sdcard io see: Writing a file to sdcard

Community
- 1
- 1

Fredrik Leijon
- 2,792
- 18
- 20
-
And what about importing the file ? Thank you. – androniennn Apr 11 '11 at 13:31
1
Like Fredrik Leijon said write to the SDCard(it's a good link there) and correspondingly read from there to 'import' your data.

JQCorreia
- 727
- 6
- 15