Jump to: navigation, search

Difference between revisions of "Preset"


(Prior to version 2.4.0)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
A preset is a collection of {{UBIK}} settings. It provides users a convenient way of switching between different sets of settings.
+
A preset is a collection of [[Settings|{{UBIK}} settings]]. It provides users a convenient way of switching between different sets of settings.
  
 
Users have the following options to cope with presets:
 
Users have the following options to cope with presets:
Line 6: Line 6:
  
 
== Technical Background ==
 
== Technical Background ==
 +
 +
=== Prior to version 2.4.0 ===
  
 
Presets are stored in the following directory as [http://en.wikipedia.org/wiki/JSON JSON] files.
 
Presets are stored in the following directory as [http://en.wikipedia.org/wiki/JSON JSON] files.
  
'''SD_CARD/Android/data/APP_PACKAGE_NAME/files/preset_folder'''
+
'''/Android/data/APP_PACKAGE_NAME/files/preset_folder''' on the public internal storage (Google calls that the "Primary External Storage"), which is NOT the SD-card.
  
 
{| class="wikitable" | width = "50%"
 
{| class="wikitable" | width = "50%"
 
|-
 
|-
 
! Parameter!! Purpose
 
! Parameter!! Purpose
|-
 
| ''SD_CARD''|| represents the root of the external storage of a device
 
 
|-
 
|-
 
| ''APP_PACKAGE_NAME''|| is the concatenation of "com.augmensys.ubik." and the application name, e.g. ''demo'', ''manualtest'', ''companyname'' etc.
 
| ''APP_PACKAGE_NAME''|| is the concatenation of "com.augmensys.ubik." and the application name, e.g. ''demo'', ''manualtest'', ''companyname'' etc.
 
|}
 
|}
 +
 +
[[Category:Android|Preset]]
 +
 +
=== Starting from version 2.4.0 ===
 +
 +
Presets are stored under a new location: '''/UBIK/preset_folder''' on the public internal storage (Google calls that the "Primary External Storage"), which is NOT the SD-card.
 +
 +
{{hint|In addition, the stored presets are shared between different {{UBIK}} apps and will no longer be removed after apps' uninstallation.}}
 +
 +
[[Category:Android|Preset]]
  
 
== See also ==
 
== See also ==
  
* [[Save Settings as Presets]]
+
* [[HowTo:Save Settings as Presets]]
* [[Load Presets]]
+
* [[HowTo:Load Presets]]
  
[[Category:UBIK Client]]
+
[[Category:Android]]

Latest revision as of 15:05, 17 March 2017

A preset is a collection of UBIK® settings. It provides users a convenient way of switching between different sets of settings.

Users have the following options to cope with presets:

  1. Save all the current settings into a preset;
  2. Load an existing preset and apply the setting values to the current ones.

Technical Background

Prior to version 2.4.0

Presets are stored in the following directory as JSON files.

/Android/data/APP_PACKAGE_NAME/files/preset_folder on the public internal storage (Google calls that the "Primary External Storage"), which is NOT the SD-card.

Parameter Purpose
APP_PACKAGE_NAME is the concatenation of "com.augmensys.ubik." and the application name, e.g. demo, manualtest, companyname etc.

Starting from version 2.4.0

Presets are stored under a new location: /UBIK/preset_folder on the public internal storage (Google calls that the "Primary External Storage"), which is NOT the SD-card.

IC Hint square.pngIn addition, the stored presets are shared between different UBIK® apps and will no longer be removed after apps' uninstallation.

See also