|
Post by hackmodford on Sept 18, 2016 18:45:02 GMT
Hey guys, Big Finish has given me the go ahead to add SD card support to the Android app This means we'll be starting another round of beta tests once I get a working version created. Could you guys give me some ideas on "how you think sd card support should work"? I want to know things like, should it be a global option? What happens if you remove your SD card? etc. Thanks,
|
|
Deleted
Deleted Member
Likes:
|
Post by Deleted on Sept 19, 2016 5:44:05 GMT
Hey guys, Big Finish has given me the go ahead to add SD card support to the Android app This means we'll be starting another round of beta tests once I get a working version created. Could you guys give me some ideas on "how you think sd card support should work"? I want to know things like, should it be a global option? What happens if you remove your SD card? etc. Thanks, I would see it as something in the settings dialogue, to choose whether downloads go to device or SD card. If someone is daft enough to remove their SD card, I guess you just need some error trapping for the app to spot those titles have gone and remove them from the device list.
|
|
|
Post by acousticwolf on Sept 19, 2016 8:10:16 GMT
Hey guys, Big Finish has given me the go ahead to add SD card support to the Android app This means we'll be starting another round of beta tests once I get a working version created. Could you guys give me some ideas on "how you think sd card support should work"? I want to know things like, should it be a global option? What happens if you remove your SD card? etc. Thanks, I would see it as something in the settings dialogue, to choose whether downloads go to device or SD card. If someone is daft enough to remove their SD card, I guess you just need some error trapping for the app to spot those titles have gone and remove them from the device list. That sounds perfect. It doesn't need to be complicated Cheers Tony
|
|
|
Post by hackmodford on Sept 19, 2016 14:02:57 GMT
If someone is daft enough to remove their SD card, I guess you just need some error trapping for the app to spot those titles have gone and remove them from the device list. What if they put the SD card back in?
|
|
|
Post by hackmodford on Sept 19, 2016 14:32:56 GMT
Also, do you guys have any apps in mind that I can use as a reference when I add this feature?
|
|
Deleted
Deleted Member
Likes:
|
Post by Deleted on Sept 19, 2016 17:11:06 GMT
Also, do you guys have any apps in mind that I can use as a reference when I add this feature? Well Samsung Music and Audible both do, but I use side-loading to get the files there so that may be of limited help
|
|
|
Post by acousticwolf on Sept 20, 2016 8:44:36 GMT
If someone is daft enough to remove their SD card, I guess you just need some error trapping for the app to spot those titles have gone and remove them from the device list. What if they put the SD card back in? The card is generally rescanned by the OS - if you create a hook so the app recognises when the card is being scanned,you could refresh the contents? Cheers Tony
|
|
k9
New Member
Likes: 0
|
Post by k9 on Sept 24, 2016 1:12:45 GMT
PocketCasts does it by letting you choose one destination only, either Phone or custom folder. Here are screen captures of those settings. goo.gl/photos/aXnBzMi1ukqJmFDu6
|
|
k9
New Member
Likes: 0
|
Post by k9 on Sept 24, 2016 1:13:00 GMT
Also, I agree: keep it simple.
|
|
|
Post by hackmodford on Oct 3, 2016 13:08:20 GMT
I like how Pocket Cast does it.
I got my development build to give you a choice between "internal" and "sd card". Once you chose that, I believe it will store everything to the correct places.
The tricky part is figuring out how to handle removed SD cards.
|
|
|
Post by hackmodford on Oct 3, 2016 13:54:04 GMT
Maybe the app should occasionally "scan" the directories for files. If it sees an album directory that doesn't match what it has on file, it will simply delete it?
For example:
You download to SD card, then remove SD card.
The app will still have the entry for the album in the download section. But if you tap it, it will see that the files are missing and ask if you wish to re-download. If you re-download it goes to internal. (Alternatively, I could have the album move back to the cloud list)
Then you put your SD card back in. At some future point the app, scans the SD card and says, "I found this file on the SD card, but the database says these files are stored on internal memory. I will just delete these extras."
---------
This is kind of tricky.
Do you guys have any thoughts?
|
|
ljwilson
Chancellery Guard
It's tangerine....not orange
Likes: 5,063
|
Post by ljwilson on Oct 3, 2016 19:05:29 GMT
All a bit technical for me, but I do know my phones storage is busting at the seams!
Do people generally remove a phones SD card? And if they do, do you have to factor that in?
|
|
|
Post by hackmodford on Oct 3, 2016 19:32:09 GMT
People generally do not remove SD cards I imagine. But as a developer I need to account for as many possibilities.
|
|
|
Post by acousticwolf on Oct 4, 2016 8:23:02 GMT
I'd still keep it simple, the simpler the better. The more complicated you make it the more chance of bugs creeping in. Background scanning is ok as long as it doesn't take up too much resources and slow the phone down. I'd be more than happy with just an error message popping up to say "unable to load file, check your sd-card is inserted" or something Cheers Tony
|
|
|
Post by hackmodford on Oct 4, 2016 23:48:34 GMT
Okay, I think I got it working the way I want.
I am uploading a new beta right now. v2.1.0
Please let me know if it works. (Check Settings > Storage Options)
|
|
|
Post by acousticwolf on Oct 5, 2016 7:47:04 GMT
Oooh ... Cheers Tony EDIT: Nothing showing in Beta Crashlytics yet ... EDIT 2: Showing latest build as 20077 but won't let me download, stuck on build 20073
|
|
|
Post by hackmodford on Oct 5, 2016 12:07:49 GMT
Try again. I replaced it.
|
|
|
Post by acousticwolf on Oct 5, 2016 13:08:40 GMT
Cheers, working now.
Does it only work with physical sd-cards? Both devices I'm trying have internal storage allocated as sd-cards (Nexus 5, 9) and neither show up the storage options in settings. I will try my Samsung Tab when I get home because that does have an external sd-card.
Cheers
Tony
|
|
|
Post by hackmodford on Oct 5, 2016 14:56:44 GMT
Yes, right now it's ignoring all "emulated" storage options. Are they real separate partitions?
|
|
|
Post by acousticwolf on Oct 5, 2016 17:06:24 GMT
Not sure how they work to ensure honest. Tested with Samsung Tab, and storage options present and (seems to accurately) lists storage available and free space . Downloaded to sd-card fine and I can see m4b file using a file manager, no errors and played fine. Removed sd-card and title disappeared from Device List Reinserted sd-card but title didn't reappear (did get a BF App Closed error) as soon as I inserted the sd-card. Redownloaded same title and it overwrote the original file. Looking good Cheers Tony
|
|