On Wed, Mar 30, 2011 at 12:08 PM, Marcin Orlowski
<[email protected]> wrote:
> On 30 March 2011 16:57, Alaeddine Ghribi <[email protected]> wrote:
>>
>> Hi,
>> I built an app that calculates fuel consumption, my data are well
>> stored in a file, however, i often flash my phone and want to add the
>> import-export feature on it !
>> How can i make this ?
>
> You keep your data set in file not DB? Then just copy it to SD card.

I recommend closing your SQLiteDatabase and SQLiteOpenHelper objects
first and otherwise making sure you are not in the middle of some
database operations before making the copy.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.2 Available!

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

Reply via email to