Discussion Forums  >  Uncategorized

Replies: 10    Views: 413

koopakid08
Aspiring developer
Profile
Posts: 74
Reg: Jun 14, 2011
earth
1,540
06/20/11 08:38 PM (14 years ago)

Android: Download all PDF's at once?

I am using multiple PDF's (over 300) in my app and I am wondering if there is a way to have them all download at once so that my users won't have to go through each PDF to download.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
06/20/11 09:10 PM (14 years ago)
That's a good few PDFs. Where you hosting them? They got OC-48's? I'd have to have a heck of a reason to want to download 300+ pdfs if they contained anything, which I assume they do. What are you getting into? Welcome, get yirsel a wee icon / avatar whatever you call them and tell us more.
 
koopakid08
Aspiring developer
Profile
Posts: 74
Reg: Jun 14, 2011
earth
1,540
like
06/20/11 09:46 PM (14 years ago)
I don't know where they are hosted I'm just using the built in add pdf feature. I Do not know what OC-48 means. What I am making is a digital songbook of sorts. Each PDF is only about 30-50 kb. I split the whole songbook into separate PDFs for each song so they would be easier to access but the only way to download them is one at a time which gets annoying because there are 300+ of them.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
06/21/11 06:22 AM (14 years ago)
Sorry about the OC-48 comment! I'm thinking you can keep your 'split' PDFs but also have an option to download the entire collection so... YOu can either off the 'unsplit' songbook as one download or have the individual files. If you zipped them up and dropped the file on your server it could be done but I know (I think) you'll have some work to do on dev side to download and unzip files on your iPhone. Read a few threads on dev site about dealing with zip files a while ago. Can you not just offer the 'unsplit' songbook up? PS OC-48 is a big honking bandwidth pipe!
 
koopakid08
Aspiring developer
Profile
Posts: 74
Reg: Jun 14, 2011
earth
1,540
like
06/21/11 02:07 PM (14 years ago)
So currently there is no way to download them all at once? If you could give me a link to any of those threads dealing with zips I would appreciate it.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
06/21/11 02:16 PM (14 years ago)
I just Googled it earlier to see how iPhones handle zip files, many good articles on first page of returns.
 
koopakid08
Aspiring developer
Profile
Posts: 74
Reg: Jun 14, 2011
earth
1,540
like
06/21/11 02:28 PM (14 years ago)
This app is for android ;)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/21/11 03:21 PM (14 years ago)
@ koopakid08: There isn't a way to do what you describe. We've considered a few ways to allow folks to upload zip archives then auto-magically pull them apart and make menus from the multiple files inside but have not done it. Not sure we will.
 
koopakid08
Aspiring developer
Profile
Posts: 74
Reg: Jun 14, 2011
earth
1,540
like
06/21/11 03:25 PM (14 years ago)
Well if you could add that to some sort of wishlist for a future release that would be great. Thanks for your comment. If anyone knows any workarounds I'd be happy to try them.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/21/11 04:12 PM (14 years ago)
Oh, wait...another idea. a) Make an HTML page. Style it, clean it up, you could even make it look JUST LIKE a native list. b) Drop all your files in a free-bee Drop Box account. These are the PDF. Each will have it's own URL. c) Your app uses the HTML screen as a menu. It holds a link to each .PDF on the Drop-Box account. This means you won't have to manually and tediously enter / upload screen by screen in the buzztouch control panel. You may even be able to link to a ZIP archive? Not sure how android handles zips but it may just magically un-archive the contents. Worth a shot.
 
koopakid08
Aspiring developer
Profile
Posts: 74
Reg: Jun 14, 2011
earth
1,540
like
06/21/11 04:38 PM (14 years ago)
Android does not support zips natively you would need an additional app to unzip the files but how could I make these available offline while still staying in the application itself?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.