Backup file

by Mark Murphy » Tue, 10 Aug 2010 04:26:48 GMT


Sponsored Links
 


Sure. Use the INTERNET permission and HttpClient to upload whatever
you want to the server of your choice. You won't get the auto-restore
capability, but you have complete control over what gets backed up and
when it gets restored.

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

--



Backup file

by TreKing » Tue, 10 Aug 2010 04:28:56 GMT


 



What is "the backup part"?



Yes. You could do it tomorrow too. Although I guess it depends on what you
mean by a backup of "your application". The actual APK or the data files and
settings? And backup to where?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--


Sponsored Links


Backup file

by Arthur Neves » Tue, 10 Aug 2010 04:44:56 GMT


 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.

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?

I dont know if I was clear... but I`m doing this functionality in
BlackBerry, using the tool Desktop Manager, so I wanna do the same thing in
android.

Thanks for all...






>



Backup file

by Mark Murphy » Tue, 10 Aug 2010 04:48:04 GMT


 


OK.


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!

--



Backup file

by TreKing » Tue, 10 Aug 2010 04:50:12 GMT


 




Just copy your data to the SD card.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--



Backup file

by Arthur Neves » Tue, 10 Aug 2010 04:54:43 GMT


 yeap, cool, that`s a good solution, but in Blackberry, I don`t have to add a
screen in my app to do the backup/restore managements, the user do this by
the software(Desktop Manager) in  some PC, I just have to implements some
interfaces in my application and than the software can manage the
backup/restore.
Is there anything similar for android?






>



Backup file

by Mark Murphy » Tue, 10 Aug 2010 05:02:52 GMT


 


Yes, but you rejected it in your original post on this thread. It also
only works on Android 2.2. And I am not a terribly big fan of it:

 http://commonsware.com/blog/2010/07/11/backupmanager-unsafe-at-any-speed.html 

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

--



Backup file

by Arthur Neves » Tue, 10 Aug 2010 05:11:53 GMT


 No, I did not reject, I just reject the idea to send the backup file to a
server, because I don`t have a server, and also this files cannot go a
server side because they have some information that must be safe.

about this just work in Android 2.2, it`s not a problem....






>



Backup file

by Mark Murphy » Tue, 10 Aug 2010 05:17:18 GMT


 


That's rejecting the BackupManager solution, because it only goes to
Google's servers. There is no other built-in alternative.

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

--



Backup file

by Arthur Neves » Tue, 10 Aug 2010 05:19:26 GMT


 Ok, this is the thing that I wanna make sure,... so I have to make one
screen for it, right?






>



Backup file

by Mark Murphy » Tue, 10 Aug 2010 05:26:42 GMT


 


How you implement it from a UI standpoint is up to you. An activity
with options to back up and restore the data seems like a reasonable
choice, though.

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

--



Other Threads

1. Anyone else seeing problems with the browser & Google Sites?

Quick example;

Go to http://sites.google.com/site/piggybanksoftwarehomepage/dowloads

Try to download TNTManic_1.7.apk using the link from both a desktop 
browser & the android built in one.

On my system the desktop browser gives me the save as dialogue box, the 
android browser 404?

Anyone else seeing this?

Al.

-- 
======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~

2. India Girls pictures,korea girls pictures,Indonesia Girls pictures,Thailand Girls pictures

India Girls pictures,korea girls pictures,Indonesia Girls
pictures,Thailand Girls pictures

India Girls pictures
http://www.india.1dis.cn/

korea girls pictures
http://www.korea.1dis.cn/

Thailand Girls pictures
http://www.thailand.1dis.cn/


Indonesia Girls pictures
http://www.indonesia.1dis.cn/
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Breakpoint not getting hit in Interface function implemented in Service

4. Using Homemade TrueType Fonts In Android

5. Is there really no possibility to detect incoming calls with a receiver?

6. error on my Mac 10.4 Power book: cannot execute binary file

7. why does the same code NOT work same in different scenarios? JNI issue, please help.