Downlaod databse from http and store it in asset

Put your problem here if it does not fit any of the other categories.

Downlaod databse from http and store it in asset

Postby uzair77 » Fri Jul 02, 2010 11:24 am

i want to download databtase from internet
and store in assset,

Then access database from asset,


how i download database from http and how i save it in asset folder,

any body knows that,



Thanks
Uzair
uzair77
Junior Developer
Junior Developer
 
Posts: 24
Joined: Wed Mar 24, 2010 10:57 am

Top

Re: Downlaod databse from http and store it in asset

Postby blundell » Fri Jul 02, 2010 12:47 pm

You won't be able to save it in the asset folder. You will be able to download it to the SD Card and then access it.

Download from the net:
http://developer.android.com/reference/ ... mmary.html

Access SD Card:
http://www.blog.droidweb.com/2009/07/de ... m-sd-card/
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Downlaod databse from http and store it in asset

Postby uzair77 » Fri Jul 02, 2010 12:49 pm

Thanks for Replying


is there any way to describe DB_path as a HTTP rather then sdcard or asset



Thanks
Uzair
uzair77
Junior Developer
Junior Developer
 
Posts: 24
Joined: Wed Mar 24, 2010 10:57 am

Re: Downlaod databse from http and store it in asset

Postby blundell » Fri Jul 02, 2010 1:01 pm

Not really my forte, but I would say No, what would be the point? + security issues + connectivity issues. But I may be wrong.

Go hug google
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 23 guests