On Mon, Aug 9, 2010 at 4:44 PM, Arthur Neves <[email protected]> wrote:
> Hey, thanks for the answers but Mark my app don`t have a sever side, so I
> must do the backup in a local file that the user can download for his PC.

OK.

> The think is, I just wanna do the backup from my database, let`s say the
> user lose his cellphone and he wants to put the old data again in his new
> cellphone. Before he lose, there is a way that he can do a backup of the
> databases from my app?

Sure. Copy the databases to some directory inside of
Environment.getExternalStorageDirectory(). Tell the user to mount
their device on their PC and copy that directory over.

-- 
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
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