|
hSuite hPatcher Manual v1.0hPatcher is the main gui of hSuite. Aside from creating and applying patches, it is the front-end to customising the hBasic app.
|
|||||||||||||||
|
Settings
Compile
Settings APK Package - Compiles to APK format. AAB Package - Compiles to AAB format. (Requirement if you upload to PlayStore).
Both options compile straight to the set format.
There are no intermediary tools needed. Build with API This is currently set to the highest found version of the Android SDK library found in adt directory of hSuite. If you have more than one version, you may find more options here. Run after compile You may enter an extra command here to run after compilation successfully completes. The command is OS dependent. The default directory is work. e.g for linux, you could enter "mv log.txt last-log.txt" Viewer Command This is what is executed when you press the "view log" button. The command is OS dependent. e.g lxterminal -l -e "less log.txt" Debug Options This option controls how verbose the output will be and is mainly for the hSuite developer. However, the half option is recommended to see how the compilation process is going. Off - no debug output. half - some debug output. (recommended) full - very verbose - includes polling states. |
|||||||||||||||
|
Customise
Aside from patches, Customisations also make changes to
the hBasic source files.
Unlike patches, customisations may be applied more than once. To apply customisations, Click the Commit button. When to Commit
You will need to Commit if you have made any changes
to the Customisation settings
and for every change to your Basic project program files for StandAlone mode. |
|||||||||||||||
Customise > Identity
|
|||||||||||||||
Customise > App
Icon
|
|||||||||||||||
|
Customise > Permissions
Select the permissions that you app needs.
For modern day scoped storage, READ and WRITE
EXTERNAL_STORAGE is usually not needed anymore
because you app is basically confined and you don't
need any permission to do anything in your own
prison. If you are using the Legacy feature (UnScoped Storage) and only targeting older phones, then permission WRITE_EXTERNAL_STORAGE is required. INTERNET
You don't need this permission as it is automatically
granted. However, there are older phones (such as android Marshmallow) that are sensitive to commands such as HTML.OPEN and BROWSE that may need this permission. (Also AdMob needs this) LOCATION
LOCATION permissions ACCESS_COARSE_LOCATION and
ACCESS_FINE_LOCATION) are needed for GPS. ACCESS_FINE_LOCATION
A Play
Console declaration is required If you are
planning to submit your app to Playstore.
(01-27-2027+) ACCESS_WIFI_STATE
For WIFI.INFO
ACCESS_NETWORK_STATE
This is only used for AdMob otherwise you don't need
it.
ACCESS_LOCAL_NETWORK
You need this for Android 17+ if you are opening
connections to a LAN address.
A Play Console declaration is required If you are planning to submit your app to Playstore.
BLUETOOTH
For Android 12+, you need BLUETOOTH_SCAN and
BLUETOOTH_CONNECT
For older devices (Android 11 and lower), you need BLUETOOTH, BLUETOOTH_ADMIN and ACCESS_FINE_LOCATION to find devices.
For CAMERA commands
RECORD_AUDIO
For AUDIO commands
VIBRATE
For VIBRATE command WAKE_LOCK
For WAKELOCK command CALL_PHONE, READ_PHONE_STATE,
READ_PHONE_NUMBERS
For Telephony DEVICE and PHONE commands (which are
not present in the master). POST_NOTIFICATIONTo add these commands to your app, use the patch ADDTEL.
For Notify command
(to be continued...) |
|||||||||||||||
-to-be-continued... |