Resource Utilities¶
Non-Visible componentCategory | Requires | Version |
---|---|---|
Utilities | API 21, Android 5.0 Lollipop | 1 |
Overview¶
A non-visible component that loads string resources from a file.
Methods¶
Get String Content By Name¶
Deprecated
Returns: Text
This block is deprecated and will be removed soon. Use instead 'Get String From Asset' or 'Get String From Path'.
Params | |
---|---|
resource Name | Text |
if Resource Not Found Use | Text |
Get String From Asset¶
Returns: Text
Get the text from a asset resource file. Make sure you uploaded a file at 'Resource File From Asset' property.
Params | |
---|---|
resource Name | Text |
if Resource Not Found Use | Text |
Get String From Path¶
Returns: Text
Get the text from a path resource file. Make sure you added a file path at 'Resource File From Path' property. The path can be too a link to a url.
Params | |
---|---|
resource Name | Text |
if Resource Not Found Use | Text |
Properties¶
Resource File From Asset¶
Text Read Write - Designer Blocks
Set the file which is used as resource file. The file must be stored in the assets folder.
Resource File From Path¶
Text Read Write - Designer Blocks
Set the file which is used as resource file. The file path must be valid to any file you want to use. The path can be too a link to a url.