--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To post to this group, send email to new...@googlegroups.com.
To unsubscribe from this group, send email to newsrob+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/newsrob?hl=en.
--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/newsrob/-/62A566xQxm4J.
To unsubscribe from this group, send email to newsrob+unsubscribe@googlegroups.com.
Maybe an Advanced or Experimental option where the user can manually spec a path? Probably with URL to a discussion where people can share device specific path info :-) Oh, yeah, and a big fat warning stating the setting is experimental/advanced and could cause data-loss or or damage to the phone (just to scare people, cos a bad path could cause grief)
This is a true case of fragmentation that Google could eliminate - I'm all for differentiation, but a developer having to codify something like this on a per device/OS level is not very supportive, especially since the flaw (in UX terms) is obvious and inherent in the system features/design.
--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To post to this group, send email to new...@googlegroups.com.
To unsubscribe from this group, send email to newsrob+u...@googlegroups.com.
...
public class SdCardStorageAdapter extends AbstractStorageAdapter {
private static final String TAG = SdCardStorageAdapter.class.getName();
private static final String BASE = Environment.getExternalStorageDirectory().getPath() + "/newsrob";
private static final File BASE_DIR = new File(BASE);
private boolean readOnly;
private boolean mounted;
private boolean shared;
BroadcastReceiver myBroadcastReceiver;
--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/newsrob/-/BlauWzi9OegJ.
Second that. I've used Newsrob for years on a Magic, then over 2 years on an N1, and now on my S3 and never had an issue, so wouldn't worry about it if I were you.
Alex,I use NewsRob since the end of 2008 and besides a single card in my G1 I have not had an issue with an SD card at all. I think that I used it extensively on more than a dozen devices though.But of course, yes, it does write a lot to the sd card.Anyway I could add another debug option, given the time (read after the tablet version), but have you tried the current beta? When you start without having a /sdcard/newsrob in place it should store it's own directory in the place the OS assigns to it, if I remember correctly - it's a little time ago that I thought about it. Could you please try that, if you haven't.Managing the use of internal memory and external memories is the job of the OS. Unfortunately the OS does a pretty bad job at that and let's the fragmentation of the platform surface right to the developer and its users. I am not aware of a proper way to deal with that, other than maintaining a list of devices and what sd card themes they support. And even if I would do that, this is a lot of work, dealing with sd cards, that are not there anymore and moving stuff around when the user changes his mind where to store stuff, and making sure along the way that this operation is as atomic as possible, even when the OS kills the process in between ... and on and on and on and on.
FWIW, from my understanding it is a good thing to not fill sd cards to the brim, because the way they operate they become very inefficient in terms of write speed and creating more wear when there is not much space left and there needs to be a consolidation before writing new blocks.
On Wed, Aug 1, 2012 at 3:41 PM, Alex B wrote:
On Saturday, 14 April 2012 00:57:15 UTC+1, Zamslam wrote:The droid razr and a few others have /mnt/sdcard map to a finite and
small internal storage area, while the real, expandable, swappable sd
card is at /mnt/sdcard-ext. Some apps map end user ui elements that
specify an apps storage with this in mind, but alas not yet with my
most often used app - NewsRob.
Can you allow local caches to be stored there so I can go back to
storing more than just the basic articles?
I'd second this request; I've got a Samsung GT-I9100 and it has a /sdcard (the 11.5GB left over from the 16GB eMMC internal flash, after 4.5GB has been used for /system, /data, /cache etc) and a /sdcard/external_sd (my micro SDHC card). Unfortunately, I regularly experience corruption of the VFAT filesystem on /sdcard, and whenever I do, it's always files within /sdcard/NewsRob (probably merely because NewsRob is the most prolific writer to that filesystem). I'd like to work out whether I've got a hardware fault or a hardware bug, and being able to move the NewsRob article cache to /sdcard/external_sd/NewsRob would be a good first step in doing so.
It also strikes me, given that NewsRob is a write-heavy application, that if it wears out some flash storage, it's better that it's the removable, replaceable micro SD card!
I've tried the debug setting that Mariano mentions, but all it moved was the newsrob.db :-(
Best Regards,
Alex--To view this discussion on the web visit https://groups.google.com/d/msg/newsrob/-/BlauWzi9OegJ.
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To unsubscribe from this group, send email to newsrob+unsubscribe@googlegroups.com.
Alex,[H]ave you tried the current beta? When you start without having a /sdcard/newsrob in place it should store it's own directory in the place the OS assigns to it, if I remember correctly - it's a little time ago that I thought about it. Could you please try that, if you haven't.
--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/newsrob/-/cW7F0BPIp1EJ.
To view this discussion on the web visit https://groups.google.com/d/msg/newsrob/-/VodLWI9icVMJ.
Someone on #android has also seen the same problem on two different, unrooted, Samsung devices. Like me, he attributes it to the kernel (mmc driver, FAT filesystem, etc) or Samsung's hardware. [...] FYI, gReader doesn't seem to provoke the same problem, even though I've configured it to store its article cache in the same place as NewsRob.
downloadArticlesInParallel=0 -> should disable downloading articles in parallel. Setting it to 1 will download 3 articles in parallel.
downloadImagesInParallel=0 -> should disable downloading images in parallel. When set to 1, up to 15 images are downloaded in parallel.
Those parallel downloaded from above will only be done when the screen is off. This test, however, is only done when initiating the downloads, i.e. a running download will not be interrupted when you turn on the screen.
--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
--
Alex Butcher
Apologies for brevity and any typos: sent from my phone
--