11-13-2015, 06:45 PM
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:
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.
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).