backup of files

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

backup of files

Postby rmeph » Wed Jan 02, 2008 2:00 pm

how to storge all contact in different-different files in contacts application to PC........
want backup of contacts application in my PC???

can u give me some idea for do that.... :roll:
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Top

Postby rmeph » Thu Jan 03, 2008 11:01 am

we use adb pull command and copy file in emulator to system........
that is [font=Arial Black]can we do by program???? [/font]:?:
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby plusminus » Thu Jan 03, 2008 1:54 pm

Hello rmeph,

You could query for all Contacts and save it to a SQLite-Database and later restore the contacts form that file.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby Katharnavas » Thu Jan 03, 2008 2:01 pm

rmeph wrote:we use adb pull command and copy file in emulator to system........
that is [font=Arial Black]can we do by program???? [/font]:?:


what about this ? can we ?
Katharnavas
Senior Developer
Senior Developer
 
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India

Postby plusminus » Thu Jan 03, 2008 3:02 pm

Hey guys,

probably yes, but not with a "one-liner", because the Emulator should not know that it actually is being emulated ( and a actual Device is not! ).

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby rmeph » Thu Jan 03, 2008 3:19 pm

im not getting ....what's u asked..............
i know it's no possible within 1 lines.......i want a full code to access any file emulator to system...
for example i want system/media/audio/ringtones/ring3.mp3 file in emulator to access in my PC using code than what API i will use....if u have any idea than plz tel me............. :roll:
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Top

Postby plusminus » Thu Jan 03, 2008 8:41 pm

Hello rmeph,

any file :?: No. :)
A Webserver perhaps.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby rmeph » Fri Jan 04, 2008 7:48 am

any file means if we have file in emualtor (system/media/audio/ringtones/ring3.mp3) and that file have read/write permission.........
how to save that file in system using code?
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby rmeph » Fri Jan 04, 2008 2:25 pm

in u'r topic
http://www.anddev.org/viewtopic.php?p=1640#1640

show list of file.........that file u want save in machine that files have read/write permission.....how we can do it???
Attachments
topic.PNG
topic.PNG (23.62 KiB) Viewed 1722 times
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby rmeph » Sat Jan 05, 2008 8:14 am

rmeph wrote:in u'r topic
http://www.anddev.org/viewtopic.php?p=1640#1640

show list of file.........that file u want save in machine that files have read/write permission.....how we can do it???



that is possible?????
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby plusminus » Sat Jan 05, 2008 1:30 pm

rmeph wrote:in u'r topic
http://www.anddev.org/viewtopic.php?p=1640#1640

show list of file.........that file u want save in machine that files have read/write permission.....how we can do it???


Hello rmeph, please rephrase your question, because I cannot understand it properly...

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby rmeph » Sat Jan 05, 2008 1:51 pm

in u'r topic
http://www.anddev.org/viewtopic.php?p=1640#1640

show list of file........


i want that file upload on server using http protocal.....can we do that???if yes then how??
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby rmeph » Sun Jan 06, 2008 3:11 pm

if u have any idea then plz tel me................ :(
rmeph
Senior Developer
Senior Developer
 
Posts: 121
Joined: Mon Dec 10, 2007 1:54 pm
Location: India

Postby plusminus » Sun Jan 06, 2008 7:59 pm

Sorry not done yet.

Time is getting far less this month (exams :!:)

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest