SQLite Database
Permanent settings stored locally on your device. Includes warehouse connection info, capacity, tray settings, and login date.
App Configuration in Shipedge Warehouse Pro refers to how the app stores and manages settings, preferences, and system information. The app uses a combination of local database storage, in-memory variables, and system settings to configure behavior.
Understanding app configuration helps you know what settings are stored, how they’re managed, and where to find configuration information when troubleshooting.
The app uses three main types of configuration storage:
Permanent settings stored locally on your device. Includes warehouse connection info, capacity, tray settings, and login date.
Temporary settings loaded during app use. Includes user ID, picking preferences, and current session data.
Android system settings from AndroidManifest.xml. Includes app permissions, activity configurations, and device capabilities.
The app stores permanent configuration in a local SQLite database table called Settings. This table is created automatically when you first open the app.
The Settings table contains these fields:
nameWarehouse (Text)
status (Text)
keyWh (Text)
externalOrder (Text)
tray (Integer)
capacity (Text)
dateLoguin (Text)
When the app starts (ReplenishmentActivity.java):
Users.warehouse, Users.capacity, Users.tray, etc.If no settings exist, the app shows the settings window automatically.
The app uses static variables in the Users class to store current session configuration:
userId (String)
userName (String)
token (String)
doublePick (String)
pickRoute (String)
batchSerial (Boolean)
warehouse (String)
capacity (String)
recount (String)
tray (Integer)
localhost (String)
The app stores device information in the Device class:
serialDevice (String)
appVersion (String)
systemVersion (String)
currentActivity (String)
dateLoguin (String)
keyWh (String)
token (String)
listActivity (String)
The app configuration in AndroidManifest.xml includes:
Package Name: shipedge.rep
Version Code: 203
Version Name: 25.7.1
App Icon: @drawable/logoshipedge
App Label: @string/app_name
The app requires these Android permissions:
Network Permissions:
INTERNET - Connect to warehouse serverACCESS_NETWORK_STATE - Check network availabilityACCESS_WIFI_STATE - Check WiFi statusCHANGE_WIFI_STATE - Modify WiFi settingsCHANGE_NETWORK_STATE - Modify network settingsBluetooth Permissions:
BLUETOOTH - Use Bluetooth featuresBLUETOOTH_ADMIN - Manage Bluetooth connectionsBLUETOOTH_CONNECT - Connect to Bluetooth devicesHardware Permissions:
CAMERA - Use device cameraVIBRATE - Use device vibrationREAD_PHONE_STATE - Read device informationWRITE_EXTERNAL_STORAGE - Save files to device storageOther Permissions:
com.google.android.gms.permission.AD_ID - Google Play ServicesAll activities are configured with:
Screen Orientation: portrait
Theme: Theme.AppCompat.NoActionBar or AppTheme
Window Soft Input Mode: Various settings
adjustPan, adjustNothing, stateAlwaysHiddenLaunch Mode: singleTop (for some activities)
MyRepFirst Launch
When you open the app for the first time, it checks for the Settings table in the local database.
Settings Window Appears
If no settings exist, the settings window appears automatically. You must enter warehouse name and key to continue.
Settings Saved
When you tap “Proceed”, settings are saved to the Settings table with status “ON”.
Configuration Loaded
Settings are loaded into memory variables (Users.warehouse, Users.capacity, etc.).
Login Process
App connects to server using warehouse settings and loads user-specific configuration.
When Settings Change:
Settings Persistence:
Settings are loaded automatically, but ensure your warehouse name and key are correct. Incorrect settings prevent login.
The Settings table is managed by the app. Don’t modify it directly - use the settings window instead.
Ensure all required permissions are granted. Missing permissions can prevent features from working.
Warehouse key is case-sensitive. Enter it exactly as provided by your administrator.
App updates may include configuration changes. Keep the app updated to latest version.
Settings are stored locally. If you reset your device, you’ll need to reconfigure warehouse settings.
Problem: Settings window doesn’t save your configuration.
Solutions:
Problem: App doesn’t load your saved settings.
Solutions:
Problem: App connects to wrong warehouse or uses wrong settings.
Solutions:
Problem: Features requiring permissions don’t work.
Solutions:
Problem: User-specific settings (capacity, tray) don’t match server.
Solutions:
The Settings table is created with this SQL:
CREATE TABLE IF NOT EXISTS Settings( Id INTEGER PRIMARY KEY, nameWarehouse TEXT, status TEXT, keyWh TEXT, externalOrder TEXT DEFAULT 'N', tray INTEGER DEFAULT 0, capacity INTEGER DEFAULT 1, dateLoguin TEXT DEFAULT '0000-00-00')Settings are loaded in ReplenishmentActivity.java:
select = dB.rawQuery("SELECT *FROM Settings WHERE status='ON'", null);if(select.moveToFirst()){ warehouse = select.getString(1); keyWh = select.getString(3); Users.tray = select.getInt(5); Users.capacity = select.getString(6); Device.dateLoguin = select.getString(7); Users.warehouse = select.getString(1); Device.keyWh = keyWh; if(select.getString(4).equals("N")) externalOrder = false; else externalOrder = true;}Settings Management: ReplenishmentActivity.java
User Variables: Users.java
Device Information: Device.java
Next Steps:
Related Activities:
ReplenishmentActivity.java - Manages Settings table and configuration loadingUsers.java - Stores user configuration variablesDevice.java - Stores device informationAndroidManifest.xml - System-level app configurationApp Configuration manages how Shipedge Warehouse Pro stores and applies settings:
✅ Database Storage - Permanent settings in SQLite Settings table
✅ Memory Variables - Temporary session configuration in Users class
✅ Device Info - Device and app information in Device class
✅ System Config - Android permissions and activity settings
✅ Automatic Loading - Configuration loads automatically on app start
✅ Server Sync - User-specific settings loaded from server during login
Configuration happens automatically, but understanding how it works helps troubleshoot issues and ensures settings are correct.