--
You received this message because you are subscribed to the Google Groups "And Bible" group.
To unsubscribe from this group and stop receiving emails from it, send an email to and-bible+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I believe a sword app (e.g. And Bible) is easy to learn to look in different locations. It may worth to submit a bug in tracking system.
--
For more options, visit https://groups.google.com/d/optout.
So, here is where we are now:
AndBible: /mnt/sdcard/Android/net.bible.android.activity/files
1) agree on common storage location.
That is what i would like to do. If Sword will define discovery mechanism internally, i will be happy to get rid of own mechanism.
Historically first external storage root folder was perceived by apps on Android as user's home folder on Linux. I would be against of hardcored path /sdcard/ as i do not know if it actually points to SD card on all devices, i actually had issueas with it at least on emulator. I would recommend to discover correct path with environment variable $EXTRNAL_STORAGE. It would be also convinient to iterate through that variable to determine most suitable location, like $EXTRNAL_STORAGE[0], $EXTRNAL_STORAGE[1], $EXTRNAL_STORAGE[2], ...
So in my opinion correct mechanism to find correct location would be:
Iterate through $EXTRNAL_STORAGE values for .sword folder
If one was found - select first found
If no one was found - select first $EXTRNAL_STORAGE value, it would be /mnt/sdcard/
If variable is empty - application home will be selected
This will allow for advanced user to select which storage to use, if he will move .sword folder among storages.
I recomed to use hidden folder (.sword instead of sword) as regular user is not supposed to do anything with it. Hidden folder would be deleted as well, but dot in the beggining of folder name allow user to hide specifical content if he desire.
--
You received this message because you are subscribed to the Google Groups "And Bible" group.
To unsubscribe from this group and stop receiving emails from it, send an email to and-bible+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Martin,
Yes, I read about this recently and it has drawn much backlash from the developer community. Reading the threads, the Google engineers seemed to begin by defending the decision and then slowly backed down after numerous valid use cases were presented for multiple apps operating with write access to the same files (camera+photo album+image editor, music sync+music organizer+music player, etc.) I suspect this will be reversed. In the JavaScript bindings I'm finishing up to the C++ engine, I still use /sdcard/sword/ right now, but also include any modules discovered under your install path. I'd like to add discovery for Bible time mini but we still haven't finished our fight about sword/ or .sword/ being better. :) You can view a JavaScript tester app using the bindings to the C++ engine to see how it interoperates with And Bible modules here: http://crosswire.org/~scribe/bishop3.apk
It's not nearly a full featured app, but it does fit in a 680k apk, which is nice. I'm getting more confident with the completion of the bindings. Still have a few async issues to work out, but should push them soon.
Thanks for your work on And Bible. You have a strong user base and are a blessing to so many people. I hope our projects can complement each other.
Troy
You received this message because you are subscribed to a topic in the Google Groups "And Bible" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/and-bible/5_fWvx_gQKA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to and-bible+...@googlegroups.com.
26 мая 2014 г. 16:53 пользователь "Kostya Maslyuk" <kostya...@gmail.com> написал:
> [...] so using ".sword" is only way
It is not. I'd prefer apps making folders under $Sdcard/Android/games, $Sdcard/Android/Bible, $Sdcard/Android/whatever. The Android folder is there anyway so why not use it? And avoid poisoning the $Sdcard folder with both unhidden and hidden folders.