• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Separate databases
#19
On second thought, there may be a much easier and foolproof appraoch.

When I start MSPro for the very first time, it will create a default database + settings in the default location. On my tablet that would be /data/data/com.zubersoft.mobilesheetspro .

Suppose you could change this behaviour slightly:
  • Upon the initial run, proceed as normal. Register the actual default location in a separate settings file (e.g., location.xml).
  • On subsequent runs, use this location.xml to get the actual location.
  • Provide a means to start MSPro bypassing this, and have it ask whether to use the last used location, create a new one, or use a location previously used. Register the last location used in location.xml.
This would be relatively easy to implement and cleanly separated from the rest of the MSPro functionality. It wouldn't make a difference to ordinary users (no foot shooting).
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).
Reply


Messages In This Thread
Separate databases - by sciurius - 06-02-2015, 08:36 PM
RE: Separate databases - by Snard - 06-03-2015, 12:33 AM
RE: Separate databases - by gerryfitz - 06-03-2015, 12:56 AM
RE: Separate databases - by Zubersoft - 06-03-2015, 02:13 AM
RE: Separate databases - by sciurius - 06-03-2015, 04:32 AM
RE: Separate databases - by Harry_M - 06-04-2015, 07:09 PM
RE: Separate databases - by sciurius - 10-26-2015, 01:28 AM
RE: Separate databases - by sciurius - 11-05-2015, 01:37 AM
RE: Separate databases - by Zubersoft - 11-05-2015, 05:42 PM
RE: Separate databases - by sciurius - 11-05-2015, 06:55 PM
RE: Separate databases - by Skip - 11-06-2015, 06:54 AM
RE: Separate databases - by jagny42 - 11-11-2015, 12:04 PM
RE: Separate databases - by sciurius - 11-11-2015, 05:13 PM
RE: Separate databases - by sciurius - 11-12-2015, 06:40 PM
RE: Separate databases - by Skip - 11-13-2015, 04:04 AM
RE: Separate databases - by jagny42 - 11-13-2015, 11:17 PM
RE: Separate databases - by sciurius - 11-13-2015, 08:33 AM
RE: Separate databases - by Zubersoft - 11-13-2015, 09:07 AM
RE: Separate databases - by sciurius - 11-13-2015, 05:44 PM
RE: Separate databases - by sciurius - 11-13-2015, 06:45 PM
RE: Separate databases - by Zubersoft - 11-14-2015, 04:35 PM
RE: Separate databases - by sciurius - 11-15-2015, 06:43 AM
RE: Separate databases - by Skip - 11-15-2015, 01:19 AM
RE: Separate databases - by chrisss - 12-02-2015, 01:20 AM
RE: Separate databases - by sciurius - 07-20-2017, 07:38 PM
RE: Separate databases - by BRX - 07-21-2017, 01:29 AM
RE: Separate databases - by Zubersoft - 07-21-2017, 12:55 PM



Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.