11-15-2015, 06:43 AM
(11-14-2015, 04:35 PM)Zuberman Wrote: Google completely abstracted access to these files, so that you aren't really supposed to know where they are kept. You just go through their SharedPreferences classes and get/set values.
So this is as far as we can get, then.
Quote:Ultimately, I don't think all of that really matters though, as why would you want different settings per database? Wouldn't you want the same settings applied to all of your databases?
I think it's a restriction I can live with...
Quote:The simplest thing in my mind is to provide an option to select a different database file, and if some of the settings are important, these can be saved alongside the database file. I think each of these database files should be uniquely named so maybe I would have to think about how to handle that. As new databases are set up, the user can easily switch between existing databases in a list.
Maybe an identifier to use as postfix, e.g. "mobilesheetspro_MyProject1.db" "mobilesheetspro_AnotherProject.db" and similar? The pick list would then only show "MyProject1", "AnotherProject" and "<default>".
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).